pITX-iMX8M – User Guide Rev. 1.4
www.kontron.com
// 62
7.8.2.
SD Card and eMMC Devices
eMMC and SD card are accessed using the "mmc" command
Example: Load 256 blocks from eMMC
=> mmc dev 1
=> mmc read ${loadaddr} 0 100
7.8.3.
USB Storage Device
USB storage devices are accessed using "usb" command
Example: Load bootloader update file from USB thumb device
=> usb start
=> usb dev 0
=> fatload usb 0:1 $loadaddr
Image
7.9.
Bootloader File System Support
U-Boot for the pITX-iMX8M provides support for FAT and EXT4 file systems. EXT4 support also includes EXT2 and
EXT3 formatted file systems. There are file system specific commands available to list file system contents (ext2ls,
fatls) and load a given file into board memory (ext2load, fatload). However, U-Boot also provides generic commands
("ls" and "load"), that will detect the file system on the device and use appropriate file system functions
automatically.
Example: Show/boot folder contents from SD card file system
ls mmc 0:2 /boot
<DIR> 4096 .
<DIR> 4096 ..
23578632 Image-4.19.35-1.1.0+g10e5efaa3776
185372 config-4.19.35-1.1.0+g10e5efaa3776
5100327 System.map-4.19.35-1.1.0+g10e5efaa3776
728843 Module.symvers-4.19.35-1.1.0+g10e5efaa3776
<SYM> 33 Image
load mmc 0:2 ${loadaddr} /boot/Image
23578632 bytes read in 180 ms (124.9 MiB/s)
7.10.
Bootloader Update
Bootloader update on PITX-iMX8M is based on the distroboot feature implemented in u-boot. A new bootloader
image is provided by Kontron on an USB thumb device containing a scriptfile and update images in the dedicated
"update_pitx" folder.
After USB thumb device has been attached to the module, the update is applied by typing ‘run usb_boot’ from the
console, as would be used for a standard distroboot installation. U-Boot will find the update script in the
update_pitx folder and install the new bootloader image on the current boot device (either eMMC or SD card).
=> run usb_boot
It is recommended to use only the update script for bootloader update. This ensures that all
necessary installation images are checksum controlled and copied to the appropriate location in QSPI
flash.
Summary of Contents for 44011-0208-13-2
Page 1: ...USER GUIDE pITX iMX8M User Guide Rev 1 4 Doc ID 1064 7940...
Page 2: ...pITX iMX8M User Guide Rev 1 4 This page has been intentionally left blank...
Page 23: ...pITX iMX8M User Guide Rev 1 4 www kontron com 23 4 3 Block Diagram Figure 3 Block Diagram...
Page 24: ...pITX iMX8M User Guide Rev 1 4 www kontron com 24...