u-Boot: add Orange Pi 3 support

Enable build of U-Boot for Orange Pi 3.

Signed-off-by: Sergey Makarov <setser200018@gmail.com>
This commit is contained in:
Sergey Makarov 2023-04-05 23:41:15 +03:00
parent 37e8b04cc7
commit e97b960c4e
3 changed files with 16 additions and 0 deletions

View File

@ -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"];

View File

@ -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"];

View File

@ -26125,6 +26125,7 @@ with pkgs;
armTrustedFirmwareTools
armTrustedFirmwareAllwinner
armTrustedFirmwareAllwinnerH616
armTrustedFirmwareAllwinnerH6
armTrustedFirmwareQemu
armTrustedFirmwareRK3328
armTrustedFirmwareRK3399
@ -27316,6 +27317,7 @@ with pkgs;
ubootOdroidC2
ubootOdroidXU3
ubootOlimexA64Olinuxino
ubootOrangePi3
ubootOrangePiPc
ubootOrangePiZeroPlus2H5
ubootOrangePiZero