Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support orangepi 5b #13

Closed
wants to merge 3 commits into from
Closed

Conversation

phaitonican
Copy link

@phaitonican phaitonican commented Oct 15, 2023

I basically just copied the modules/boards/orangepi5.nix file, removing the SSD overlay, leaving the i2c1 Overlay (since the Orange Pi 5B also seems to support that) and override the device tree rk3588s-orangepi-5.dts with rk3588s-orangepi-5b.dts. Also adding an own nixConfiguration inside flake.nix to enable the nix-build .#sdImage-opi5b command.

Since beside the on board eMMC drive, WIFI and Bluetooth everything else is identical to the Orange Pi 5, I left everything else in the code identical either.

After compiling, I can definitely say the on board eMMC drive is working and found by command lsblk due to the new provided device tree file.

As of now, I didn't test WiFi and Bluetooth yet. Unfortunately I can't seem to take an image. Also I didn't edit the README.md file yet since I didn't know if you will merge this pull request and how you would like it to be.

@phaitonican
Copy link
Author

Is not working because it does not boot from either eMMC or SD card once installed into eMMC. I have to fix this by looking at Si Dao's work (https://github.com/fb87/nixos-orangepi-5x/blob/v5.10.x/flake.nix). He uses patch onto the u-boot file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant