Flashing Debian Image

1. Hardware Details

Carrier I-Pi SMARC Plus
Module LEC-iMX8MP

2. Software Details

Debian Ver 12
Codename Bookworm
Kernel 6.6.3
U-Boot 2023.04
Host OS Ubuntu 22.04 or Debian 12

3. Flashing the Image and Booting

3.1 SD Boot

  1. On a linux host machine, insert the micro SD card (through an USB adapter).

  2. Use the lsblk and dmesg commands to identify the device node of the microSD card.

  3. Copy the release image to the designated folder

  4. Unzip and flash the image to SD card as below:

    $ unzip adlink-lec-imx8mp-debian-bookworm_V2_R1_250226.zip
    $ cd adlink-lec-imx8mp-debian-bookworm_V2_R1_250226
    $ sudo dd if=adlink-lec-imx8mp-debian-bookworm_V2_R1_250226.wic of=/dev/sd[X] bs=32M
    $ sync
  • Replace /dev/sd[X] with the actual device node of the microSD card.
  • SD card of minimum size 16GB is required for flashing the image

3.2 eMMC Boot

Download uuu utility

Boot into Recovery Mode

  • Set the boot switch into recovery mode.
  • Connect USB OTG cable to host.
  • Power on the board.

Flash image to eMMC

  • Download the image and bootloader files for Debian by clicking here.

  • Extract adlink-lec-imx8mp-debian-bookworm_V2_R1_250226.zip and adlink-lec-imx8mp-debian-bookworm_V2_R1_250226_UBoot.zip to obtain the WIC and U-Boot binaries. Copy both files into a single folder.

    Then, flash the WIC image to eMMC using the following method:

    $ sudo uuu -b emmc_all adlink-lec-imx8mp-debian-bookworm_V2_R1_250226_UBoot.bin adlink-lec-imx8mp-debian-bookworm_V2_R1_250226.wic