Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 611 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 611 Bytes

NixOS on NXP iMX8 MQuad platform

This flake enables cross-compilation of sdimage for NXP iMX8 MQuad evaluation kit from an x86 machine.

To generate an SD image run the following command:

 $> nix build .#packages.riscv64-linux.microchip-icicle-kit-<release/debug>

After successful compilation it generates sdimage ./result/nixos.img which can be programmed in sdcard to boot the board.

To program the sdimage use following command:

 $> sudo dd if=.result/nixos.img of=/dev/sd<x> bs=32M

Once image is programmed in the sdcard, put the sdcard in the card slot of the board and reboot.