IOT-GATE-iMX8 and SBC-IOT-iMX8: U-Boot: Update
Revision as of 06:55, 24 April 2022 by imported>Uri.mashiach
Introduction
U-boot version 2.0 or above is required for running the latest Debian and Yocto images.
Check U-Boot version
- U-Boot version and compilation date are displayed during boot:
U-Boot 2020.04-iot-gate-imx8-2.0 (Sep 03 2020 - 13:43:49 +0300)
- U-Boot version can be retrieved with the version command:
IOT-GATE-iMX8 => version
U-Boot 2020.04-iot-gate-imx8-2.0 (Sep 03 2020 - 13:43:49 +0300)
aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0
GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706
Updating U-Boot
- Download the latest U-Boot binary image from the u-boot section of the IOT-GATE-iMX8 resources.
- Extract the image archive file.
- Copy the image (iot-gate-imx8_uboot-image_3.0.bin) to the first partition of a USB flash drive.
The partition can be formatted either ext2/3/4 or FAT file system.
- Plug the USB flash drive into the front panel USB port (located near the power button).
- Restart the IOT-GATE-iMX8.
- Stop the boot process during the U-Boot auto-boot countdown.
- Write the new image onto internal storage
- If the original U-Boot version is 1.X, use the following commands:
IOT-GATE-iMX8 => usb reset IOT-GATE-iMX8 => load usb 0 ${loadaddr} iot-gate-imx8_uboot-image_3.0.bin && mmc dev 1 1 && mmc write ${loadaddr} 0x42 0xE00 IOT-GATE-iMX8 => reset
- If the original U-Boot version is 2.0 or above, use the following commands :
IOT-GATE-iMX8 => usb reset IOT-GATE-iMX8 => load usb 0 ${loadaddr} iot-gate-imx8_uboot-image_3.0.bin && mmc dev 2 1 && mmc write ${loadaddr} 0x42 0xE00 IOT-GATE-iMX8 => reset
U-Boot update failure can lead to a state of un-bootable device. In that case U-Boot recovery is needed. |