mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 09:58:47 +08:00
16
mnt/reform2-nitrogen8m/uboot/default.nix
Normal file
16
mnt/reform2-nitrogen8m/uboot/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ buildUBoot, fetchgit }:
|
||||
|
||||
buildUBoot rec {
|
||||
pname = "uboot-reform2-imx8mq";
|
||||
version = "2020-06-01";
|
||||
src = fetchgit {
|
||||
url = "https://source.mntmn.com/MNT/reform-boundary-uboot.git";
|
||||
rev = version;
|
||||
sha256 = "0ychnwhisjqm0gzyz0nv9xynl9g114xmxpwz4vm0l5w6sc60jshw";
|
||||
};
|
||||
defconfig = "nitrogen8m_som_4g_defconfig";
|
||||
extraMeta.platforms = [ "aarch64-linux" ];
|
||||
filesToInstall = [ "flash.bin" ];
|
||||
patches = [ ./shell-syntax.patch ./env_vars.patch ];
|
||||
makeFlags = filesToInstall;
|
||||
}
|
||||
Reference in New Issue
Block a user