Difference between revisions of "iMX6 TinyRex Ultra Updating SPI Bootloader"
Line 2: | Line 2: | ||
[[Category:iMX6 TinyRex Ultra]] | [[Category:iMX6 TinyRex Ultra]] | ||
<!-- --> | <!-- --> | ||
− | iMX6 TinyRex Base Board contains SPI Flash memory which can be used for bootloader storage and act as an alternative to the default SD card firmware location. This guide shows how to flash U-Boot and configure it for SPI memory. An option to update | + | iMX6 TinyRex Base Board contains SPI Flash memory which can be used for bootloader storage and act as an alternative to the default SD card firmware location. This guide shows how to flash U-Boot and configure it for SPI memory. An option to update eFuses in an existing module to use SPI memory by default is possible as well.<br /><br /> |
''''' Recommended HW: ''''' | ''''' Recommended HW: ''''' |
Revision as of 07:20, 26 April 2021
iMX6 TinyRex Base Board contains SPI Flash memory which can be used for bootloader storage and act as an alternative to the default SD card firmware location. This guide shows how to flash U-Boot and configure it for SPI memory. An option to update eFuses in an existing module to use SPI memory by default is possible as well.
Recommended HW:
- PC with USB port
- Voipac iMX6 TinyRex Development kit in Ultra configuration
- USB to Micro-USB cable
- Ethernet cable
Recommended SW:
- Serial line terminal
- Appropriate binary file
- TFTP server with the image file stored
Procedure
Note: In case of booting malfunction, follow USB Booting steps first to load the firmware from PC.
Stop autoboot in serial line terminal. Copy and paste commands separately to download appropriate bootloader file from TFTP server:
setenv ipaddr 192.168.1.150 setenv serverip 192.168.1.75 mw.b 0x10800000 0xFF 0x80000 tftp 0x10800000 u-boot-imx6-tinyrexultra-2.3.imx; sf probe 0:0;sf erase 0x0 0x80000;sf write 0x10800000 0x400 0x7fc00
The bootloader is written to Base Board SPI Flash after automatic download from the TFTP Server:
600px
Reset the board. iMX6 TinyRex Module will start booting from SPI Flash. The bootloader will start to download Image from TFTP server by default:
600px
To change bootloader environment, stop autoboot:
600px