Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 treerk3588s-orangepi-5.dts
withrk3588s-orangepi-5b.dts
. Also adding an own nixConfiguration insideflake.nix
to enable thenix-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.