dotfiles/overlays/uboot/clara-hd.nix
magic_rb 4435cdfec7
Move out custom kernels and uboots into overlays
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-08-14 22:21:42 +02:00

21 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"
'';
}