LS1046A PBI

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

LS1046A PBI

Jump to solution
905 Views
renaud
Contributor IV

Question regarding the file board/freescale/ls1046ardb/ls1046ardb_qspi_pbi.cfg

The scrachpad register 2 (BOOTLOCPTR)

09570604 10000000

Why is the address (0x10000000) is not pointing to QSPI flash (0x40100000) where U-boot is supposed to be?

Is not is used to boot from QSPI?

 

Cheers,

Renaud

0 Kudos
1 Solution
875 Views
ufedor
NXP Employee
NXP Employee
0 Kudos
4 Replies
860 Views
renaud
Contributor IV

Thanks. I understand how it works.

When booting from QSPI, the QSPI is mapped to the OCRAM and RCW+PBI+SPL executed from there.

Cheers,

Renaud

0 Kudos
901 Views
ufedor
NXP Employee
NXP Employee
0 Kudos
890 Views
renaud
Contributor IV

Seems my reply did not go through. SO hopefully not repeating myself

 

If build the QPSI SPL U-boot, the PBI contains 

0570604 10000000

This seems to be an OCRAM1 address. How does the CPU find the boot loader considering the file spl/u-boot-spl.pbl starts with the RCW+PBI then the SPL?

Is the CPU executing sequentially after finding the hand of PBI?

0 Kudos
876 Views
ufedor
NXP Employee
NXP Employee

Please refer to RCW sources actually used by LSDK which are located here:

https://source.codeaurora.org/external/qoriq/qoriq-components/rcw/tree/ls1046ardb?h=LSDK-20.12

0 Kudos