• Switch to SD:
=>qixis_reset sd
• Switch to eMMC:
=>qixis_reset emmc
3.1.4.2 Option 1 - Deploy LS1028A BSP images using removable
storage device
Given below are the steps to deploy LS1028A BSP images on to the reference board using a removable storage device (SD/USB/
SATA). Option 1 can be used when the user has access to a local Linux host machine and to a local reference board. For this
option, the storage device is plugged into the host machine and programmed. Once the programming is complete, the storage
device is removed from the host machine and then inserted into the reference board.
1. Connect the removable storage device to the local Linux host machine.
2. The boot partition and rootfs images that were assembled during “Download and assemble LS1028A BSP images” will
be available under “flexbuild_<version>” directory on the host machine. The images have following naming format:
• Boot partition:
—
bootpartition_LS_arm64_<version> or bootpartition_LS_arm64_<version>.tgz (64-bit)
• rootfs:
—
rootfs_ubuntu_bionic_LS_arm64 or rootfs_ubuntu_bionic_LS_arm64.tgz (64-bit)
3. Setup the environment for flex-installer to run:
$ cd flexbuild
$ source setup.env
4. Execute flex-installer with appropriate arguments to deploy LS1028A BSP images to the storage device.
For example:
$ flex-installer -b bootpartition_arm64_lts_<version>.tgz -r build/images/
rootfs_ubuntu_bionic_arm64_<timestamp>.tgz -d /dev/sdX
• The SD/USB/SATA storage drive in the Linux PC is detected as /dev/sdX, where X is a letter such as a, b, c.
Make sure to choose the correct device name, because data on this device will be replaced.
• Use the command cat /proc/partitions to see a list of devices and their sizes to make sure that the correct
device names have been chosen.
• If the Linux host machine supports read/write SD card directly without an extra SD card reader device, the
device name of SD card is typically mmcblk0.
WARNING
5. After a successful installation, the message “installation finished successfully” appears. Execute the following command
to unmount all mounted partitions of the target device.
Example:
$ sudo umount /run/media/sdX
6. Unplug removable storage device from the Linux host and plugin into the reference board.
LS1028A BSP Quick Start
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
19
Summary of Contents for Layerscape LS1028A BSP
Page 135: ......