mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
Merge pull request #619 from NixOS/nxp-overlay
nxp-imx8: drop kernel overlay
This commit is contained in:
commit
fb13179483
3 changed files with 3 additions and 10 deletions
|
@ -1,12 +1,8 @@
|
||||||
{ pkgs, lib, ... }: {
|
{ pkgs, lib, ... }: {
|
||||||
nixpkgs.overlays = [
|
|
||||||
(import ./overlay.nix)
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "aarch64-linux";
|
nixpkgs.hostPlatform = "aarch64-linux";
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_imx8;
|
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
|
||||||
kernelParams = [ "console=ttyLP0,115200n8" ];
|
kernelParams = [ "console=ttyLP0,115200n8" ];
|
||||||
loader.grub.enable = lib.mkDefault true;
|
loader.grub.enable = lib.mkDefault true;
|
||||||
initrd.includeDefaultModules = lib.mkForce false;
|
initrd.includeDefaultModules = lib.mkForce false;
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
final: prev: {
|
|
||||||
linux_imx8 = final.callPackage ./bsp/linux-imx8.nix { pkgs = final; };
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub.extraFiles = {
|
boot.loader.grub.extraFiles = {
|
||||||
"imx8qm-mek.dtb" = "${pkgs.linux_imx8}/dtbs/freescale/imx8qm-mek.dtb";
|
"imx8qm-mek.dtb" = "${pkgs.callPackage ../common/bsp/linux-imx8.nix { }}/dtbs/freescale/imx8qm-mek.dtb";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.deviceTree = {
|
hardware.deviceTree = {
|
||||||
|
|
Loading…
Reference in a new issue