Ls1043AQDS: QSPI CPLD read

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

Ls1043AQDS: QSPI CPLD read

1,235 Views
carlos-m-ribeiro
Contributor I

Good morning,

In our custom board with ls1043aqds QSPI u-boot we have one CPLD configured to

0x7fb00000 but we have successive reads (successive addresses) with the same values:
 
carlosmribeiro_0-1624879733102.jpeg

The expected behavior is (using u-boot in NAND flash):

carlosmribeiro_1-1624879758035.jpeg

What can be wrong?

 

Thank you

 

 
 
0 Kudos
5 Replies

1,233 Views
ufedor
NXP Employee
NXP Employee

It is needed to check RCW fields:

IFC_MODE - refer QorIQ LS1043A Reference Manual, 4.4.5.1 Reset configuration word (RCW) source

IFC_GRP_[n]_BASE fields and IFC_GRP_[m]_EXT - refer QorIQ LS1043A Reference Manual, 3.4.7 IFC, QuadSPI, FTM and GPIO2 signal multiplexing

0 Kudos

1,230 Views
carlos-m-ribeiro
Contributor I

We are booting the u-boot for LS1043 from QSPI flash, and read from CPLD in 0x7fb00000 seeing the problems mentioned. Which RCW values we should configure? Can you also take a look to H board file and defconfig to see if anything is wrong.

0 Kudos

1,225 Views
ufedor
NXP Employee
NXP Employee

You have to compare NAND boot RCW (operational) and QSPI boot RCW (faulty).

Also you need to dump IFC controller registers by U-Boot "md" command in case of NAND and QSPI boot and compare them.

0 Kudos

1,220 Views
carlos-m-ribeiro
Contributor I

Thank you, and which are the IFC controller registers/addresses?

 

Best regards

0 Kudos

1,216 Views
ufedor
NXP Employee
NXP Employee

Refer to the QorIQ LS1043A Reference Manual, 25.3 IFC memory map/register definition.

0 Kudos