1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-15 07:29:41 +01:00
nixos-hardware/nxp
Ganga Ram 772de835d5 Remove buildUBoot function from U-Boot build
The buildUBoot function is intended for internal use and is dedicated
for Raspberry Pi platforms. With latest nixpkgs it is causing
build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch.

Now this function is not used for the U-Boot build.

More Information:
https://github.com/NixOS/nixpkgs/pull/311614
https://github.com/NixOS/nixpkgs/pull/146634

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-05-16 16:04:12 +00:00
..
common Update repository path for nxp/imx 2024-02-13 16:36:44 +00:00
imx8mp-evk Remove buildUBoot function from U-Boot build 2024-05-16 16:04:12 +00:00
imx8mq-evk Remove buildUBoot function from U-Boot build 2024-05-16 16:04:12 +00:00
imx8qm-mek nxp-imx8: drop kernel overlay 2023-05-05 09:22:26 +02:00
imx8qxp-mek nxp: imx8: Fix wrong paths to imx-uboot.nix file 2023-03-07 13:54:38 +02:00
README.md nxp imx8mp-evk/imx8mq-evk documentation 2024-02-28 08:54:14 +00:00

NXP i.MX8 SOC family support

1. Supported devices

2. How to use

2.1 For imx8qm-mek

Currently this NXP overlay is used for generating EFI-bootable NixOS images. I recommend to use Tow-Boot as a bootloader, but U-Boot from this overlay can also be used. U-Boot was tested separately from NixOS.

Code snippet example that enables imx8qm configuration:

{ nixos-hardware, }: {
  system = "aarch64-linux";
  modules = [
    nixos-hardware.nixosModules.imx8qm-mek
  ];
}

2.2 For imx8mq-evk/imx8mp-evk

This NXP overlay is used for generating sdimage. Current configuration uses uboot as a bootloader. It provides an options to use optee-os which is currently disabled. It can be enabled using enable-tee boolean argument avalable in imx8m<q/p>-boot.nix, which is false by default.

Code snippet example that enables 'imx8mp-evk/emx8mq-evk' configuration:

{ nixos-hardware, }: {
  system = "aarch64-linux";
  modules = [
    nixos-hardware.nixosModules.imx8mp-evk  #For imx8mp-evk
    #nixos-hardware.nixosModules.imx8mq-evk  #For imx8mq-evk
  ];
}