summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-07-20 13:28:34 +0300
committerGitHub <noreply@github.com>2024-07-20 13:28:34 +0300
commit30c7d92af3237be0459b04266f3ea0961464068b (patch)
tree835dd05d94653488f6b66c3941162b899e761d42 /pkgs/misc/uboot
parentbbf575907614caf20b7a67bfd614ad17c39e54af (diff)
parentd14c296d19a9b1489b50d96d997072bc1864160e (diff)
Merge pull request #326845 from Luflosi/init/ubootOrangePiZero3
ubootOrangePiZero3: init
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index ddac420f9be0..8c2fcb2eba53 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -416,6 +416,16 @@ in {
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
};
+ ubootOrangePiZero3 = buildUBoot {
+ defconfig = "orangepi_zero3_defconfig";
+ extraMeta.platforms = ["aarch64-linux"];
+ # According to https://linux-sunxi.org/H616 the H618 "is a minor update with a larger (1MB) L2 cache" (compared to the H616)
+ # but "does require extra support in U-Boot, TF-A and sunxi-fel. Support for that has been merged in mainline releases."
+ # But no extra support seems to be in TF-A.
+ BL31 = "${armTrustedFirmwareAllwinnerH616}/bl31.bin";
+ filesToInstall = ["u-boot-sunxi-with-spl.bin"];
+ };
+
ubootOrangePi3 = buildUBoot {
defconfig = "orangepi_3_defconfig";
extraMeta.platforms = ["aarch64-linux"];