Difference between revisions of "IOT-GATE-iMX8 and SBC-IOT-iMX8: U-Boot: Update"
imported>Uri.mashiach |
|||
Line 1: | Line 1: | ||
==Introduction== | ==Introduction== | ||
− | U-boot version 2 | + | U-boot version 3.2 or above is required for running the latest Debian and Yocto images. |
− | == | + | ==Checking current U-Boot version== |
− | * U-Boot version | + | * U-Boot version is displayed during the boot sequence:<br> |
− | <span style="background:lightgray">U-Boot | + | <span style="background:lightgray">U-Boot 2021.04-iot-gate-imx8-<span style="background:yellow">3.2</span> |
− | * U-Boot version can be retrieved with the version command: | + | * U-Boot version can be retrieved with the "version" command: |
<span style="background:lightgray"> | <span style="background:lightgray"> | ||
IOT-GATE-iMX8 => version<br> | IOT-GATE-iMX8 => version<br> | ||
− | U-Boot | + | U-Boot 2021.04-iot-gate-imx8-<span style="background:yellow">3.2 |
− | <span style="background:lightgray"> | + | <span style="background:lightgray"></span> |
− | |||
− | |||
− | </span> | ||
==Updating U-Boot== | ==Updating U-Boot== | ||
* Download the latest U-Boot binary image from the u-boot section of the [https://www.compulab.com/products/iot-gateways/iot-gate-imx8-industrial-arm-iot-gateway/#devres IOT-GATE-iMX8 resources]. | * Download the latest U-Boot binary image from the u-boot section of the [https://www.compulab.com/products/iot-gateways/iot-gate-imx8-industrial-arm-iot-gateway/#devres IOT-GATE-iMX8 resources]. | ||
* Extract the image archive file. | * Extract the image archive file. | ||
− | * | + | * Deploy the image ({{filename|iot-gate-imx8_uboot-update.img}}) to a USB flash drive. |
− | + | <pre>dd if=iot-gate-imx8_uboot-update.img of=/dev/sdX</pre> | |
* Plug the USB flash drive into the '''front panel''' USB port (located near the power button). | * Plug the USB flash drive into the '''front panel''' USB port (located near the power button). | ||
* Restart the IOT-GATE-iMX8. | * Restart the IOT-GATE-iMX8. | ||
− | * | + | * Wait for '''''SUCCESS''''' message |
− | + | * Extract the USB flash drive and restart the device | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{Important|U-Boot update failure can lead to a state of un-bootable device.<br> | + | {{Important|U-Boot update failure can lead to a state of the un-bootable device.<br> |
In that case [[IOT-GATE-iMX8 and SBC-IOT-iMX8: U-Boot: Recovery|U-Boot recovery]] is needed.}} | In that case [[IOT-GATE-iMX8 and SBC-IOT-iMX8: U-Boot: Recovery|U-Boot recovery]] is needed.}} |
Latest revision as of 15:13, 6 June 2023
Introduction
U-boot version 3.2 or above is required for running the latest Debian and Yocto images.
Checking current U-Boot version
- U-Boot version is displayed during the boot sequence:
U-Boot 2021.04-iot-gate-imx8-3.2
- U-Boot version can be retrieved with the "version" command:
IOT-GATE-iMX8 => version
U-Boot 2021.04-iot-gate-imx8-3.2
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.
- Deploy the image (iot-gate-imx8_uboot-update.img) to a USB flash drive.
dd if=iot-gate-imx8_uboot-update.img of=/dev/sdX
- Plug the USB flash drive into the front panel USB port (located near the power button).
- Restart the IOT-GATE-iMX8.
- Wait for SUCCESS message
- Extract the USB flash drive and restart the device
U-Boot update failure can lead to a state of the un-bootable device. In that case U-Boot recovery is needed. |