pico_imx8mq_kernel_imx_4.14.98_2.0.0_ga - TechNexion/u-boot-tn-imx GitHub Wiki

  • Compile Kernel:

make tn_imx8_defconfig
make -j4

It generates:

Kernel image:
(under linux source directory: /arch/arm64/boot/)

  • Image : linux kernel binary

Device tree blobs:
(under linux source directory: /arch/arm64/boot/dts/freescale/)

  • imx8mq-pico-pi.dtb : device tree file for HDMI output
  • imx8mq-pico-pi-dcss-ili9881c.dtb : device tree file for MIPI-DSI panel(ili9881) output
  • imx8mq-pico-pi-m4.dtb : device tree file with enabled cortex-m4
  • imx8mq-pico-pi-voicehat.dtb : device tree file with voicehat support

Place Image and *.dtb in the first FAT partition of eMMC/SD.

Specify DTB to be loaded in kernel:

In u-boot prompt:

u-boot=> fatls mmc 0
 18104832   Image
    42315   imx8mq-pico-pi.dtb
    45821   imx8mq-pico-pi-voicehat.dtb

u-boot=> setenv fdt_file imx8mq-pico-pi.dtb
u-boot=> saveenv