Storage Device Commands in Linux
USB $ flex-installer -i pf -d /dev/sdX
SATA $ flex-installer -i pf -d /dev/sdX
SD $ flex-installer -i pf -d /dev/mmcblk0
eMMC $ flex-installer -i pf -d /dev/mmcblk1
• The 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.
WARNING
6. Download and deploy two tarballs (boot partition and Ubuntu userland) to USB/SATA/SD storage device. These tarballs
were assembled during the “Download and Assemble BSP Images” step.
Storage Device Commands in Linux
USB
a. $ cd /run/media/sdX3
b. Download bootpartition_<arch>_<version>.tgz and
rootfs_ubuntu_<codename>_<arch>_<timestamp>.tgz using the wget or
scp command.
c. $ flex-installer -b bootpartition_<arch>_lts_<version>.tgz -r
rootfs_ubuntu_<codename>_<arch>_<timestamp>.tgz -d /dev/sdX
SATA
a. $ cd /run/media/sdX3
b. Download bootpartition_<arch>_<version>.tgz and
ubuntu_<codename>_<arch>_rootfs_<timestamp>.tgz using the wget or
scp command.
c. $ flex-installer -b bootpartition_<arch>_lts_<version>.tgz -r
rootfs_ubuntu_<codename>_<arch>_<timestamp>.tgz -d /dev/sdX
SD
a. $ cd /run/media/mmcblk0p3
b. Download bootpartition_<arch>_<version>.tgz and
ubuntu_<codename>_<arch>_rootfs_<timestamp>.tgz using the wget or
scp command.
c. $ flex-installer -i install -b
bootpartition_<arch>_lts_<version>.tgz -r
rootfs_ubuntu_<codename>_<arch>_<timestamp>.tgz -d /dev/mmcblk0
eMMC
a. $ cd /run/media/mmcblk1p3
b. Download bootpartition_<arch>_<version>.tgz and
ubuntu_<codename>_<arch>_rootfs_<timestamp>.tgz using the wget or
scp command.
c. $ flex-installer -i install -b
bootpartition_<arch>_lts_<version>.tgz -r
rootfs_ubuntu_<codename>_<arch>_<timestamp>.tgz -d /dev/mmcblk1
LS1028A BSP user guide
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
22
NXP Semiconductors