ryan4yin / nixos-rk3588

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

Orange Pi 5B support? #11

Closed phaitonican closed 1 month ago

phaitonican commented 1 year 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 1 year 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 1 year ago

Sorry thanks very much for your help still!

ryan4yin commented 8 months ago

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

phaitonican commented 8 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 8 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 8 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.