Jump to content

serene

Members
  • Content Count

    21
  • Joined

  • Last visited

Everything posted by serene

  1. serene

    Hantro H1 code

    Hi, Does Tinkerboard 2S latest image release have Hantro H1 to utilize Hantro H1 video accelerated encoder hardware in RK3399? Thank you.
  2. Hi, I was wondering, is there Vision AI library that utilizes/optimized for Tinkerboard 2S' Mali T860 GPU (hardware acceleration)? If not, what is the most efficient Vision AI framework that could run in Tinkerboard 2S? I would appreciate any links to project examples. Thank you.
  3. 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.
  4. @Joe Hi Joe, all I ask is about generic autostart script location, for generic purpose, like executing my custom app. Is ~/.config/lxsession/LXDE/autostart for general purpose?
  5. Thanks @Joe Is that the generic autostart script location? Can I put other things there to make it automatically run at startup?
  6. 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
  7. 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.
  8. 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?
  9. 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?
  10. 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
  11. Thanks @tooz I thought the script compiles natively, I ran it on aarch64. I successfully built it on x86_64 (Ubuntu PC).
  12. 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'
  13. 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?
  14. 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$
  15. 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'
  16. Hi, I built the kernel using these commands: make ARCH=arm64 tinker2_defconfig make ARCH=arm64 rk3399-tinker_board_2.img -j8 I got compile error: /bin/sh: 1: lz4c: not found I checked, I already have lz4c, which is liblz4-1 in Debian.
  17. Hello @tooz Where can I find device/rockchip/tinker_board_2/build.sh? In what package or file is it, and where is the location? I didn't find it in https://github.com/TinkerBoard2/kernel
  18. This is the link to the older platform (RK3288) I mentioned above: https://qiita.com/mt08/items/890a71d0b399ac1a9b49
  19. Hi, I need to customize Tinkerboard 2S image (enable PPP among other things), but I am unable to find a complete instruction in how to build the image. I found the instruction for the older platform (RK3288), but it didn't work. When I used generic instruction in building RK3399 platform, I got compile error in boardinfo.c (implicit declaration of functions in seq_file.o). Where can I find a complete instruction in how to build the image (kernel and U-Boot) for Tinkerboard 2S (RK3399 platform)? Which defconfig file to be used? I only saw tinker2_defconfig, which I believe is the config for U-Boot only.
  20. I see, so that's the Debug UART. Is it possible to enable console on UART0 or UART1 at boot up? What should I put in boot kernel parameter - /boot/config.txt or /boot/cmdline.txt? In /boot/config.txt I enabled uart1 by setting "intf:uart0=on" and also "console=ttyS1,115200n8" to no avail. Or should I use "console=ttyS0" instead? I left /boot/cmdline.txt empty.
  21. Hi, How do I enable serial-console in 2S? I am running TinkerOS Debian 10, and there is no extlinux folder nor extlinux.conf I found /boot/config.txt and un-commented "intf:uart0=off", to no avail.
×
×
  • Create New...