CL-SOM-iMX7: U-Boot: Firmware Update
Updating from TFTP server
- Setup a TFTP server
- Put the firmware binary image cl-som-imx7-firmware from U-Boot package for CL-SOM-iMX7 in the root directory of the TFTP server
- Setup U-Boot networking:
- for dynamic IP configuration:
CL-SOM-iMX7 # dhcp
- or for static IP configuration:
CL-SOM-iMX7 # setenv ipaddr <ip address>
- Setup the TFTP server ip address:
CL-SOM-iMX7 # setenv serverip <server ip>
- Download the firmware binary into the memory:
CL-SOM-iMX7 # tftpboot ${loadaddr} cl-som-imx7-firmware
- Proceed to Flashing images section
Flashing images
- Make U-Boot probe the on-board SPI flash:
CL-SOM-iMX7 # sf probe
- Erase the on-board SPI flash:
CL-SOM-iMX7 # sf erase 0 ${ubootsize}
- Write the firmware image into the on-board SPI flash:
CL-SOM-iMX7 # sf write ${loadaddr} 0 ${ubootsize}
- Reset the CL-SOM-iMX7 evaluation platform.
Default environment
It is recommended to set default environment after updating the U-Boot version:
CL-SOM-iMX7 # env default -a CL-SOM-iMX7 # saveenv