wahaha
-
Content Count
34 -
Joined
-
Last visited
-
Days Won
4
Posts posted by wahaha
-
-
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.
-
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?
-
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?
-
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?)
-
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 dhcpHowever, 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 35lo: 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 0As 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?
-
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 dhcpHowever, 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 35lo: 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 0As 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?
-
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?
-
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
-
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
-
@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.
-
Hi, The github page doesn't have the kernel codes for 5.10. please update it
-
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=yBut 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.
-
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 dynamicallycould you please provide an update to the dts?
-
nevermind. i solved this portion. posted the guide here for anyone who is interested:
- 1
-
-
-
Great stuffs!! could we please also get some guide on compiling our own kernels? to change some config like enabling apparmor. or nfs
-
Hi, could you please help to provide a boot image to load into version Tinker Board 2 Debian 10 V2.1.6?
Thank you
-
Hi tooz, i tired to get apparmor with the above method for the latest release of Tinker Board 2 Debian 10 V2.1.6,. but the board does not boot up after that.. any idea why?
-
could you guys release 1 for kernel 5.15.x please?
or share how we can compile our own kernels?
- 3
-
Hello, after 2 years of working with tinkerboard 2S, i am still unable to build a custom kernel and make adjustments to my use case.
Please, could you share detailed documentations / guide on how we can create a custom kernel with uboot , and how we can install it into the tinkerboard?
i'm a fan of asus product, and i use tinkerboard for IOT work. but there are very very limited resources on how to put our own customization in.
please help..
-
-
Hello, was wondering if you could please share the steps and a how to guide on how to compile kernel 5.15 for the tinkerboard 2s please?
Thanks!
-
To add more information, I am using tinker board 2s, on debian OS.
how to build uboot.img, trust.img and flash them onto an empty sd card?
in Hardware
Posted
FYI - I am trying to install Fedora server on the tinkerboard 2s. not debian.