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] <sqilson> Hi guys, so on the orangepi5, the i2c buses on the 26pin interface are on bus 1, 3, and 5. from what I understand, I should be able to add the "i2c5-m3" overlay (to make available that bus on the file system, but it says
<DC-IRC>
[Discord] <sqilson> ** File not found /boot/dtb/rockchip/overlay/rockchip-rk3588-i2c5.dtbo **
<DC-IRC>
[Discord] <sqilson> ** File not found /boot/dtb/rockchip/overlay/i2c5.dtbo **
<DC-IRC>
[Discord] <sqilson> forgive the noob question, please. Can anyone tell what I might be doing wrong? I'm pretty sure the overlay is in there when I inspect it with armbian-config
<DC-IRC>
[Discord] <sqilson> Hi guys, so on the orangepi5, the i2c buses on the 26pin interface are on bus 1, 3, and 5. from what I understand, I should be able to add the overlay "i2c5-m3" in /boot/armbianEnv.txt to make available that bus on the file system, but it says
<DC-IRC>
[Discord] <sqilson> ** File not found /boot/dtb/rockchip/overlay/rockchip-rk3588-i2c5.dtbo **
<DC-IRC>
[Discord] <sqilson> ** File not found /boot/dtb/rockchip/overlay/i2c5.dtbo **
<DC-IRC>
[Discord] <sqilson> forgive the noob question, please. Can anyone tell what I might be doing wrong? I'm pretty sure the overlay is in there when I inspect it with armbian-config
<DC-IRC>
[Discord] <sqilson> The file `/boot/dtb/rockchip/overlay/rk3588-i2c5-m3.dtbo` does exist, but armbian config looks for its name prepended with `rockchip` I guess
<DC-IRC>
[Discord] <amazingfate> this should be a bug
<DC-IRC>
[Discord] <mecoblock> I opened a pull request for the rock5b+ device tree in armbian/linux-rochchip if someone can take a quick look
<DC-IRC>
[Discord] <Werner> There is a known naming issue with overlays. Just add them manually
<DC-IRC>
[Discord] <mecoblock> what would be the go to approach when I'd want to try to build an image with that pull request (when its not merged)?
<DC-IRC>
[Discord] <amazingfate> You can add dts patch to patch/kernel/rk35xx-vendor-6.1/, or simplely add dts file to patch/kernel/rk35xx-vendor-6.1/dt/, or change KERNSOURCE and KERNELBRANCH of vendor branch at config/sources/families/rockchip-rk3588.conf
<DC-IRC>
[Discord] <lanefu> There's endpoints on github to check out PRs
<DC-IRC>
[Discord] <mecoblock> Went the patch route but I assumed there’d be a way like this. Good to know for the future
seeker77 has joined #armbian-rockchip
<seeker77>
Hi everyone, I'm stuck with a weird problem: I've 'apt purge'd kernel, u-boot and dtbs from my rk3588s-board. 'apt installed' the corresponding vendor pkgs but the board still boots with the previously install 'current'-image. Any hints?
<DC-IRC>
[Discord] <Werner> Why not simply using armbian-config to switch kernels? It does the job for you.
<seeker77>
That's true :-) Probably cause I'm more confident with plain debian. But finally I've also tried armbian-config with the same result...
<DC-IRC>
[Discord] <Werner> Do you have multiple types of storage? Possible scenario: You boot from sd, install to emmc, reboot but leave the sd in and don't realize it booted from sd again and not from emmc
<seeker77>
Hmm. I have multiple storage: SD-Card, /dev/mtd0, SATA. I have the rk loader 1.16 installed to SPI/mtd0, no boot partition or loader on SATA and /boot on SD-Card
<seeker77>
Would you try and zeroize the MTD?
<seeker77>
(It's an OrangePi5, BTW)
<DC-IRC>
[Discord] <Werner> opi5 does not have sata. you mean nvme via m.2?
<seeker77>
Nope I mean SATA via M.2
<seeker77>
Unfortunately not yet well supported by mainline but works solidly on vendor
<seeker77>
(Thats why I'm downgrading from current to vendor)
<DC-IRC>
[Discord] <Werner> Well anyway, having something on mtd flash present is only necessary when booting from nvme or usb. So yeah, you could wipe it but that's not the solution for the initial problem since there is no kernel on this...or should not.
<seeker77>
Do you know if the kernel is supposed to be present anywhere other than the /boot/vmlinuz-6.1.75-vendor-rk35xx?
<seeker77>
Does u-boot maintain a separate copy?
<DC-IRC>
[Discord] <Werner> As for Armbian no. There is no copy. Kernel is in /boot only.
<seeker77>
Ok, then I'm just going to format /boot and overwrite with the data from a working sd
<seeker77>
Thanks for your feedback - although I don't really understand what happened, everything is fine after formatting /boot
seeker77 has quit [Ping timeout: 252 seconds]
<DC-IRC>
[Discord] <raspberrygb> Just trying to test Armbian community 24.11.0 noble vendor 6.1.75 gnome build on OP5 Max. By any chance, does anyone know if GPU can be enabled on this? (Panfrost or whatever)
<DC-IRC>
[Discord] <raspberrygb> Just seen that Panthor can be enabled via armbian-config ... So am trying that.
<DC-IRC>
[Discord] <guf5741> Is it supported by armbian yet? Try add ENABLE_EXTENSIONS=mesa-vpu while compile image
<DC-IRC>
[Discord] <raspberrygb> Not officially. This is a community build. I just downloaded the image, an not compiling it myself.
<DC-IRC>
[Discord] <raspberrygb> Not officially. This is a community build. I just downloaded the image, am not compiling it myself.
<DC-IRC>
[Discord] <raspberrygb> I've enabled Panthor via armbian-config. But looks like GPU acceleration still isn't working for my Neverball test.
<DC-IRC>
[Discord] <raspberrygb> I got it working by following andyshrk guide for building panfrost / Mesa.
<DC-IRC>
[Discord] <raspberrygb> I got it working by following andyshrk guide for building panfrost / Mesa. (Except I downloaded Mesa from the official repo).
<DC-IRC>
[Discord] <fridtjof> I'll try to test it when i get home
<DC-IRC>
[Discord] <fridtjof> Actually cobbled together my own DT already, but USB is half broken for some reason. Glad to compare :D