
• Extract app components.
$ tar xvzf app_components_LS_arm64.tgz -C build/apps
• Extract kernel modules (e.g., cryptodev).
$ sudo tar xvzf lib_modules_LS_arm64_<kernel_version>.tgz -C build/rfs/
rootfs_ubuntu_bionic_LS_arm64/lib/modules
• Merge all components packages and kernel modules into target userland and compress ubuntu arm64 rootfs as .tgz
tarball.
$ flex-builder -i merge-component -a arm64
$ flex-builder -i compressrfs -a arm64
• Exit, if using Docker.
$ exit (optional, this command exits from docker when building in docker)
• If the Linux host machine is in a subnet that needs HTTP proxy to access external Internet, set environment
variable http_proxy and https_proxy as follows.
Add the following proxy settings in ~/.bashrc
# No authentication:
export http_proxy=http://<domain>:<port>
export https_proxy=http://<domain>:<port>
# With authentication:
export http_proxy=http://<account>:<password>@<domain>:<port>
export https_proxy=http://<account>:<password>@<domain>:<port>
# Set no_proxy variable to bypass proxy for some local servers:
export no_proxy="localhost,<local-server1>,<local-server2>"
NOTE
Only Ubuntu userland is the default file system with full system test (various firmwares and images are verified
based on Ubuntu userland) in formal LS1028A BSP release. Although other non-official userland (Debian, CentOS,
buildroot-based tiny distro, etc) can be generated and composed with the common LS1028A BSP boot partition
(containing Linux kernel, DTBs, distro boot scripts, etc) by flexbuild, that is optional part besides the formal Ubuntu
userland and there is no guarantee for other userlands as of now.
NOTE
3.1.4 Deploy LS1028A BSP images on board
This section assumes that the LS1028A BSP images have been assembled as given in “Download and assemble LS1028A BSP
images”. There are two options for deploying LS1028A BSP images on the reference board:
1. Use a removable storage device such as an SD card, connect it to a local Linux host machine and deploy LS1028A BSP
images on to the removable storage device. Then, connect this removable storage device to a reference board. This
option is typically useful when the user has local access to a reference board and has a local Linux host machine.
2. If the user does not have access to a local host machine and/or a local reference board, LS1028A BSP images can be
directly deployed to the storage device that is plugged into the board. This option is typically useful when a remote Linux
host server is used, and/or the user is accessing the reference board remotely. For this option, a network connection to
the reference board is required.
LS1028A BSP user guide
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
14
NXP Semiconductors
Содержание Layerscape LS1028A BSP
Страница 135: ......