As an alternative to using the standard recovery mode button, and loading of TEZI via the USB interface, TEZI may be loaded directly from an SD Card. In addition, the update image to be loaded may also be programmed via the SD Card, and setup for autoloading, for a single step upgrade of the firmware.
- Desktop PC.
- A FAT formatted (e.g. FAT-32) SD Card.
- Download Easy Installer 5.3.0 or newer from Loading Toradex Easy Installer.
- Serial Debug cable connected
- Terminal Program (putty or similar)
Prepare the SD Card
Unzip Easy Installer into the root directory of the SD Card. You will see the following contents, or similar:
$ tree . ├── boot-tezi.scr ├── image.json ├── imx-boot ├── imx-boot-v10b ├── overlays.txt ├── recovery │ ├── uuu │ ├── uuu.auto │ ├── uuu.auto-v10b │ └── uuu.exe ├── recovery-linux.sh ├── recovery-windows.bat ├── tezi.itb ├── tezi.png ├── u-boot.bin └── wrapup.sh
Rename the file
boot.scr. This is the name used by the U-Boot bootloader.
Loading Easy Installer from the SD Card
As soon as you have
boot.scr in place:
- Have access to the U-Boot console through the serial port debug UART.
- Insert the SD Card onto the carrier board. The SD card has a door on a hinge. Slide the door to unlock it, and then flip the door open on the hinge. Place the SD card into the socket, and close the door. Slide the door to lock again.
- Power on the carrier board.
- Stop U-Boot from booting by pressing any key on your keyboard.
- Run the command
run disty_boot. It will try to boot from the list of boot sources, with SD Card being the first option.
- Easy Installer will boot. Use it as described on Toradex Easy Installer.
If an image is also provisioned on the SD card, and set to autoload, the image will immediate begin programming without further user intervention.
Refer to Toradex instructions for further details. However, on current BSP, the internal eMMC drive is the only boot source, and the SD card will not auto boot if installed. Thus the procedure described above to stop in u-boot is required.
Please sign in to leave a comment.