
wget or scp command
$ flex-installer -b bootpartition_LS_arm64_lts_<version>.tgz -r rootfs_ubuntu_bionic_LS_arm64.tgz -
d /dev/sdX
Step 3: Power on or reboot the target board after finishing the distro installation, the system will enter boot loader (U-Boot) and
automatically scan boot configuration script from the attached SD/USB/SATA disk and boot the target LS1028A BSP distro if found,
otherwise it falls back to boot from Flexspi-NOR flash with tiny ramdisk distro.
How to program firmware to SD/Flexspi-NOR flash media
• For SD card (on all platforms):
1. Download the prebuilt image (take LS1028ARDB for example):
—
Option 1: Load the prebuilt image from SD card in U-Boot:
=> load mmc 0:2 a0000000 firmware_ls1028ardb_uboot_sdboot.img
—
Option 2: Download the prebuilt image using the
wget
command:
$ wget https://www.nxp.com/lgfiles/sdk/ls1028a_bsp_03/
firmware_ls1028ardb_uboot_sdboot.img
—
Option 3: To locally generate firmware_ls1028ardb_uboot_sdboot.img, run the command as below:
$ flex-builder -i mkfw -m ls1028ardb -b sd
2. Program
firmware_<machine>_uboot_sdboot.img
to SD card:
— Under U-Boot:
=> load mmc 0:2 a0000000 firmware_ls1028ardb_uboot_sdboot.img
=> mmc write a0000000 8 1fff8 (same on all platforms)
=> qixis_reset sd
— Under Linux:
$ flex-installer -f firmware_ls1028ardb_uboot_sdboot.img -d /dev/mmcblk0
• For Flexspi-NOR flash:
— On LS1028ARDB:
1. Download the image using the following options:
◦
Option 1: Load prebuilt image from SD card.
=> load mmc 0:2 a0000000 firmware_ls1028ardb_uboot_xspiboot.img
◦
Option 2: Download the prebuilt image using the
wget
command.
$ wget https://www.nxp.com/lgfiles/sdk/ls1028a_bsp_03/
firmware_ls1028ardb_uboot_xspiboot.img
◦
Option 3: To locally generate firmware_ls1028ardb_uboot_xspiboot.img, run the command as below:
$ flex-builder -i mkfw -m ls1028ardb -b xspi
How to build LS1028A BSP with Flexbuild
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
31
Содержание Layerscape LS1028A BSP
Страница 135: ......