lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<DC-IRC>
[Discord] <stalkeruser_42750> how to explain this screen, why my image does no boot with a custom device tree
<DC-IRC>
[Discord] <stalkeruser_42750> modprobe: FATAL: Module dwmac_rockchip not found in directory /lib/modules/6.14.5-edge-rockchip64
<DC-IRC>
[Discord] <stalkeruser_42750> ```
<DC-IRC>
[Discord] <stalkeruser_42750> I got these that I think makes it work, I did enable support for it in device tree (I think but not sure it has everything)
<DC-IRC>
[Discord] <stalkeruser_42750> I see the above now in the dmesg, I also see a `eth0` internface but it won't autoconfig with dhcp
<DC-IRC>
[Discord] <stalkeruser_42750> am I missing something ?
<DC-IRC>
[Discord] <stalkeruser_42750> I think my driver is `rtl8211fs` how do I enable that in the kernel config + anything else that will allow it to build and work
<DC-IRC>
[Discord] <bugzbanger> Hmm i still can't update the edge kernel, I keep getting
<DC-IRC>
[Discord] <bugzbanger> Errors were encountered while processing:
<DC-IRC>
[Discord] <random_anon_cesar> At least for me, it's easiest to just set a static ip via armbian-config & goto my router to make a dhcp reservation for said address...
<DC-IRC>
[Discord] <stalkeruser_42750> that device tree file is the one running for current board on 5.10 kernel, I moved it to 6.14, but need the get the network working again
<DC-IRC>
[Discord] <stalkeruser_42750> in theory I need the whole file, but I want to isolate the exact parts I need for the network, driver, power delivery, buses etc
<DC-IRC>
[Discord] <stalkeruser_42750> I tried to drop-in the whole file, but was a bad idea, so now trying in steps
<DC-IRC>
[Discord] <random_anon_cesar> Was something recently changed or did it just never work from the get-go?
<DC-IRC>
[Discord] <random_anon_cesar> This is how it more or less should look when everything's working...
<DC-IRC>
[Discord] <stalkeruser_42750> this is first time I'm trying to make it work, could mean that I miss the actual driver / blob ?
<DC-IRC>
[Discord] <stalkeruser_42750> but the logs says this `PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)`
<DC-IRC>
[Discord] <random_anon_cesar> things like ethernet drives are usually pre-applied to the kernel. If you have to manually apply drivers for something simple like ethernet, it might be better to verify the kernel you're using is actually compatible
<DC-IRC>
[Discord] <random_anon_cesar> but you're saying you applied 5.10 files to a 6.14 install? If so, It sounds like a few things were overwritten with files intended for a kernel that was released years ago & arent able to properly integrate
<DC-IRC>
[Discord] <menu> why are you writing a custom device tree anyway?
<DC-IRC>
[Discord] <random_anon_cesar> Im not an armbian dev or anything, but I think the cleanest method would be backing up any files on the board & doing a clean install of the stable 6.1 image for the Rock5bPlus
<DC-IRC>
[Discord] <random_anon_cesar> 6.14 was just released, so if ethernet isnt working than the kernel might need some more time to bake haha
<DC-IRC>
[Discord] <random_anon_cesar> Unrelated, but if you're planning on using the board as a desktop, pick the image labeled "MESA/VPU".
<DC-IRC>
[Discord] <random_anon_cesar> Those have all of the plugins for GPU acceleration included.
<DC-IRC>
[Discord] <random_anon_cesar> (Its possible to patch a non MESA/VPU install with them, but it's a pain in the butt)
<DC-IRC>
[Discord] <stalkeruser_42750> no desktop, this is for a server rack with custom backplane
<DC-IRC>
[Discord] <stalkeruser_42750> this is the command I use to build an image: `./compile.sh BOARD=rock-5b-plus BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=noble KERNELBRANCH='branch:v6.14.5'` how do I tell to pull in also dev tools to compile a network card driver ,
<DC-IRC>
[Discord] <stalkeruser_42750> I got the driver code but because no network I can't pull in dependencies to compile the driver
<DC-IRC>
[Discord] <bugzbanger> You need to figure that I believe
<DC-IRC>
[Discord] <bugzbanger> You can do that interactively with ./compile.sh