ryan4yin / nixos-rk3588

Minimal NixOS running on RK3588/RK3588s based SBC(Orange Pi 5 Plus, Orange Pi 5, Rock 5A, etc)
MIT License
134 stars 18 forks source link

Orange Pi 5B support? #11

Open phaitonican opened 11 months ago

phaitonican commented 11 months ago

Orange Pi 5B support soon pls? there is another repo for it but it would be better when its here for more support

ryan4yin commented 11 months ago

@phaitonican I don't have a orangepi 5b, so it's troublesome for me to test the code, and I don't have time recently.

So I suggest you use the 'another repo' you mentioned directly: fb87/nixos-orangepi-5x.

phaitonican commented 11 months ago

Sorry thanks very much for your help still!

ryan4yin commented 7 months ago

Planning to support Orange Pi 5B, if you are willing to help with the test, please let me know.

phaitonican commented 7 months ago

Hello. Yes I can test no Problem.

I opened PR, it got working config and file system table.

https://github.com/ryan4yin/nixos-rk3588/commit/f62c94bab56ee28d2dde53bbf38721ba1c3d3aac

Only thing I couldn't do was compile u-boot into image file. Orange Pi 5b has no SPI flash, u-boot has to be inside image.

ryan4yin commented 7 months ago

Yeah I see it, https://github.com/ryan4yin/nixos-rk3588/pull/13, I‘ll integrate Si Dao's work into this project.

BTW, as Orange PI 5B is very similar to Orange Pi 5, I wonder if 5B can also be booted from UEFI(edk2-rk3588), which will be much more flexible than U-Boot. Related docs: https://github.com/ryan4yin/nixos-rk3588/blob/main/UEFI.md

phaitonican commented 7 months ago

I think maybe. Step 3 he say, EFI partition can be inside image itself, without SPI flash. So flake should create EFI partition and burn firmware into EFI partition. Interesting.