Jump to content

wahaha

Members
  • Content Count

    34
  • 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. FYI - I am trying to install Fedora server on the tinkerboard 2s. not debian.
  2. 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.
  3. 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?
  4. 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?
  5. 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?)
  6. 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?
  7. 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?
  8. 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?
  9. 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
  10. 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
  11. @tooz Please could you also push the kernel codes to git repo? we went into check and its not showing kernel 5.10 yet. only 4.4 and 4.19.
  12. Hi, The github page doesn't have the kernel codes for 5.10. please update it
  13. I was trying to enable config for bpf in tinker_def_config. # Bpf config CONFIG_BPF=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_NET_CLS_BPF=y CONFIG_NET_CLS_ACT=y CONFIG_NET_SCH_INGRESS=y CONFIG_CRYPTO_SHA1=y But came up with these errors: In file included from ./include/linux/bpf_verifier.h:11:0, from kernel/bpf/verifier.c:17: kernel/bpf/verifier.c: In function 'fixup_bpf_calls': kernel/bpf/verifier.c:6131:36: error: 'BPF_JMP32' undeclared (first use in this function); did you mean 'BPF_JMP_A'? BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6131:36: note: each undeclared identifier is reported only once for each function it appears in BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:34: warning: pointer/integer type mismatch in conditional expression error, forbidden warning:verifier.c:6140 BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:47: error: invalid operands to binary | (have 'struct bpf_insn *' and 'int') BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6141:19: error: invalid operands to binary | (have 'struct bpf_insn *' and 'int') BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ~ BPF_JEQ | BPF_K, insn->src_reg, ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:18: warning: initialization makes integer from pointer without a cast [-Wint-conversion] error, forbidden warning:verifier.c:6140 BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:18: note: (near initialization for '(anonymous).code') BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ CC kernel/locking/mutex.o CC fs/configfs/file.o make[2]: *** [scripts/Makefile.build:334: kernel/bpf/verifier.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC kernel/bpf/helpers.o CC mm/fadvise.o CC fs/configfs/dir.o Please help.
  14. Hi, these errors came about on OS boot with kernel 4.19. [33.895277] reg-fix-voltage vcc1v8-s3: Looking up vin-supply from device tree [33.895570] vcc1v8_s3: supplied by vcc_1v8 [68.028413] vcc_lcd: disabling [68.028413] cdn-dp fec00000.dp: [drm:cdn_dp=pd_event_work] *ERROR* Timed out trying to load firmware [163.648708] rock-chip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply from device tree [163.649708] rock-chip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply property in node /power-management@ff310000/power-controller failed [164.651200] rockchip-vop ff900000.vop: [drm:vop_crtc_atomic_enable] Update mode to 3440x1440p60, type: 11 [164.851200] dwhdmi-rockhip ff940000.hdmi: Rate 319750000 missing; compute N dynamically could you please provide an update to the dts?
  15. nevermind. i solved this portion. posted the guide here for anyone who is interested: https://github.com/wahahawasabi/TinkerBoard2s
×
×
  • Create New...