{ pkgs, ... }@args: with pkgs; buildLinux ( args // rec { version = "6.12.20"; name = "imx8mp-linux"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = version; defconfig = "imx_v8_defconfig"; # https://github.com/NixOS/nixpkgs/pull/366004 # introduced a breaking change that if a module is declared but it is not being used it will faill. ignoreConfigErrors = true; kernelPatches = [ ]; autoModules = false; extraConfig = '' CRYPTO_TLS m TLS y MD_RAID0 m MD_RAID1 m MD_RAID10 m MD_RAID456 m DM_VERITY m LOGO y FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER n FB_EFI n EFI_STUB y EFI y VIRTIO y VIRTIO_PCI y VIRTIO_BLK y DRM_VIRTIO_GPU y EXT4_FS y USBIP_CORE m USBIP_VHCI_HCD m USBIP_HOST m USBIP_VUDC m ''; src = fetchFromGitHub { owner = "nxp-imx"; repo = "linux-imx"; # tag: lf-6.12.20-2.0.0 rev = "dfaf2136deb2af2e60b994421281ba42f1c087e0"; sha256 = "sha256-ITrmj3a5YfXh/PSRTi+Rlto5uEBIAWFWtkTsO1ATXIo="; }; } // (args.argsOverride or { }) )