serene
Members-
Content Count
21 -
Joined
-
Last visited
Community Reputation
0 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
serene started following Kernel build error (lz4c), Hantro H1 code, Vision AI library that utilizes Mali T860 GPU (hardware acceleration) and and 2 others
-
Hi, Does Tinkerboard 2S latest image release have Hantro H1 to utilize Hantro H1 video accelerated encoder hardware in RK3399? Thank you.
-
Hi, I was wondering, what MIPI/CS-2 cameras are supported by Tinkerboard 2S? Is there a list somewhere? Are typically cameras supported by Raspberry Pi supported by Tinkerboard 2S as well? Have anybody try to make Tinkerboard 2S drives/runs 4 cameras? How's the performance? I found this in Amazon, is it something that Tinkerboard 2S supports? https://www.amazon.com/CS-TX2-XAVIER-nCAM-IMX385-Jetson-Devkit-Xavier-YT1-0-5-1/dp/B09DB8786P/ Thank you.
-
Hi @Joe Thank you for sharing the SOP. But I already managed to compile it as I mentioned in my previous post. My interaction with amiotk in github made me realize that I need to cross compile. Here is the link of my interaction: https://github.com/TinkerBoard2/kernel/issues/8
-
Hello @tooz Never mind, I am able to compile it now after I read a post in the GitHub. I had been trying to build the kernel natively in Tinkerboard 2S hardware, thinking it would be the same the previous generation. When I built it in Ubuntu (cross-compile) using the same gcc used by u-boot, I can build the kernel.
-
Hello @tooz I re-arranged the folder to match what you described, all of those 4 folders (kernel, prebuilts, rkbin, and u-boot) are in the same folder (TinkerBoard2S), no luck, still got the same error. Btw, which gcc version should I put in the prebuilts? What can I try next?
-
Hi, I installed x11vnc and I want to make it run at startup. I already set it as a service, but I would like to know where the startup script is in Tinkerboard 2S (Debian 10 - Buster). I saw an old post that in 2S the startup script is the same as the one in previous generation, which is /system/etc/init.asus.sh So, I put the command in there, reboot, but it doesn't autorun. I set the permission to be executable (chmod 755). I also experimented by putting it in /boot/cmdline.txt - no luck. Where is the startup script location?
-
Hello @tooz It gave me error to attach the complete build log here as it's almost 4000 lines. When I tried to attach the file, it didn't work either. So, I put it in Google drive. Here is the link: https://drive.google.com/file/d/1LVMXAn-OjZvjDn9bFe-dxR134t0ul39M/view?usp=sharing
-
Thanks @tooz I thought the script compiles natively, I ran it on aarch64. I successfully built it on x86_64 (Ubuntu PC).
-
Hi, I built the kernel in Debian 10, on Tinkerboard 2S. I got these 3 errors. Do they need patches? make[4]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan] Error 2 make[3]: *** [scripts/Makefile.build:484: drivers/net/wireless] Error 2 make[2]: *** [scripts/Makefile.build:484: drivers/net] Error 2 make[1]: *** [Makefile:1036: drivers] Error 2 make: *** [arch/arm64/Makefile:169: kernel.img] Error 2 make: *** Deleting file 'kernel.img'
-
Thanks @tooz I noticed that it's for Android. I understand that few commands can be used for Debian. Do you have similar one like that (detail build documentation) containing instruction for Debian?
-
Hi, I got multiple errors when trying to build the U-Boot for TinkerBoard2. I downloaded rkbin, and then execute "make.sh tinker2" linaro@linaro-alip:~/u-boot$ ./make.sh tinker2 ## make tinker2_defconfig -j12 arch/../configs/tinker2_defconfig:140:warning: override: reassigning to symbol OF_LIBFDT_OVERLAY # # configuration written to .config # ERROR: No toolchain: ../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin I then downloaded the toolchain, put it in the location mentioned on the error above, then I got these multiple errors: linaro@linaro-alip:~/u-boot$ ./make.sh tinker2 ## make tinker2_defconfig -j12 arch/../configs/tinker2_defconfig:140:warning: override: reassigning to symbol OF_LIBFDT_OVERLAY # # configuration written to .config # /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: 1: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: ELF: not found /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: 2: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Syntax error: "(" unexpected /bin/sh: 1: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Exec format error dirname: missing operand Try 'dirname --help' for more information. scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk.dep /bin/sh: 1: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Exec format error CFG spl/u-boot.cfg /bin/sh: 1: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Exec format error make[1]: *** [scripts/Makefile.autoconf:79: u-boot.cfg] Error 1 make[1]: *** Waiting for unfinished jobs.... CFG tpl/u-boot.cfg make[1]: *** [scripts/Makefile.autoconf:50: include/autoconf.mk.dep] Error 1 /bin/sh: 1: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Exec format error make[1]: *** [scripts/Makefile.autoconf:83: spl/u-boot.cfg] Error 1 /bin/sh: 1: /home/linaro/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc: Exec format error make[1]: *** [scripts/Makefile.autoconf:87: tpl/u-boot.cfg] Error 1 make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop. linaro@linaro-alip:~/u-boot$
-
Update: I found the solution for lz4c, need to install liblz4-tool and libkz4-dev and manually update liblz4 to 1.8.3-1+deb10u1. However, I got these 3 errors. Do they need patches? make[4]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan] Error 2 make[3]: *** [scripts/Makefile.build:484: drivers/net/wireless] Error 2 make[2]: *** [scripts/Makefile.build:484: drivers/net] Error 2 make[1]: *** [Makefile:1036: drivers] Error 2 make: *** [arch/arm64/Makefile:169: kernel.img] Error 2 make: *** Deleting file 'kernel.img'