![NXP Semiconductors ASUG Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/nxp-semiconductors/asug/asug_user-manual_1721768011.webp)
Table 9. Storage partitions (continued)
Partition type/index
Name
Start offset
Size
File system
Content
13
fbmisc
Follow
userdata
1 MB
N/A
For storing the state of lock
\unlock
14
vbmeta_a
Follow fbmisc
1 MB
N/A
For storing the verify boot's
metadata
15
vbmeta_b
Follow
vbmeta_a
1 MB
N/A
For storing the verify boot's
metadata
To create these partitions, use UUU described in the
Android
™
Quick Start Guide
(AQSUG), or use format tools in the prebuilt
directory.
The script below can be used to partition an SD Card and download images to them as shown in the partition table above:
$ cd ${MY_ANDROID}/
$ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f <soc_name> /dev/sdX
# <soc_name> can be imx8mn, imx8qxp.
• The minimum size of the SD card is 8 GB bytes.
• If the SD card is 8 GB, use
sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f
<soc_name> -c 7 /dev/sdX
to flash images.
• If the SD card is 16 GB, use
sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f
<soc_name> /dev/sdX
to flash images.
• If the SD card is 32 GB, use
sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f
<soc_name> -c 28 /dev/sdX
to flash images.
• /dev/sdX, the X is the disk index from 'a' to 'z', which may be different on each Linux PC.
• Unmount all the SD card partitions before running the script.
• Put related bootloader, boot image, system image, and vbmeta image in your current directory.
• This script needs simg2img tool to be installed on your PC. The simg2img is a tool that converts sparse system
image to raw system image on the host PC running Linux OS. The android-tools-fsutils package includes the
simg2img command for Ubuntu Linux.
• For more information, execute
./fsl-sdcard-partition.sh -h
to get the help information.
NOTE
5.1.2 Downloading images with UUU
UUU can be used to download all images into a target device. It is a quick and easy tool for downloading images. See the
Android
™
Quick Start Guide
(AQSUG) for detailed description of UUU.
5.1.3 Downloading images with fastboot_imx_flashall script
UUU can be used to flash the Android system image into the board, but it needs to make the board enter serial down mode first,
and make the board enter boot mode once flashing is finished.
A new fastboot_imx_flashall script is supported to use fastboot to flash the Android system image into the board. It is more flexible.
To use the new script, the board must be able to enter fastboot mode and the device must be unlocked. The table below lists the
fastboot_imx_flashall scripts.
NXP Semiconductors
Programming Images
Android
™
User's Guide, Rev. P9.0.0_2.3.2, 6 March 2020
User's Guide
11 / 31