EasyManua.ls Logo

NXP Semiconductors Layerscape LS1028A BSP - Page 30

NXP Semiconductors Layerscape LS1028A BSP
136 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Finally, install bootpartition_arm64_lts_<version>.tgz and rootfs_ubuntu_<codename>_<arch>.tgz to SD/USB/SATA
storage drive on LS1043AXX machine by flex-installer as below:
$ flex-installer -b bootpartition_LS_arm64_<version>.tgz -r build/rfs/
rootfs_ubuntu_bionic_LS_arm64 -d /dev/sdX
How to install distro to SD/USB/SATA storage drive
Use the LS1028A BSP flex-installer to install all the release binaries and distro userland onto a storage media (e.g. SD/eMMC
card, USB/SATA disk) on the Linux host machine or on the target board.
Follow the instructions below:
Step 1: Plug SD/USB/SATA storage device to Linux Host machine or target board
Step 2: Install LS1028A BSP distro
If the prebuilt distro tarball generated by Flexbuild is available on Linux host machine, run the following command:
$ flex-installer -b bootpartition_LS_arm64_lts_4.14.tgz -r rootfs_ubuntu_bionic_LS_arm64.tgz -m
ls1028ardb -d /dev/sdx
sdx should be the actual device name on the host machine, for example: sdb, sdc, mmcblk0, etc.
NOTE
If the user wants to modify source code and build a custom LS1028A BSP distro with flexbuild, use the commands below on
the Linux host machine:
$ flex-builder -c linux:custom -a <arch> # customize kernel config in interactive menu
$ flex-builder -c linux -a <arch>
$ flex-builder -i mkfw -m <machine> -b <boottype>
$ flex-builder -i mkrfs -a <arch>
$ flex-builder -c apps -a <arch>
$ flex-builder -i merge-component -a <arch>
$ flex-builder -i mkbootpartition -a <arch>
$ flex-installer -b build/images/bootpartition_LS_arm64_lts_4.14 -r build/rfs/
rootfs_ubuntu_bionic_LS_arm64 -d /dev/sdx
If the user wants to install disrto rootfs directly onto SD/USB/SATA disk on QorIQ board on which Linux is unavailable,
download the prebuilt lsdk_linux_<arch>_LS_tiny.itb image using the command:
$ wget https://www.nxp.com/lgfiles/sdk/ls1028a_bsp_03/lsdk_linux_arm64_LS_tiny.itb
Optionally, locally build it using the command below:
$ flex-builder -i mklinux -a <arch> to generate lsdk_linux_arm64_LS_tiny.itb
Put lsdk_linux_arm64_LS_tiny.itb to a TFTP service directory, then download it to the target board under U-Boot prompt as
below:
=> tftp a0000000 lsdk_linux_arm64_LS_tiny.itb
=> bootm a0000000#<board-name>
The <board-name> is: ls1028aqds or ls1028ardb.
After booting and logging in to Linux on the target board, download the prebuilt distro tarballs generated by Flexbuild and
install using the commands below:
$ flex-installer -i pf -d /dev/sdx
$ cd /run/media/{mmcblk0p3 or sdx3}, then download distro images to SD/USB/SATA storage disk via
LS1028A BSP user guide
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
30
NXP Semiconductors

Table of Contents

Related product manuals