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] <superkali> Hello, someone know if current/edge contains all reference like sound card through i2c*? something missing as i see, the vendor kernel seems more complete.
<DC-IRC>
[Discord] <ddeath5421> Yeah probably that is the issue, I tried OrangePi 5 Plus board config and it boots up even though hdmi does not work.
<DC-IRC>
[Discord] <mattx.cloud> does anyone know how to get the armbian build system to recognize that I added a dtb via patches? this is what i currently have
<DC-IRC>
[Discord] <mattx.cloud> except it's not listed in the autogenerated `./cache/sources/linux-kernel-worktree/6.1__rk35xx__arm64/arch/arm64/boot/dts/rockchip/Makefile`
<DC-IRC>
[Discord] <mattx.cloud> and indeed, it does get patched into the tree
<DC-IRC>
[Discord] <mattx.cloud> except it's not listed in `./cache/sources/linux-kernel-worktree/6.1__rk35xx__arm64/arch/arm64/boot/dts/rockchip/Makefile` which seems to be generated by the armbian dt makefile auto-patch
<DC-IRC>
[Discord] <Werner> Hm from a quick look noticed the ending? All have .dtb but the added one is dts
<DC-IRC>
[Discord] <Werner> Is this intended?
<DC-IRC>
[Discord] <mattx.cloud> .dtb is compiled, .dts is source.
<DC-IRC>
[Discord] <superkali> ok, so if the board works on kernel mainline, no errors on boot, but the peripherals like sounds, and other things not working, is not a problem?
<DC-IRC>
[Discord] <mattx.cloud> ```
<DC-IRC>
[Discord] <mattx.cloud> matt@fuji:~/build/cache/sources/linux-kernel-worktree/6.1__rk35xx__arm64/arch/arm64/boot/dts/rockchip$ ls rk3528-radxa*
<DC-IRC>
[Discord] <superkali> Because here most of the peripherals work, usb, etc., but not everything will ever go to LTS, as there are no drivers in mainline right?
<DC-IRC>
[Discord] <mattx.cloud> ... and as probably can be expected, there is no mention of my dts in the log
<DC-IRC>
[Discord] <mattx.cloud> thanks i just realized this was my mistake
<DC-IRC>
[Discord] <Werner> More or less yes. Having basic functionallity on an LTS kernel is good enough for now, especially since there is vendor branch in place that has most stuff working. User can decide. We cannot afford to write mainline kernel drivers on grand scale by yourselves. Sometimes features get backported, sometimes we have to wait for the next LTS kernel
<DC-IRC>
[Discord] <superkali> Sure, it doesn't seem appropriate to start implementing features directly on the LTS kernel. Let's say that I'm insisting on implementing everything on the vendor kernel because the vendor's DTS files aren't written very well. I'm not great at writing them either since I'm still learning, but at least I try to comment on the references to that piece of code. If anyone wants to co <clipped message>
<DC-IRC>
[Discord] <superkali> ntribute, even by offering advice, it is always welcome.
<DC-IRC>
[Discord] <mattx.cloud> success, after fixing that my board now boots
<DC-IRC>
[Discord] <mattx.cloud> (you can probably see the design flaw of this board from the screenshot, the usb serial chip can't handle the 1.5mbps baudrate of the rk3528)
<DC-IRC>
[Discord] <mattx.cloud> so turns out I got everything working except for rkmpp video encoding/decoding which just makes ffmpeg segfault for whatever reason
<DC-IRC>
[Discord] <mattx.cloud> sent in a PR for this board, will send another for the actual build repo after this gets merged
<DC-IRC>
[Discord] <efectn> Is 5max rk3588s or rk3588?
<DC-IRC>
[Discord] <ddeath5421> rk3588
<DC-IRC>
[Discord] <efectn> ok i can try to add community support for max if test it
<DC-IRC>
[Discord] <ddeath5421> Sure, I am trying the same but I never worked on Linux kernel stuff 😄 Proper release from OPI 5 Plus Armbian from 24th of June / July kind of works, HDMI works there.... As for current OPI 5 Plus compiles and I can run it on Max, but there is no video output even thoug it looks like 1 hdmi is kind of working because monitor does not show NO SIGNAL but still shows black screen
<DC-IRC>
[Discord] <ddeath5421> I tried to copy defconfig of Max from orange-pi build repo, but they are using kernel 5.10 there....
<DC-IRC>
[Discord] <ddeath5421> Also dts is little bit different (from 5 plus), but I changes are kind of visible in official opi build repo.
<DC-IRC>
[Discord] <efectn> Are you trying 6.1 or 6.10 kernel?
<DC-IRC>
[Discord] <ddeath5421> 6.10 is on main branch and I compile current (I didnt change anything regarding linux kernel version).... but that release from 24th is 6.1.75 (the one with working HDMI output)
<DC-IRC>
[Discord] <efectn> 6.10 only works with HDMI0
<DC-IRC>
[Discord] <efectn> Did you try to plug cable to other HDMI port
<DC-IRC>
[Discord] <ddeath5421> Yeah one port shows NO SIGNAL on monitor, second port shows black screen but at least there is signal
<DC-IRC>
[Discord] <efectn> And what about tty logs?
<DC-IRC>
[Discord] <ddeath5421> Hmm not sure what are those exactly. If you mean those logs from boot sequence I can provide those.
<DC-IRC>
[Discord] <Werner> the logs you get from debug serial console
<DC-IRC>
[Discord] <voido76> Hey everyone, just switched to Armbian from other OS on my OPi5Plus, but for some reason I can't set 1440p/120 display settings for whatever reason.
<DC-IRC>
[Discord] <voido76> Anything obvious I can look into? Thanks.
<DC-IRC>
[Discord] <efectn> you can add it using armbian-add-overlay
<DC-IRC>
[Discord] <ddeath5421> I pulled the latest main and build OPI 5 Plus server config with `./compile.sh RELEASE=noble BOARD=orangepi5-plus BRANCH=current` Boot logs are here: https://pastebin.com/AxxZcQiz
<DC-IRC>
[Discord] <voido76> Thanks, let my try.
<DC-IRC>
[Discord] <efectn> can you also send dmesg output? and can you test it with edge kernel
<DC-IRC>
[Discord] <voido76> Didn't work, but I don't exclude that I pasted it in a wrong place.
<DC-IRC>
[Discord] <voido76> Trying 6.10👀
<DC-IRC>
[Discord] <efectn> are you sure that you loaded the overlay
<DC-IRC>
[Discord] <voido76> Ofc not I just pasted a thing and restarted. Since you asked this, I will get back to it again after I try 6.10(burning it for the second time now)
<DC-IRC>
[Discord] <voido76> First attempt to boot with 6.10 failed. Opi led was green for some seconds and that's it. Blinked, no output on the screen.
<DC-IRC>
[Discord] <efectn> yeah i think it's still necessary
<DC-IRC>
[Discord] <superkali> you've serial output?
<DC-IRC>
[Discord] <voido76> gotcha, I will do that after I try 6.10
<DC-IRC>
[Discord] <voido76> brb
<DC-IRC>
[Discord] <superkali> without serial output is hard to understand what happening to the u-boot
<DC-IRC>
[Discord] <efectn> i guess something was wrong with 6.10 on opi5. i've fixed it later but don't know if the fix is exists for stable repository.
<DC-IRC>
[Discord] <efectn> try kernels from beta armbian repo