mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-03 22:43:30 +01:00
mnt-reform: Add uboot flash script
This commit is contained in:
4 files changed
+71
-4
No files matched your search
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user