![Kontron SMARC-sAL28 Скачать руководство пользователя страница 58](http://html1.mh-extra.com/html/kontron/smarc-sal28/smarc-sal28_user-manual_1996505058.webp)
SMARC-sAL28 User Guide. Rev. 1.0
// 58
SD card
USB thumb device
9.7.1.
QSPI flash
QSPI flash is accessed using the "sf" command
Example: Load one sector (64K) from SPI flash
=> sf probe 0
=> sf read ${loadaddr} 0 10000
9.7.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
9.7.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 update_NXP LS1028_spl/u-boot-NXP LS1028_spl.bin
9.8.
Bootloader File System Support
U-Boot for the SMARC_sAL28 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:1 /boot
<DIR> 4096 .
<DIR> 4096 ..
<SYM> 48 imx7d-sAL28-ld101-m4.dtb
44034 devicetree-zImage-imx7d-sAL28-ld101-m4.dtb
43986 devicetree-zImage-imx7d-sAL28-ld101.dtb
<SYM> 33 zImage
<SYM> 45 imx7d-sAL28-ld101.dtb
<SYM> 45 imx7s-sAL28-ld101.dtb
6376512 zImage-4.1.29-fslc+g59b38c3
43998 devicetree-zImage-imx7s-sAL28-ld101.dtb
=> load mmc 0:1 ${loadaddr} /boot/zImage
6376512 bytes read in 536 ms (11.3 MiB/s)
9.9.
Bootloader Network Support
U-Boot provides support for both onboard Ethernet interfaces. The current interface can be selected by setting
"ethact" environment variable to either “enetc#0” or “enetc#1”.
Board specific MAC addresses are read from EEPROM during startup and environment variables are set
automatically. In case EEPROM contents is missing or corrupted, a "random" MAC address will be set to "ethaddr"
Содержание SMARC-sAL28
Страница 1: ...USER GUIDE 1 SMARC sAL28 Doc Rev 1 0 Doc ID 1064 6120...
Страница 2: ...SMARC sAL28 Rev 1 0 www kontron com 2 This page has been intentionally left blank...
Страница 22: ...SMARC sAL28 User Guide Rev 1 0 www kontron com 22 Figure 4 Bottom View 3 Product label 3...
Страница 28: ...SMARC sAL28 User Guide Rev 1 0 www kontron com 28...