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] <lanefu> It's definitely worth trying
PhotoJim has quit [Ping timeout: 255 seconds]
<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] <igorpec> this is always the case. vendor kernels are where hw support was developed ... https://docs.armbian.com/User-Guide_FAQ/#why-does-hardware-feature-xy-work-in-old-kernel-but-not-in-more-recent-one
<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> and indeed, it does get patched into the tree
<DC-IRC> [Discord] <mattx.cloud> ```
<DC-IRC> [Discord] <mattx.cloud> matt@fuji:~/build$ sudo find . -name rk3528-radxa-e20c.dts
<DC-IRC> [Discord] <mattx.cloud> ./cache/sources/u-boot-worktree/u-boot-rockchip64/next-dev-v2024.03/arch/arm/dts/rk3528-radxa-e20c.dts
<DC-IRC> [Discord] <mattx.cloud> ./cache/sources/linux-kernel-worktree/6.1__rk35xx__arm64/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts```
<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> ```
<DC-IRC> [Discord] <mattx.cloud> matt@fuji:~/build$ sudo find . -name rk3528-radxa-e20c.dts
<DC-IRC> [Discord] <mattx.cloud> ./cache/sources/u-boot-worktree/u-boot-rockchip64/next-dev-v2024.03/arch/arm/dts/rk3528-radxa-e20c.dts
<DC-IRC> [Discord] <mattx.cloud> ./cache/sources/linux-kernel-worktree/6.1__rk35xx__arm64/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts```
<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] <mattx.cloud> rk3528-radxa-e20c.dts
<DC-IRC> [Discord] <mattx.cloud> matt@fuji:~/build/cache/sources/linux-kernel-worktree/6.1__rk35xx__arm64/arch/arm64/boot/dts/rockchip$ ls rk3528-mango*
<DC-IRC> [Discord] <mattx.cloud> rk3528-mangopi-m28k.dtb rk3528-mangopi-m28k.dts```
<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> <https://github.com/armbian/linux-rockchip/pull/231>
<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] <Werner> https://debug.armbian.de
<DC-IRC> [Discord] <efectn> Yes they are
<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] <voido76> Tried changing HDMI cable.
<DC-IRC> [Discord] <voido76> Update&Upgrade.
<DC-IRC> [Discord] <efectn> Is it 6.1?
<DC-IRC> [Discord] <voido76> Yea
<DC-IRC> [Discord] <voido76> It can set 2560x1080/60 at max :C
<DC-IRC> [Discord] <voido76> Should I try 6.10?
<DC-IRC> [Discord] <efectn> probably it will work with 6.10. what if you add an overlay like https://paste.laravel.io/50c2094a-ae61-4fb0-a883-e4aa2435bb98 on 6.1?
<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] <ddeath5421> edge + dmesg: https://pastebin.com/22rZqrj7
<DC-IRC> [Discord] <efectn> Will check it tonight or tomorrow
<DC-IRC> [Discord] <efectn> @amazingfate is it possible if https://github.com/armbian/linux-rockchip/commit/672dacbd8ad508dac08ef1837f39045f8847ed4a broke some screen resolutions for several boards? I see there are still some boards use <&hdptxphy_hdmiX> as a clock resource. This is just an assuming since i only have 1080p monitors
<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> No-no, filthy-casual mode - HDMI.
<DC-IRC> [Discord] <efectn> after pasting it to a file like display.overlay you need to run sudo armbian-add-overlay display.overlay
<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
<DC-IRC> [Discord] <voido76> Yeah adding overlay fixed this.
<DC-IRC> [Discord] <voido76> Thank you.
<DC-IRC> [Discord] <efectn> nice then. it will be fixed soon
<DC-IRC> [Discord] <voido76> There is a CPUfreq in ArmbianConfig. Does it work?
<DC-IRC> [Discord] <voido76> There is a CPUfreq in ArmbianConfig. Does it work? It's said as deprecated though...
<DC-IRC> [Discord] <voido76> There is a CPUfreq in ArmbianConfig. Does it work? It's said as deprecated though...
<DC-IRC> [Discord] <voido76> Upd: seems to work though
<DC-IRC> [Discord] <mattx.cloud> and made a PR for e20c support now. <https://github.com/armbian/build/pull/7157>
<DC-IRC> [Discord] <mattx.cloud> will probably take a while since the kernel PR has to be merged first
<DC-IRC> [Discord] <efectn> can you try to build images using https://github.com/efectn-forks/build/tree/add-opi5max branch