u-boot-orangepi icon indicating copy to clipboard operation
u-boot-orangepi copied to clipboard

DTS for v2023.04

Open DaveWK opened this issue 3 years ago • 6 comments

Hi, I would like to get just the DTS for the R1 Plus LTS that would work using the v2023.04 release of u-boot mainline. It looks like most (if not all) the changes here are just adding kconfig files and dts's to an extremely out of date fork.

It would be a lot cleaner to separate all the DTS's and configs that are being added into their own folder and include mainline u-boot as a git submodule, then copy them into the proper location.

DaveWK avatar Apr 18 '23 12:04 DaveWK

I'll second this comment, but also add that opi5+ really needs better support as well.

In fact, the whole orangepi series needs to be mainlined.

That said, without any history of looking at this, it's easy for me to ask for this - but I did start on trying to merge opi5+ into 2023.04, and am currently trying to figure out how to refactor the DTS so that it compiles. I really don't have any experience with modeling device-tree information, so understanding all of this is still beyond me.

As to why this needs mainline support? It doesn't look like i can use more than two overlays in this OPI-specific 2017 branch, and I'd really like to be able to have more than that available. also, there's no dtoverlay support, which means I can't build generic overlays that take arguments to pass various options into the overlay framework (think using the same PWM skeleton, but just passing different args to meet the needs of each node, for, say, multiple fans)

akhepcat avatar Jul 05 '23 22:07 akhepcat

I imagine there's some politics/process around getting every dts in mainline, however I do see that a lot of similar boards in mainline such as the rock5b-rk3588 so I imagine that someone more familiar with the differences (IE the manufacturer) would have a much more productive time providing the few tweaks needed in the dts for example between the Opi5+ and a rock5b-rk3588

It seems thankfully the R1-LTS is making it's way into mainline, now that the motorcomm eth drivers are included, however it seems unfortunately like the Orange Pi 5B is being largely neglected for any maintenance and updates.

DaveWK avatar Jul 05 '23 22:07 DaveWK

It looks like the ROCK5A has been merged into u-boot: https://source.denx.de/u-boot/u-boot/-/commit/b8fc65473ae74776e7cac47c793a5ac295dea928

I think the Rock5A and Orange Pi 5b are both similar RK3588S boards, so it would be appreciated if someone could modify the Rock5A u-boot in a clean manner that doesn't involve a bunch of hacks that can't be upgraded and forces users to be locked in some old version from 2020 that doesn't support EFI properly.

DaveWK avatar Aug 14 '23 13:08 DaveWK

For example Orange Pi official page show that it support Debian and Ubuntu - I am going to Debian or Ubuntu site, download image but I can not even load kernel due old u-boot that does not support new formats that all use now...

The same situation with Orange Pi 3 - but it supported by mainline u-boot so it not big problem, I just built it and it fine works with latest default Debian and quiet custom kernel with few patches for full support

serhii-nakon avatar Aug 16 '23 10:08 serhii-nakon

It quiet funny but I built U-Boot for RockPi 5B and it fine works with OrangePi 5 Plus. spi_image.zip

serhii-nakon avatar Aug 19 '23 11:08 serhii-nakon

I have some progress on mainline U-Boot for the Orange Pi 5 and Orange Pi 5 Plus.

This is basic support with working PCIe, NVMe, SD Card, and eMMC. The Orange Pi 5 Plus device tree needs to be cleaned up but this will be done at a later date. FYI the below repo may be rebased and is a work in progress.

https://github.com/Joshua-Riek/u-boot/tree/v2023.10-rc4-rk3588

Joshua-Riek avatar Sep 24 '23 19:09 Joshua-Riek