LS1046AFRWY secure boot is not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1046AFRWY secure boot is not work

322 Views
hhh_ccc
Contributor I

Hi Team,

    I try to enable secure boot on LS1046AFRWY, and SDK is LSDK-20.04.

    I follow the 61.4 and 6.1.5 sections to enanble and run secure boot:

  • Generate fuse provisioning firmware and program it into emmc flash.please refer the input_fuse_file(typically OPTMK, SRKH, ITS=1).
  • run the provisioning  image on board:
  •  check error code

 

 => md 1ee020c 1
01ee020c: 0c000000                               ....
=> ​

 

  • Check initial SNVS state:

 

=> md 0x1e90014
01e90014: 00090080                               ....
=> <INTERRUPT>

 

  • Display and verify that the SRKH registers:

 

=> md 0x01E80234 32
01e80234: ffffffff ffffffff ffffffff ffffffff    ................
01e80244: ffffffff ffffffff ffffffff ffffffff    ................
01e80254: 9ab6c466 ca50200c cd2c424d 6759d6c0    f.... P.MB,...Yg
01e80264: 18833bbf 2e8464fe 8d9b84ab 0e3a3498    .;...d.......4:.
01e80274: 00000000 00000000 00000000 00000000    ................
01e80284: 00000000 ffffffff ffffffff ffffffff    ................
01e80294: ffffffff ffffffff ffffffff ffffffff    ................
01e802a4: ffffffff 00000000 00000000 00000000    ................
01e802b4: 00000000 00000000 00000000 00000000    ................
01e802c4: 00000000 00000000 00000000 00000000    ................
01e802d4: 00000000 00000000 00000000 00000000    ................
01e802e4: 00000000 00000000 00000000 00000000    ................
01e802f4: 00000000 00000000                      ........

 

     and then program firmware_ls1046afrwy_uboot_sdboot_secure.img (flex-builder -i mkfw -m ls1046afrwy -b sd -s) into emmc flash, however it doesn't work and stop with no log.

 

    => reset 
    resetting ...

 

 

  Can you help to check this why it doesn't wok?

 

input_fuse_file:

inpu_fuse_file-01.png

inpu_fuse_file-02.png

 

 

0 Kudos
Reply
1 Reply

313 Views
yipingwang
NXP TechSupport
NXP TechSupport

In RCW file components/firmware/rcw/ls1046afrwy/NN_NNQNNPNP_3040_0506/rcw_1600_sdboot_sben.rcw, please modify "BOOT_HO" to 0, then rebuild firmware image.

$ flex-builder -c rcw -m ls1046afrwy

$ flex-builder -c atf -m ls1046afrwy -b sd -s

$ flex-builder -i mkfw -m ls1046afrwy -b sd -s

0 Kudos
Reply