uboot: init Pine64 Quartz64 B (#394086)

This commit is contained in:
K900
2025-04-16 17:21:56 +03:00
committed by GitHub
4 changed files with 25 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ stdenv.mkDerivation {
passthru = {
BL31_RK3568 = "${rkbin}/bin/rk35/rk3568_bl31_v1.44.elf";
BL31_RK3588 = "${rkbin}/bin/rk35/rk3588_bl31_v1.47.elf";
TPL_RK3566 = "${rkbin}/bin/rk35/rk3566_ddr_1056MHz_v1.23.bin";
TPL_RK3568 = "${rkbin}/bin/rk35/rk3568_ddr_1056MHz_v1.23.bin";
TPL_RK3588 = "${rkbin}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin";
};
@@ -179,6 +179,13 @@ in
platformCanUseHDCPBlob = true;
};
armTrustedFirmwareRK3568 = buildArmTrustedFirmware rec {
extraMakeFlags = [ "bl31" ];
platform = "rk3568";
extraMeta.platforms = [ "aarch64-linux" ];
filesToInstall = [ "build/${platform}/release/bl31/bl31.elf" ];
};
armTrustedFirmwareRK3588 = buildArmTrustedFirmware rec {
extraMakeFlags = [ "bl31" ];
platform = "rk3588";
+15
View File
@@ -24,6 +24,7 @@
armTrustedFirmwareAllwinnerH616,
armTrustedFirmwareRK3328,
armTrustedFirmwareRK3399,
armTrustedFirmwareRK3568,
armTrustedFirmwareRK3588,
armTrustedFirmwareS905,
buildPackages,
@@ -606,6 +607,20 @@ in
filesToInstall = [ "u-boot.rom" ];
};
ubootQuartz64B = buildUBoot {
defconfig = "quartz64-b-rk3566_defconfig";
extraMeta.platforms = [ "aarch64-linux" ];
BL31 = "${armTrustedFirmwareRK3568}/bl31.elf";
ROCKCHIP_TPL = rkbin.TPL_RK3568;
filesToInstall = [
"idbloader.img"
"idbloader-spi.img"
"u-boot.itb"
"u-boot-rockchip.bin"
"u-boot-rockchip-spi.bin"
];
};
ubootRaspberryPi = buildUBoot {
defconfig = "rpi_defconfig";
extraMeta.platforms = [ "armv6l-linux" ];
+2
View File
@@ -12738,6 +12738,7 @@ with pkgs;
armTrustedFirmwareQemu
armTrustedFirmwareRK3328
armTrustedFirmwareRK3399
armTrustedFirmwareRK3568
armTrustedFirmwareRK3588
armTrustedFirmwareS905
;
@@ -13312,6 +13313,7 @@ with pkgs;
ubootQemuArm
ubootQemuRiscv64Smode
ubootQemuX86
ubootQuartz64B
ubootRaspberryPi
ubootRaspberryPi2
ubootRaspberryPi3_32bit