mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
25 lines
456 B
Nix
25 lines
456 B
Nix
{
|
|
buildUBoot,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildUBoot {
|
|
version = "2022.10-k3-br-v1.0.y";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "liberodark";
|
|
repo = "spacemit-uboot-2022.10";
|
|
rev = "368953aa0b648528ddafa5b6baa73507448ab94d";
|
|
hash = "sha256-LTtxHzL5aoMLlv8DsgEoyIM0JrwYYzNlHCAmXzixScI=";
|
|
};
|
|
|
|
defconfig = "k3_defconfig";
|
|
|
|
filesToInstall = [ "u-boot.itb" ];
|
|
|
|
extraConfig = ''
|
|
CONFIG_SYS_CBSIZE=2048
|
|
CONFIG_SYS_BARGSIZE=2048
|
|
'';
|
|
}
|