DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-allwinner
<DC-IRC> [Discord] <h00t3rz4unm3> Hello! I am trying to get a allwinner h616 board up and running - a cb1 to be exact. It seems to boot properly... ish but the ethernet port is disabled. Anyone know how I can enable it?
<DC-IRC> [Discord] <viraniac> Does a nic show up in the output of `ip addr show`? Also can you share the dmesg output.
<DC-IRC> [Discord] <h00t3rz4unm3> no - eth0 (or end0?) does not show up when using `ip addr show` - I see lo, can0, wlan0 and wlan1 (idk why 2 wlan...)
<DC-IRC> [Discord] <h00t3rz4unm3> https://pastebin.com/DqddxXSW is the results of the above
<DC-IRC> [Discord] <viraniac> Does this overlay helps? https://paste.armbian.com/oqebipevor.bash
<DC-IRC> [Discord] <viraniac> copy the content to a file lets say its named sun50i-h616-emac1.dts. Then run `sudo armbian-add-overlay sun50i-h616-emac1.dts` and reboot
<DC-IRC> [Discord] <h00t3rz4unm3> rebooting now
<DC-IRC> [Discord] <h00t3rz4unm3> unfortunately that did not work
<DC-IRC> [Discord] <viraniac> can you share the serial console output. Just want to see if the overlay actually got applied or if there was some error. Also the output of dmesg will help to see what changed, if any
<DC-IRC> [Discord] <h00t3rz4unm3> this is the output of the commands `ip addr show` and `dmesg` https://pastebin.com/dtgQfg6f
<DC-IRC> [Discord] <h00t3rz4unm3> and this is serial output during boot - https://pastebin.com/62rmC0GJ
<DC-IRC> [Discord] <viraniac> line 368 to 372. We do have some progress
<DC-IRC> [Discord] <viraniac> line 368 to 372 in dmesg output. We do have some progress
<DC-IRC> [Discord] <h00t3rz4unm3> so its at least trying now
<DC-IRC> [Discord] <viraniac> change the content of the dts files to https://paste.armbian.com/awadexoxep.bash and rerun the armbian-add-overlay command
<DC-IRC> [Discord] <viraniac> change the content of the dts file to https://paste.armbian.com/awadexoxep.bash and rerun the armbian-add-overlay command
<DC-IRC> [Discord] <h00t3rz4unm3> ```
<DC-IRC> [Discord] <h00t3rz4unm3> Applying user provided DT overlay attempt-enable-ethernet.dtbo
<DC-IRC> [Discord] <h00t3rz4unm3> failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
<DC-IRC> [Discord] <h00t3rz4unm3> Error applying DT overlays, restoring original DT
<DC-IRC> [Discord] <h00t3rz4unm3> ```
<DC-IRC> [Discord] <h00t3rz4unm3> hmm
<DC-IRC> [Discord] <h00t3rz4unm3> lets try deleting the original compiled one and redoing it
<DC-IRC> [Discord] <viraniac> Try this - https://paste.armbian.com/huqudapuye.bash
<DC-IRC> [Discord] <h00t3rz4unm3> this one took I think
<DC-IRC> [Discord] <h00t3rz4unm3> https://paste.armbian.com/raw/tibebotiga
<DC-IRC> [Discord] <viraniac> Hmm...we do have some further progress.
<DC-IRC> [Discord] <h00t3rz4unm3> i have zero clue what is happening... all I do know is an image from nov 2023 had ethernet working so I can guarantee the port and cable works
<DC-IRC> [Discord] <viraniac> i can't think of any more tweaks and I don't have board to experiment with. So sadly I can't help you further. I will suggest you to switch to legacy kernel by installing linux-image-legacy-sun50iw9-btt and linux-dtb-legacy-sun50iw9-btt package
<DC-IRC> [Discord] <h00t3rz4unm3> any chance you know how I can select a wifi network in the ntuil utility?
<DC-IRC> [Discord] <h00t3rz4unm3> Im not sure how to change the network... its stuck on the first one it found
<DC-IRC> [Discord] <viraniac> sudo nmtui> activate connection> select the wifi connection to connect.
<DC-IRC> [Discord] <viraniac> That works for me
<DC-IRC> [Discord] <h00t3rz4unm3> but how do you select a wifi? mine has wlan0 and wlan1 stuck to the same network (not mine lol)
<DC-IRC> [Discord] <h00t3rz4unm3> my only option is to type in a password for the one selected
<DC-IRC> [Discord] <viraniac> do you get a list of wifi networks when you go in the activate connection screen? if yes, then just use down arrow key to select which connection you want to connect and then press enter
<DC-IRC> [Discord] <viraniac> it should show you the prompt to enter password
<DC-IRC> [Discord] <h00t3rz4unm3> nope - just automatic password input
<DC-IRC> [Discord] <viraniac> ok... then probably use the edit connection first and delete the existing connection there
<DC-IRC> [Discord] <h00t3rz4unm3> aaaah that is what I was looking for - thank you!
<DC-IRC> [Discord] <h00t3rz4unm3> ok doesnt seem to work at all - attempting to create a custom connection for myself doesnt show up in the screen above - it keeps defaulting to this one (even if I delete it)
<DC-IRC> [Discord] <viraniac> hmmm... I cant help with that. One thing you can do is as you mentioned an older image worked for you. You can install that one and then freeze the kernel so that kernel won't get upgraded
<DC-IRC> [Discord] <h00t3rz4unm3> I appreciate your help, unfortunately I do not know enough about any of this to do that at all. Im not even sure the difference between debian/ubuntu... idk what legacy/current/edge is, etc. so this is all becoming a bit overwhelming.
<DC-IRC> [Discord] <viraniac> legacy, current and edge is Armbian's way of distinguishing various kernels. legacy in your case, is bigtreetech provided 6.1 kernel from https://github.com/bigtreetech/linux/blob/linux-6.1.y-cb1. Current is 6.6 kernel from kernel.org with some extra patches. edge is 6.7 kernel from kernel.org with some extra patches
<DC-IRC> [Discord] <h00t3rz4unm3> Oh, its a 6.x kernel? Oh shoot, thats better than the image they have on the cb1 repo: https://github.com/bigtreetech/CB1/releases - 5.16. I will gladly settle for a 6.1 vs 5.16!.
<DC-IRC> [Discord] <viraniac> For freezing the kernel, you can use `sudo armbian-config` then choose system > freeze
<DC-IRC> [Discord] <h00t3rz4unm3> ok so I downgraded to legacy and it works out the box - thanks a lot Gunjan!
PhotoJim has quit [Ping timeout: 255 seconds]
PhotoJim has joined #armbian-allwinner
PhotoJim has quit [Ping timeout: 256 seconds]
PhotoJim has joined #armbian-allwinner
PhotoJim has quit [Ping timeout: 246 seconds]
PhotoJim has joined #armbian-allwinner
PhotoJim has quit [Ping timeout: 264 seconds]
PhotoJim has joined #armbian-allwinner
<DC-IRC> [Discord] <berrij> IP a shows two WLAN Interfaces on my CB1. Are both supposed to work? On wlan1 I can connect to networks, spawn a hotspot etc. but on wlan1 nothing works.