Skip to content

Commit

Permalink
Merge pull request NixOS#619 from NixOS/nxp-overlay
Browse files Browse the repository at this point in the history
nxp-imx8: drop kernel overlay
  • Loading branch information
Mic92 authored May 11, 2023
2 parents 51559e6 + c84a8f2 commit fb13179
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
6 changes: 1 addition & 5 deletions nxp/common/modules.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{ pkgs, lib, ... }: {
nixpkgs.overlays = [
(import ./overlay.nix)
];

nixpkgs.hostPlatform = "aarch64-linux";

boot = {
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_imx8;
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-imx8.nix { });
kernelParams = [ "console=ttyLP0,115200n8" ];
loader.grub.enable = lib.mkDefault true;
initrd.includeDefaultModules = lib.mkForce false;
Expand Down
3 changes: 0 additions & 3 deletions nxp/common/overlay.nix

This file was deleted.

4 changes: 2 additions & 2 deletions nxp/imx8qm-mek/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, ... }:

{
nixpkgs.overlays = [
Expand All @@ -10,7 +10,7 @@
];

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 = {
Expand Down

0 comments on commit fb13179

Please sign in to comment.