Jump to content

wahaha

Members
  • Content Count

    39
  • Joined

  • Last visited

  • Days Won

    4

wahaha last won the day on April 16 2023

wahaha had the most liked content!

Community Reputation

4 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi @tooz, I've successfully ran ./make.sh tinker_board_2 CROSS_COMPILE=/path/to/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- I noticed that in the make.sh file, it says -> board built okay, there are uboot/trust/loader images in current directory. From this below image, I understand that uboot and trust image can be written into the sd card via the sudo dd command. Curious, what do I need the loader that was created also? I also understand that boot is the kernel. But what about misc, recovery, backup? How do they get generated?
  2. Also, I am cross_compiling it on my desktop pc (so not directly on the arm64 tinkerboard).
  3. hi @tooz, I get met with the error: ./make.sh tinker_board_2 CROSS_COMPILE=/home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- grep: .config: No such file or directory grep: .config: No such file or directory ## make tinker_board_2_defconfig -j24 HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2470: In function 'dep_stack_insert', inlined from 'sym_check_print_recursive' at scripts/kconfig/symbol.c:1123:3, inlined from 'sym_check_deps' at scripts/kconfig/symbol.c:1300:3: scripts/kconfig/symbol.c:1099:19: warning: storing the address of local variable 'cv_stack' in 'check_top' [-Wdangling-pointer=] 1099 | check_top = stack; | ~~~~~~~~~~^~~~~~~ scripts/kconfig/symbol.c: In function 'sym_check_deps': scripts/kconfig/symbol.c:1120:26: note: 'cv_stack' declared here 1120 | struct dep_stack cv_stack; | ^~~~~~~~ scripts/kconfig/symbol.c:1090:4: note: 'check_top' declared here 1090 | } *check_top; | ^~~~~~~~~ HOSTLD scripts/kconfig/conf # # configuration written to .config # make: /home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: No such file or directory /bin/sh: /home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: not found BusyBox v1.36.1 (2024-05-21 13:38:37 UTC) multi-call binary. Usage: dirname FILENAME Strip non-directory suffix from FILENAME scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h UPD include/config.h CFG u-boot.cfg /bin/sh: /home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: not found GEN include/autoconf.mk.dep /bin/sh: /home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: not found make[1]: *** [scripts/Makefile.autoconf:79: u-boot.cfg] Error 1 make[1]: *** Waiting for unfinished jobs.... CFG spl/u-boot.cfg make[1]: *** [scripts/Makefile.autoconf:50: include/autoconf.mk.dep] Error 1 CFG tpl/u-boot.cfg /bin/sh: /home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: not found /bin/sh: /home/rockchip-linux-prebuilts-gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc: not found make[1]: *** [scripts/Makefile.autoconf:83: spl/u-boot.cfg] Error 1 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. Am I missing something?
  4. Hi @tooz, Sorry I missed your reply..! I was revisiting this again, but i don't see where ./build.sh is. I cloned https://github.com/TinkerBoard-Linux/rockchip-linux-u-boot which is for kernel 5.10 uboot it seems. but can't seem to build the uboot. 2nd qns: the guide you posted above is purely to build the uboot right? I still have to build the kernel separately, and the OS image? Can you share how the OS image can also be flashed onto the sdcard please? Thank you,
  5. hello. for anyone who is still looking for this, its here: https://github.com/TinkerBoard-Linux. You need to go into repositories and look for the relevant items: rockchip-linux-u-boot | rockchip-linux-kernel |
  6. FYI - I am trying to install Fedora server on the tinkerboard 2s. not debian.
  7. hi dave. i came across this because i'm also interested in doing the same. (but fedeora server instead). any luck to get this to work? the asus engineers just came out with kernel 5.10 in Oct 2023.
  8. I am referring to https://github.com/TinkerBoard-Linux where the newer kernel 5.10 is found. I want to build the uboot.img and trust.img and flash them onto an empty SD card. meaning, there's no partition on it yet. How should i do it? Note: I am familiar with how to build a kernel. but not sure how to flash it onto empty sd card also. I found the partition list here http://opensource.rock-chips.com/wiki_Partitions --> should i just sudo dd and write them into the respective locations and thats it?
  9. Yea I think it'll work. I copied the modules over. Will enable it and try. But I believe it'll work. Thanks! Also, can I please trouble you to help upload the kernel resources for 5.10 to git so that I can customize my kernel and the modules?
  10. hi @tooz jakew@tk0:~$ lspci 00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter jakew@tk0:~$ sudo lsmod Module Size Used by jakew@tk0:~$ jakew@tk0:~$ ifconfig -a eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.50.146 netmask 255.255.255.0 broadcast 192.168.50.255 inet6 fe80::7e10:c9ff:feed:f504 prefixlen 64 scopeid 0x20<link> ether 7c:10:c9:ed:f5:04 txqueuelen 1000 (Ethernet) RX packets 416 bytes 37385 (37.3 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 386 bytes 228443 (228.4 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 35 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 84 bytes 6308 (6.3 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 84 bytes 6308 (6.3 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 jakew@tk0:~$ lspci 00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter jakew@tk0:~$ sudo lsmod Module Size Used by jakew@tk0:~$ seems like might be a driver issue? since lscpi is showing hardware results. Note: I used debian 11 v3.0.6 --> but I used debootstrap to install a variant of ubuntu instead. which probably didn't install the driver (i think?)
  11. I reinstalled debian onto the tinkeboard 2s, and added the below to /etc/network/interfaces # Add the following (for ethernet): auto lo eth0 allow-hotplug eth0 iface lo inet loopback iface eth0 inet dhcp However, when I did: ifconfig It produced the below result: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.50.146 netmask 255.255.255.0 broadcast 192.168.50.255 inet6 fe80::7e10:c9ff:feed:f504 prefixlen 64 scopeid 0x20<link> ether 7c:10:c9:ed:f5:04 txqueuelen 1000 (Ethernet) RX packets 1536 bytes 159578 (159.5 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 908 bytes 199763 (199.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 35 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 90 bytes 6869 (6.8 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 90 bytes 6869 (6.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 As you can see, wlan / wlp1s0 is not found in there. As such, I am unable to connect via wifi / bluetooth. Is there a driver / kernel / firmware that I can use to update the drivers so that the wifi and bluetooth modules are detectable?
  12. I reinstalled debian onto the tinkeboard 2s, and added the below to /etc/network/interfaces # Add the following (for ethernet): auto lo eth0 allow-hotplug eth0 iface lo inet loopback iface eth0 inet dhcp However, when I did: ifconfig It produced the below result: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.50.146 netmask 255.255.255.0 broadcast 192.168.50.255 inet6 fe80::7e10:c9ff:feed:f504 prefixlen 64 scopeid 0x20<link> ether 7c:10:c9:ed:f5:04 txqueuelen 1000 (Ethernet) RX packets 1536 bytes 159578 (159.5 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 908 bytes 199763 (199.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 35 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 90 bytes 6869 (6.8 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 90 bytes 6869 (6.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 As you can see, wlan / wlp1s0 is not found in there. As such, I am unable to connect via wifi / bluetooth. Is there a driver / kernel / firmware that I can use to update the drivers so that the wifi and bluetooth modules are detectable?
  13. hi @tooz, Sorry - I hate to be the guy that keeps chasing people ?.. But just wanted to check if we have an update for this please?
  14. a little late, but not sure if this is gonna help you: https://github.com/wahahawasabi/TinkerBoard2s. It's a guide on how to crosscompile with Ubuntu build
  15. As it was mentioned in the announcements, kernel 5.10 is out. However, In the official github page here https://github.com/TinkerBoard2/kernel There isn't any branch for kernel 5.10. Please upload the codes for it so that we can build the image. Thank you
×
×
  • Create New...