Difference between revisions of "iMX6 OpenRex Ultra Updating SPI Bootloader"
Jump to navigation
Jump to search
(Created page with "Category:iMX6 OpenRex SBC Category:iMX6 OpenRex Ultra <!-- --> iMX6 OpenRex Single Board Computer contains SPI Flash memory which is used as a default bootloader stora...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Category:iMX6 OpenRex Ultra]] | [[Category:iMX6 OpenRex Ultra]] | ||
<!-- --> | <!-- --> | ||
− | iMX6 OpenRex Single Board Computer contains SPI Flash memory which is used as a default bootloader storage. This guide shows how to flash | + | iMX6 OpenRex Single Board Computer contains SPI Flash memory which is used as a default bootloader storage. This guide shows how to flash U-Boot and configure it for SPI memory.<br /><br /> |
''''' Recommended HW: ''''' | ''''' Recommended HW: ''''' | ||
Line 12: | Line 12: | ||
''''' Recommended SW: ''''' | ''''' Recommended SW: ''''' | ||
* Serial line terminal | * Serial line terminal | ||
− | * [http://downloads.voipac.com/files/iMX6_OpenRex_SBC/software/uboot/binaries/u-boot-imx6- | + | * [http://downloads.voipac.com/files/iMX6_OpenRex_SBC/software/uboot/binaries/u-boot-imx6-openrexultra-2.4.imx Appropriate binary file] |
* TFTP server with the image file stored | * TFTP server with the image file stored | ||
== Procedure == | == Procedure == | ||
− | ''''' Note: ''''' In case of booting malfunction, follow [[iMX6 | + | ''''' Note: ''''' In case of booting malfunction, follow [[iMX6 OpenRex USB Booting|USB Booting steps]] first to load the firmware from PC.<br /><br /> |
Stop autoboot in serial line terminal. Copy and paste commands separately to download appropriate bootloader file from TFTP server: | Stop autoboot in serial line terminal. Copy and paste commands separately to download appropriate bootloader file from TFTP server: | ||
Line 26: | Line 26: | ||
sf write 0x10800000 0x400 0x7fc00 | sf write 0x10800000 0x400 0x7fc00 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | [[image:iMX6_OpenRex_SBC-SPI_bootloader_write. | + | [[image:iMX6_OpenRex_SBC-SPI_bootloader_write.png|580px]]<br /><br /> |
The bootloader is written to SPI Flash after automatic download from the TFTP Server:<br /> | The bootloader is written to SPI Flash after automatic download from the TFTP Server:<br /> | ||
− | [[image:iMX6_OpenRex_SBC-SPI_bootloader_written. | + | [[image:iMX6_OpenRex_SBC-SPI_bootloader_written.png|580px]]<br /><br /> |
Reset the board. iMX6 OpenRex SBC will start booting from SPI Flash. The bootloader will start to download Image from TFTP server by default:<br /> | Reset the board. iMX6 OpenRex SBC will start booting from SPI Flash. The bootloader will start to download Image from TFTP server by default:<br /> | ||
− | [[image:iMX6_OpenRex_SBC-SPI_bootloader_loaded. | + | [[image:iMX6_OpenRex_SBC-SPI_bootloader_loaded.png|580px]]<br /><br /> |
To change bootloader environment, stop autoboot:<br /> | To change bootloader environment, stop autoboot:<br /> | ||
− | [[image:iMX6_OpenRex_SBC-SPI_bootloader_loaded_stopped. | + | [[image:iMX6_OpenRex_SBC-SPI_bootloader_loaded_stopped.png|580px]] |
Latest revision as of 17:35, 31 August 2021
iMX6 OpenRex Single Board Computer contains SPI Flash memory which is used as a default bootloader storage. This guide shows how to flash U-Boot and configure it for SPI memory.
Recommended HW:
- PC with USB port
- Voipac iMX6 OpenRex SBC 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-openrexultra-2.4.imx; sf probe;sf erase 0x0 0x80000 sf write 0x10800000 0x400 0x7fc00
The bootloader is written to SPI Flash after automatic download from the TFTP Server:
Reset the board. iMX6 OpenRex SBC will start booting from SPI Flash. The bootloader will start to download Image from TFTP server by default: