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] <menu> hilariously that's the Orange Pi's fault, they're using the USB port backwards in an unsupported configuration
<DC-IRC> [Discord] <mecoblock> there's a reason many people discourage from their SBC‘s. Not just their random naming schemes
<DC-IRC> [Discord] <menu> it's mostly because of the garbage documentation, but the occasional daft hardware design is an issue too
<DC-IRC> [Discord] <menu> annoyingly *most* of the issues could be easily fixed if they had an engineer that cared
<DC-IRC> [Discord] <runaway97> radxa rock 5c does the same thing
<DC-IRC> [Discord] <runaway97> radxa rock 5a does the same thing
<DC-IRC> [Discord] <runaway97> radxa rock 5a, 5c does the same thing
<DC-IRC> [Discord] <koutsie> even usb booting fails
<DC-IRC> [Discord] <koutsie> on orange pi 3b latest kernel
<DC-IRC> [Discord] <koutsie> now
<DC-IRC> [Discord] <koutsie> Oct 1, 2024 builds / latest kernel done fucked something up me thinks
<DC-IRC> [Discord] <koutsie> heres the full panic
<DC-IRC> [Discord] <koutsie> gonna test 6.5.2 now
<DC-IRC> [Discord] <koutsie> tho this was the latest minimal iot image so
<DC-IRC> [Discord] <koutsie> idk
<DC-IRC> [Discord] <koutsie> and i ran edge b4 - it was fine up until a few days ago
<DC-IRC> [Discord] <mecoblock> how is there no rockchip vendor bsp kernel available for RK3568/66 based SBC‘s? Well all the rockchip64 ones I think
<DC-IRC> [Discord] <mecoblock> At least I don’t see the option on the website
<DC-IRC> [Discord] <koutsie> 6.5.2 didnt instantly kpanic
<DC-IRC> [Discord] <koutsie> i have no clue why even 6.5.2 doesn't work - it seems to hang at strating kernel 🤔
<DC-IRC> [Discord] <koutsie> im gonna give it more time but... this is not how long the installer usually takes lol
<DC-IRC> [Discord] <koutsie> i just wanna recover my install goddamit :D
<DC-IRC> [Discord] <lanefu> Varies by board. Opi 3b has one.
<DC-IRC> [Discord] <lanefu> Less effort for rk356x because mainline is much more mature.
<DC-IRC> [Discord] <koutsie> this'd not be such an issue but - my dumbass decided to install onto the emmc i got with the board and i do not have another way to read that emmc.
<DC-IRC> [Discord] <sqilson> Hello guys, I am new to the project, may I ask a question here?
<DC-IRC> [Discord] <sqilson> I am just wondering where is the correct place to set the kernel flags I want to have for the OPi-5. I want to build with PREEMPT_RT enabled as well as USB_GADGET
<DC-IRC> [Discord] <koutsie> does anyone have an older than 6.1.x image for the orange pi 3b
<DC-IRC> [Discord] <koutsie> what the fuck
<DC-IRC> [Discord] <koutsie> it booted
<DC-IRC> [Discord] <koutsie> with 6.5.2
<DC-IRC> [Discord] <koutsie> with 6.5.2 - tty is empty as it can be but it booted
<DC-IRC> [Discord] <koutsie> also on the previous edge kernel i got it to boot by editing the bootcmds like described above
<DC-IRC> [Discord] <koutsie> bit systemd fails to load kernel modules so that was kind of useless-
<DC-IRC> [Discord] <koutsie> updated uboot commands for usb booting to get a chroot/whatever to fix your install for 3b with the fucked kernel:
<DC-IRC> [Discord] <koutsie> ```c
<DC-IRC> [Discord] <koutsie> usb start
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x40000000 /boot/vmlinuz-6.5.2-edge-rockchip64
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x60000000 /boot/uInitrd
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x46000000 /boot/dtb/rockchip/rk3566-orangepi-3b.dtb
<DC-IRC> [Discord] <koutsie> ```
<DC-IRC> [Discord] <koutsie> updated uboot commands for usb booting to get a chroot/whatever to fix your install for 3b with the fucked kernel:
<DC-IRC> [Discord] <koutsie> ```c
<DC-IRC> [Discord] <koutsie> usb start
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x40000000 /boot/vmlinuz-6.5.2-edge-rockchip64
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x60000000 /boot/uInitrd
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x46000000 /boot/dtb/rockchip/rk3566-orangepi-3b.dtb
<DC-IRC> [Discord] <koutsie> booti 0x40000000 0x60000000 0x46000000
<DC-IRC> [Discord] <koutsie> ```
<DC-IRC> [Discord] <koutsie> but now it refuses to join my network
<DC-IRC> [Discord] <koutsie> updated uboot commands for usb booting to get a chroot/whatever to fix your install for 3b with the fucked kernel:
<DC-IRC> [Discord] <koutsie> ```c
<DC-IRC> [Discord] <koutsie> usb start
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x40000000 /boot/vmlinuz-6.5.2-vendor or edge?-rockchip64
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x60000000 /boot/uInitrd
<DC-IRC> [Discord] <koutsie> ext4load usb 0:1 0x46000000 /boot/dtb/rockchip/rk3566-orangepi-3b.dtb
<DC-IRC> [Discord] <koutsie> booti 0x40000000 0x60000000 0x46000000
<DC-IRC> [Discord] <koutsie> ```
<DC-IRC> [Discord] <koutsie> after a bit of fuckery i've gotten the kernel to "boot"
<DC-IRC> [Discord] <koutsie> networking still explodes
<DC-IRC> [Discord] <koutsie> ITS FIXED
<DC-IRC> [Discord] <koutsie> holy fuck
<DC-IRC> [Discord] <koutsie> why was it this complicated to figure out that:
<DC-IRC> [Discord] <koutsie> - the dtb names changed and i had to change them
<DC-IRC> [Discord] <koutsie> - somehow unplugging and plugging + manually booting from a usb stick that has 6.5.2 fixed the kpanic?
<DC-IRC> [Discord] <koutsie> thanks yall for rubberducking my frustration
<DC-IRC> [Discord] <koutsie> so when did the change from
<DC-IRC> [Discord] <koutsie> ```c
<DC-IRC> [Discord] <koutsie> fdtfile=rockchip/rk3566-orangepi-3b.dtb```
<DC-IRC> [Discord] <koutsie> to
<DC-IRC> [Discord] <koutsie> ```c
<DC-IRC> [Discord] <koutsie> fdtfile=rockchip/rk3566-orangepi-3b-v2.2.dtb #or 1.1```
<DC-IRC> [Discord] <koutsie> happen
<DC-IRC> [Discord] <koutsie> was there an announcement about that or- am i missing something painfully obvious?
<DC-IRC> [Discord] <mecoblock> I think since there is Radxa 3W / 3E videos with jellyfin working on it, it would make sense to have bsp kernel based images too
<DC-IRC> [Discord] <koutsie> (i was first trying to update my kernel because i was kpanicking very far into the boot process / stuff was working without... proper devices lol - who'd had guessed)
<DC-IRC> [Discord] <koutsie> are you fucking with me
<DC-IRC> [Discord] <koutsie> ```c
<DC-IRC> [Discord] <koutsie> Failed to load '/boot/dtb/rockchip/rk3566-orangepi-3b-v2.2.dtb'
<DC-IRC> [Discord] <koutsie> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
<DC-IRC> [Discord] <koutsie> No FDT memory address configured. Please configure```
<DC-IRC> [Discord] <koutsie> did boot.cmd itself change?
<DC-IRC> [Discord] <koutsie> am i totally off track?
<DC-IRC> [Discord] <koutsie> and why does manually booting with booti work
<DC-IRC> [Discord] <koutsie> but loading via armbianEnv not?
<DC-IRC> [Discord] <koutsie> what
<DC-IRC> [Discord] <koutsie> honestly im just gonna try to get it to boot and revert to stable. shame.
<DC-IRC> [Discord] <koutsie> perkele.