File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ stdenv.mkDerivation {
2525 passthru = {
2626 BL31_RK3568 = "${ rkbin } /bin/rk35/rk3568_bl31_v1.44.elf" ;
2727 BL31_RK3588 = "${ rkbin } /bin/rk35/rk3588_bl31_v1.47.elf" ;
28+ TPL_RK3566 = "${ rkbin } /bin/rk35/rk3566_ddr_1056MHz_v1.23.bin" ;
2829 TPL_RK3568 = "${ rkbin } /bin/rk35/rk3568_ddr_1056MHz_v1.23.bin" ;
2930 TPL_RK3588 = "${ rkbin } /bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin" ;
3031 } ;
Original file line number Diff line number Diff line change 179179 platformCanUseHDCPBlob = true ;
180180 } ;
181181
182+ armTrustedFirmwareRK3568 = buildArmTrustedFirmware rec {
183+ extraMakeFlags = [ "bl31" ] ;
184+ platform = "rk3568" ;
185+ extraMeta . platforms = [ "aarch64-linux" ] ;
186+ filesToInstall = [ "build/${ platform } /release/bl31/bl31.elf" ] ;
187+ } ;
188+
182189 armTrustedFirmwareRK3588 = buildArmTrustedFirmware rec {
183190 extraMakeFlags = [ "bl31" ] ;
184191 platform = "rk3588" ;
Original file line number Diff line number Diff line change 2424 armTrustedFirmwareAllwinnerH616 ,
2525 armTrustedFirmwareRK3328 ,
2626 armTrustedFirmwareRK3399 ,
27+ armTrustedFirmwareRK3568 ,
2728 armTrustedFirmwareRK3588 ,
2829 armTrustedFirmwareS905 ,
2930 buildPackages ,
606607 filesToInstall = [ "u-boot.rom" ] ;
607608 } ;
608609
610+ ubootQuartz64B = buildUBoot {
611+ defconfig = "quartz64-b-rk3566_defconfig" ;
612+ extraMeta . platforms = [ "aarch64-linux" ] ;
613+ BL31 = "${ armTrustedFirmwareRK3568 } /bl31.elf" ;
614+ ROCKCHIP_TPL = rkbin . TPL_RK3568 ;
615+ filesToInstall = [
616+ "idbloader.img"
617+ "idbloader-spi.img"
618+ "u-boot.itb"
619+ "u-boot-rockchip.bin"
620+ "u-boot-rockchip-spi.bin"
621+ ] ;
622+ } ;
623+
609624 ubootRaspberryPi = buildUBoot {
610625 defconfig = "rpi_defconfig" ;
611626 extraMeta . platforms = [ "armv6l-linux" ] ;
Original file line number Diff line number Diff line change @@ -12738,6 +12738,7 @@ with pkgs;
1273812738 armTrustedFirmwareQemu
1273912739 armTrustedFirmwareRK3328
1274012740 armTrustedFirmwareRK3399
12741+ armTrustedFirmwareRK3568
1274112742 armTrustedFirmwareRK3588
1274212743 armTrustedFirmwareS905
1274312744 ;
@@ -13312,6 +13313,7 @@ with pkgs;
1331213313 ubootQemuArm
1331313314 ubootQemuRiscv64Smode
1331413315 ubootQemuX86
13316+ ubootQuartz64B
1331513317 ubootRaspberryPi
1331613318 ubootRaspberryPi2
1331713319 ubootRaspberryPi3_32bit
You can’t perform that action at this time.
0 commit comments