about summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
author0x4A6F <0x4A6F@users.noreply.github.com>2024-04-02 19:39:50 +0200
committerGitHub <noreply@github.com>2024-04-02 19:39:50 +0200
commitaa23ec0eda4479d42bc2eee0d9d8e74496652929 (patch)
treec8702821947c8a8793e5cf7fa7605ffdd79bcb73 /pkgs/misc/uboot
parentdcd67b74f14a823a61b90ac6678218c08075f39b (diff)
parent1892e1361a222f7d3cdf67411fd800f723b5f5f0 (diff)
Merge pull request #298347 from jgero/feat/uboot-rock4cplus
feat(uboot): add rock4cplus support
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index e66e4841b4e87..d7a3ad13825c2 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -539,6 +539,13 @@ in {
     filesToInstall = ["u-boot.bin"];
   };
 
+  ubootRock4CPlus = buildUBoot {
+    defconfig = "rock-4c-plus-rk3399_defconfig";
+    extraMeta.platforms = [ "aarch64-linux" ];
+    BL31 = "${armTrustedFirmwareRK3399}/bl31.elf";
+    filesToInstall = [ "u-boot.itb" "idbloader.img" ];
+  };
+
   ubootRock5ModelB = buildUBoot {
     defconfig = "rock5b-rk3588_defconfig";
     extraMeta.platforms = ["aarch64-linux"];