buildroot/board/kontron/pitx-imx8m
Heiko Thiery 5bdf0799df board/kontron/pitx-imx8m: add U-Boot 2022.04 patch
The patch is required to fix an issue in U-Boot for linking
the mkeficapsule tool against -luuid and -lgnutls.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/2720001065

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-07-19 22:45:30 +02:00
..
patches/uboot/2022.04 board/kontron/pitx-imx8m: add U-Boot 2022.04 patch 2022-07-19 22:45:30 +02:00
extlinux.conf board/kontron/pitx-imx8m: use extlinux instead of U-Boot boot script 2022-01-22 15:07:23 +01:00
genimage.cfg configs/kontron_pitx_imx8m: switch to upstream U-Boot 2022-05-13 18:59:55 +02:00
post-build.sh board/kontron/pitx-imx8m: use extlinux instead of U-Boot boot script 2022-01-22 15:07:23 +01:00
readme.txt configs/kontron_pitx_imx8m: new defconfig 2021-06-29 21:27:58 +02:00

Kontron pitx-imx8m
==================

https://www.kontron.com/produkte/pitx-imx8m/p155258


How to build it
===============

Configure buildroot:

  $ make kontron_pitx_imx8m_defconfig

Change settings to fit your needs (optional):

  $ make menuconfig

Compile everything and buildr the rootfs image:

  $ make


Result of the build
===================

After building, the output/images directory contains:

  output/images/
    ├── bl31.bin
    ├── boot.scr
    ├── ddr_fw.bin
    ├── Image
    ├── imx8-boot-sd.bin
    ├── imx8mq-kontron-pitx-imx8m.dtb
    ├── lpddr4_pmu_train_fw.bin
    ├── rootfs.ext2
    ├── rootfs.ext4 -> rootfs.ext2
    ├── rootfs.tar
    ├── sdcard.img
    ├── signed_hdmi_imx8m.bin
    ├── u-boot.bin
    ├── u-boot.itb
    ├── u-boot-nodtb.bin
    ├── u-boot-spl.bin
    └── u-boot-spl-ddr.bin


Flashing the SD card image
==========================

To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC)

  $ sudo dd if=output/images/sdcard.img of=<your-sd-device>


Preparing the board
===================

 * Connect a serial line to the board
 * Insert the SD card
 * Make sure the boot source selection DIP switches are set correctly
  * SW1 1-4 OFF
  * SW1 2-3 OFF
 * Power-up the board


Booting the board
=================

By default the bootloader will search for the first valid image, starting
with the internal eMMC. To make sure the bootloader loads bootscript from
the correct location (SD card) set the boot_targets environment variable:

  $ setenv boot_targets mmc1