![Kontron SMARC-sAL28 Скачать руководство пользователя страница 57](http://html1.mh-extra.com/html/kontron/smarc-sal28/smarc-sal28_user-manual_1996505057.webp)
SMARC-sAL28 User Guide. Rev. 1.0
// 57
env grep [-e] [-n | -v | -b] string [...]
search environment
env import [-d] [-t [-r] | -b | -c] addr [size] [var ...] import environment
env print [-a | name ...]
print environment
env run var [...]
run commands in an environment variable
env save
save environment
env set [-f] name [arg ...]
However, the legacy commands for environment handling are still available:
"setenv",
"editenv",
"printenv"
"saveenv".
U-Boot standard environment variables are set up for the SMARC_sAL28 module as shown below.
Table 30: Standard Environment Variables
Variable
Value
Description
baudrate
115200
Serial line baudrate
bootcmd
run hdpload; run distro_bootcmd
Try booting from devices defined in the
boot_targets variable
bootdelay
2
Wait 2 seconds before executing bootcmd
boot_targets
mmc1 mmc0 nvme0 usb0 dhcp pxe
Boot devices used by distro_bootcmd to
boot from
loadaddr
0x81000000
Default memory location for OS boot
A typical user modification would be to set the variable "bootcmd" to change OS boot commands.
9.6.
Bootloader Environment Update
On the SMARC-sAL28 it is possible to update the U-Boot environment separately.
This enables the user to either update from a previous version of the official Kontron sAL28 U-Boot environment
(default U-Boot settings), or restore the default in case of problems.
Update procedure:
Download the official sAL28 U-Boot environment from the Kontron EMD Customer Section.
Put the file into the root directory of a FAT or EXT formatted USB drive.
Start the sAL28 system and stop the boot process at the U-Boot prompt.
Run the following commands to load the file and flash it into the correct flash memory address (example
for R10):
usb start && load usb 0:1 $loadaddr NXP LS1028-env-r10.bin
sf probe && sf update $loadaddr 0x3e0000 $filesize
After reset the updated environment will be active.
9.7.
Bootloader Mass Storage Support
U-Boot provides support to read and write from mass storage devices like
QSPI flash
Содержание 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...