mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
4435cdfec7
Signed-off-by: magic_rb <magic_rb@redalder.org>
22 lines
614 B
Nix
22 lines
614 B
Nix
{
|
|
buildUBoot,
|
|
pkgs,
|
|
}:
|
|
buildUBoot {
|
|
version = "kobo-2023-10";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "akemnade";
|
|
repo = "u-boot-fslc";
|
|
rev = "3247fa27aed27bb5ac24bd9966fd7dadd9c4c373";
|
|
hash = "sha256-MUAiiXTfxt/o/6rnoI7A76IMRPDUhXodjnguKwQKrVs=";
|
|
};
|
|
defconfig = "mx6sllclarahd_defconfig";
|
|
extraMeta.platforms = ["armv7l-linux"];
|
|
filesToInstall = ["u-boot-dtb.imx"];
|
|
extraConfig = ''
|
|
CONFIG_FASTBOOT_OEM_RUN=y
|
|
CONFIG_USB_FUNCTION_ACM=y
|
|
CONFIG_BOOTCOMMAND="detect_clara_rev ; run distro_bootcmd ; setenv stdin usbacm ; setenv stdout usbacm ; setenv stderr usbacm"
|
|
'';
|
|
}
|