UCM-iMX8M-Mini: U-Boot: Update

From Compulab Mediawiki
Jump to: navigation, search

Introduction

In order to run correctly, UCM-iMX8M-Mini Linux requires compatible u-boot version:

U-boot version Linux build version
1.3 1.x
2.0 2.x

Check U-Boot version

  • The U-Boot version string is displayed during boot. Also this string can be retrieved with the version command.

Example:

U-Boot 2020.04-ucm-imx8m-mini-2.0-5.4.24-2.1.0+g4979a99482 (Sep 08 2020 - 14:39:42 +0000)

Where: machine name is highlighted in blue; version number in yellow.

Updating U-Boot

Use an appropriate Linux image. Write the image to a micro-SD card and boot from it following the instruction. Issue the following command:

cl-uboot

Choose the block device to be flashed in the menu.

Note that with previous versions u-boot was stored in User partition of eMMC devices; to overwrite it, choose the destination boot device mmcblk2. Once the boot loader is updated successfully, the OS image can be updated as described here.