
2. Program
firmware_ls1028ardb_uboot_xspiboot.img
to Flexspi-NOR flash:
=> sf probe 0:0
=> sf erase 0 +$filesize && sf write 0xa0000000 0 $filesize
— On LS1028AQDS:
1. Download the image using the following options:
◦
Option 1: Load prebuilt image from SD card.
=> load mmc 0:2 a0000000 firmware_ls1028aqds_uboot_xspiboot.img
◦
Option 2: Download the prebuilt image using the wget command.
$ wget https://www.nxp.com/lgfiles/sdk/ls1028a_bsp_03/
firmware_ls1028aqds_uboot_xspiboot.img
◦
Option 3: To generate
firmware_ls1028aqds_uboot_xspiboot.img
locally, run the command as below:
$ flex-builder -i mkfw -m ls1028aqds -b xspi
2. Program
firmware_ls1028aqds_uboot_xspiboot.img
to Flexspi-NOR flash:
=> sf probe 0:0
=> sf erase 0 +$filesize && sf write 0xa0000000 0 $filesize
3.3 Procedure to run secure boot
The following steps describe how to run secure boot on the LS1028A RDB/QDS board, after building the images.
1. Blow One Time Programmable Master Key (OTPMK).
a. Check initial SNVS state.
ccs::display_mem <sap chain position> 0x1e90014 4 0 4
88000900
The second nibble ‘8’ indicates that OTPMK is not blown.
b. Boot the board to U-Boot prompt.
c. Check the OTPMK value that should not to be blown.
md 0x1e90014
This shows the value as 8
8000900.
d. Write OTPMK fuse values on shadow registers.
md 1e90014
80000900
md 1e80024
00000000
You will see ‘0’ in the second nibble. No parity errors, that is, bits marked in read are all 0’s.
LS1028A BSP user guide
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
32
NXP Semiconductors
Содержание Layerscape LS1028A BSP
Страница 135: ......