diff options
author | Sergey Makarov <setser200018@gmail.com> | 2023-04-05 23:41:15 +0300 |
---|---|---|
committer | Sergey Makarov <setser200018@gmail.com> | 2023-04-05 23:45:39 +0300 |
commit | e97b960c4e9b31c5983355543e84eff7441a6038 (patch) | |
tree | 9897ccad42a27c57288ad0b68c461e3042934ff3 /pkgs/misc | |
parent | 37e8b04cc76a2af79994b2b4439bf67e00559082 (diff) |
u-Boot: add Orange Pi 3 support
Enable build of U-Boot for Orange Pi 3. Signed-off-by: Sergey Makarov <setser200018@gmail.com>
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/arm-trusted-firmware/default.nix | 6 | ||||
-rw-r--r-- | pkgs/misc/uboot/default.nix | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/misc/arm-trusted-firmware/default.nix b/pkgs/misc/arm-trusted-firmware/default.nix index 23a2f707c6b32..a6f95adb9befb 100644 --- a/pkgs/misc/arm-trusted-firmware/default.nix +++ b/pkgs/misc/arm-trusted-firmware/default.nix @@ -114,6 +114,12 @@ in { filesToInstall = ["build/${platform}/release/bl31.bin"]; }; + armTrustedFirmwareAllwinnerH6 = buildArmTrustedFirmware rec { + platform = "sun50i_h6"; + extraMeta.platforms = ["aarch64-linux"]; + filesToInstall = ["build/${platform}/release/bl31.bin"]; + }; + armTrustedFirmwareQemu = buildArmTrustedFirmware rec { platform = "qemu"; extraMeta.platforms = ["aarch64-linux"]; diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index a360058725006..2832f6c8aee12 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -15,6 +15,7 @@ , swig , which , armTrustedFirmwareAllwinner +, armTrustedFirmwareAllwinnerH6 , armTrustedFirmwareAllwinnerH616 , armTrustedFirmwareRK3328 , armTrustedFirmwareRK3399 @@ -365,6 +366,13 @@ in { filesToInstall = ["u-boot-sunxi-with-spl.bin"]; }; + ubootOrangePi3 = buildUBoot { + defconfig = "orangepi_3_defconfig"; + extraMeta.platforms = ["aarch64-linux"]; + BL31 = "${armTrustedFirmwareAllwinnerH6}/bl31.bin"; + filesToInstall = ["u-boot-sunxi-with-spl.bin"]; + }; + ubootPcduino3Nano = buildUBoot { defconfig = "Linksprite_pcDuino3_Nano_defconfig"; extraMeta.platforms = ["armv7l-linux"]; |