Kontron Bootloader Environment Extensions; Bootloader Mass Storage Support; Qspi Flash; Table 44: Bootloader Environment Extensions - Kontron pITX-iMX8M User Manual

Hide thumbs Also See for pITX-iMX8M:
Table of Contents

Advertisement

7.7. Kontron Bootloader Environment Extensions

To support PITX-iMX8M board properly, Kontron adds some environment variables to the standard set of variables
provided by mainline U-Boot. These variables are shown below.

Table 44: Bootloader Environment Extensions

Variable
Value
board_name
pitx-imx8m
board_serial
UTD080002
cpu
armv8
eth1addr
From I210/I211 iNVM
ethaddr
From EEPROM
fdt_addr_r
0x43000000
kernel_addr_r
0x40480000
pxefile_addr_r
0x40480000
ramdisk_addr_r
0x44000000
fdtfile
pitx-imx8m_hdmi.dtb
hw_rev
L130
scriptaddr
0x40400000
serial#
From SoC
soc
imx8m
soc_type
imx8mq
vendor
kontron
video_off
no
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
Description
Board serial number read from KEU EEPROM
CPU family
Ethernet port FEC1 MAC address
Ethernet port FEC0 MAC address
DTB load address used by distroboot
Kernel load address used by distroboot
PXE load address as required by distroboot spec.
Ramdisk load address used by distroboot
Default device tree file for the module
Board revision read from strappings
Script file load address used by distroboot
SoC internal serial number
SoC and SoC type
Enable video by default
www.kontron.com
pITX-iMX8M – Rev. 1.1
// 57

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the pITX-iMX8M and is the answer not in the manual?

Table of Contents