EasyManua.ls Logo

NXP Semiconductors Layerscape LS1028A BSP - Page 26

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...
Build LS1028A BSP composite firmware and boot partition
LS1028A BSP composite firmware consists of atf bl2, atf bl3 fip frimware, bootloader environment, secure headers, Ethernet
MAC/PHY firmware, dtb, kernel and tiny ramdisk rfs, etc. This composite firmware can be programmed at offset 0x0 in flash device
or at offset block# 8 in SD/eMMC card.
To generate LS1028A BSP composite firmware for Layerscape platform, directly run the following command:
Usage:
$ flex-builder -i mkfw -m <machine> -b <boottype> [-B <bootloader>] [-s]
Examples:
$ flex-builder -i mkfw -m ls1028ardb -b xspi
firmware_ls1028ardb_uboot_xspiboot.img will be generated.
$ flex-builder -i mkfw -m ls1028ardb -b xspi -s
firmware_ls1028ardb_uboot_xspiboot_secure.img will be generated.
$ flex-builder -i mkfw -m ls1028ardb -b sd
firmware_ls1028ardb_uboot_sdboot.img will be generated.
$ flex-builder -i mkfw -m ls1028ardb -b sd -s
firmware_ls1028ardb_uboot_sdboot_secure.img will be generated.
Similarly, the following composite firmware can be generated with the same usage of flex-builder command:
firmware_ls1028aqds_uboot_sdboot.img
firmware_ls1028aqds_uboot_sdboot_secure.img
firmware_ls1028aqds_uboot_xspiboot.img
firmware_ls1028aqds_uboot_xspiboot_secure.img
firmware_ls1028ardb_uboot_emmcboot.img
To generate LS1028A BSP boot partition tarball, run the command as below:
$ flex-builder -i mkbootpartition -a arm64
or
$ flex-builder -i mkbootpartition -a arm64 -s (for secure boot)
The command above will generate all needed images including kernel image, dtb, distro boot script, flex_linux_<arch>.itb, small
ramdiskrfs, etc. Flex-builder automatically builds the dependent images if they are not present.
How to build application components in Flexbuild
The following commands are some examples of building application components.
Usage:
$ flex-builder -c <component> -a <arch> # build single application component for specified <arch>
Example:
$ flex-builder -c apps # build all apps components for arm64 arch
$ flex-builder -c tsntool # build tsntool component for arm64 arch
$ flex-builder -c wayland # build wayland component for arm64 arch
$ flex-builder -c weston # build weston component for arm64 arch
$ flex-builder -c cst # build cst component, needed for secure boot
(arm64 is the default arch if -a <arch> is not specified)
To add new application component in Flexbuild, follow the steps below:
1. Add new <component> to apps_repo_list and set CONFIG_BUILD_<component>=y in configs/build_xx.cfg.
LS1028A BSP user guide
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
26
NXP Semiconductors

Table of Contents

Related product manuals