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
U-Boot: Add Orange Pi Zero Plus2 (H5) build #47187
U-Boot: Add Orange Pi Zero Plus2 (H5) build #47187
Conversation
@GrahamcOfBorg build ubootOrangePiZeroPlus2H5 |
Success on aarch64-linux (full log) Attempted: ubootOrangePiZeroPlus2H5 Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: ubootOrangePiZeroPlus2H5 Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: ubootOrangePiZeroPlus2H5 Partial log (click to expand)
|
Since I hacked on it on the community machine, it shows up as a one-line success. Here's the log: |
@@ -158,6 +158,13 @@ in rec { | |||
filesToInstall = ["u-boot-sunxi-with-spl.bin"]; | |||
}; | |||
|
|||
ubootOrangePiZeroPlus2H5 = buildUBoot rec { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ubootOrangePiZeroPlus2H5
would come before ubootOrangePiPc
in alphabetic order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Z comes after P, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh, of course. Needed more coffee clearly...
pkgs/top-level/all-packages.nix
Outdated
@@ -14751,6 +14751,7 @@ with pkgs; | |||
ubootSopine | |||
ubootUtilite | |||
ubootWandboard | |||
ubootOrangePiZeroPlus2H5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, according to the alphabetical order of Z coming after P.
a1a0593
to
0501360
Compare
Motivation for this change
Adds support for that board.
The board is supported by mainline U-Boot, and uses the mainline build. It works right; HDMI starts, can boot the NixOS ARM mainline AArch64 img.
While unrelated to this PR, note that the mainline kernel currently has issues starting the HDMI output, so anyone using 4.18.6 mainline kernel on a NixOS image, use a serial device to confirm whether it works or not.
The instructions to flash are as expected from AArch64 allwinner. After using
dd
on the SD card:And while still directly unrelated to this PR; useful to know that booting from the 8GB internal eMMC works; boot from an SD system, and
dd
the NixOS AArch64 image, and thendd
theu-boot
binary using the same command, but substituting for the right/dev/mmcblk
device.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)