mnt-reform: Add uboot flash script

This commit is contained in:
Jakob Leifhelm committed 2025-11-09 11:25:35 +01:00
1 parent 20baaa0d68
commit a31d53a0b2
4 files changed
+71 -4

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{
lib,
callPackage,
}:
rec {
reform-flash-uboot =
lib.mapAttrs (name: config: callPackage ./reform-flash-uboot.nix { inherit config; })
{
reform2-rk3588-dsi = {
warn = true;
mmc = "mmcblk0";
mmcBoot0 = false;
ubootOffset = 32768;
flashbinOffset = 0;
image = "${ubootImage.reform2-rk3588-dsi}/rk3588-mnt-reform2-dsi-flash.bin";
};
};
uboot.reform2-rk3588-dsi = callPackage ../rk3588/uboot.nix { };
ubootImage.reform2-rk3588-dsi = callPackage ../rk3588/uboot-image.nix {
uboot = uboot.reform2-rk3588-dsi;
};
}