mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-10 02:51:10 +01:00
Add NXP i.MX8 SOC family support.
Currently there are two devices supported: * imx8qm-mek * imx8qxp-mek Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
This commit is contained in:
parent
26c9dbdc92
commit
75b6ec4775
15 changed files with 544 additions and 0 deletions
18
nxp/common/modules.nix
Normal file
18
nxp/common/modules.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
nixpkgs.overlays = [
|
||||
(import ./overlay.nix)
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_imx8;
|
||||
kernelParams = [ "console=ttyLP0,115200n8" ];
|
||||
loader.grub.enable = lib.mkDefault true;
|
||||
initrd.includeDefaultModules = lib.mkForce false;
|
||||
};
|
||||
|
||||
disabledModules = [ "profiles/all-hardware.nix" ];
|
||||
|
||||
hardware.deviceTree.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue