![NXP Semiconductors ASUG Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/nxp-semiconductors/asug/asug_user-manual_1721768013.webp)
Example:
sudo ./fastboot_imx_flashall.sh -f imx8mn -a -e -u trusty -D /imx_pi9.0/evk_8mn/
Options explanation:
• -f imx8mn: Flashes images for i.MX 8M Nano EVK Board.
• -a: Only flashes slot a.
• -e: Erases user data after all image files are flashed.
• -D /imx_pi9.0/evk_8mn/: Images to be flashed are in the directory of /imx_pi9.0/evk_8mn/.
• -u trusty: Flashes the bootloader with Trusty OS enabled.
6 Booting
This chapter describes booting from MMC/SD.
6.1 Booting from eMMC/SD
6.1.1 Booting from SD/eMMC on the i.MX 8M Nano board
The following tables list the boot switch settings to control the boot storage.
Table 11. Boot device switch settings
Boot mode switch
SW1101 (from 1-4 bit)
download mode
1000
Table 12. Boot mode switch settings
Boot mode switch
SW1101 (from 1-4 bit)
eMMC boot
0100
• To boot from SD, change the board Boot_Mode switch to SW1101 1100 (from 1-4 bit).
• To boot from eMMC, change the board Boot_Mode switch to SW1101 0100 (from 1-8 bit).
The default environment in boot.img is booting from eMMC. To use the default environment in boot.img, do not set bootargs
environment in U-Boot.
To clear the bootargs environment being set and saved before, use the following command:
U-Boot > setenv bootargs
U-Boot > saveenv # Save the environments
bootargs environment is an optional setting for boota. The boot.img includes a default bootargs, which is used if
if there is no bootargs defined in U-Boot.
NOTE
6.1.2 Booting from SD/eMMC on the i.MX 8QuadXPlus MEK board
The following tables list the boot switch settings to control the boot storage.
NXP Semiconductors
Booting
Android
™
User's Guide, Rev. P9.0.0_2.3.2, 6 March 2020
User's Guide
13 / 31