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:
Ivan Nikolaenko 2023-01-18 14:49:38 +02:00
parent 26c9dbdc92
commit 75b6ec4775
No known key found for this signature in database
GPG key ID: E55095EF729BF2D7
15 changed files with 544 additions and 0 deletions

18
nxp/common/modules.nix Normal file
View 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;
}