Bootloader Mass Storage Support; Qspi Flash; Sd Card And Emmc Devices; Usb Storage Device - Kontron SMARC-sAMX8X User Manual

Table of Contents

Advertisement

Variable
Value
pcie_a_prsnt
yes
pcie_b_prsnt
yes
pcie_c_prsnt
yes
pwm_out_disable
yes
serial#
From EEPROM
Variables from the table above marked in bold are set automatically each time U-Boot
starts. They will override different settings possibly stored in persistent environment.

7.8. Bootloader Mass Storage Support

U-Boot provides support to read and write from mass storage devices like

QSPI flash

eMMC device
SD card
USB thumb device
7.8.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

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 update_sMX8X_spl/u-boot-sMX8X_spl.bin
www.kontron.com
Description
the appropriate device tree file
Enable/disable PCIE_A PRSNT line to reduce power consumption
Enable/disable PCIE_B PRSNT line to reduce power consumption
Enable/disable PCIE_C PRSNT line to reduce power consumption
Enable/disable PWM_OUT signal. When disabled, GPIO5 pin on
SMARC edge connector is used as GPIO.
Module serial number
SMARC-sAMX8X User Guide. Rev. 1.1
// 43

Advertisement

Table of Contents
loading

Table of Contents