LS1043aqds qspi u-boot - custom board

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

LS1043aqds qspi u-boot - custom board

415 Views
carlos-m-ribeiro
Contributor I

Hello,

We are using the ls1043aqds qspi u-boot in our custom board but after booting, we can not read in

0x7fb00000 address (our cpld id register):
 
=> md.b 0x7fb00000
7fb00000:"Synchronous Abort" handler, esr 0x96000006
elr: 0000000040165d38 lr : 0000000040165c50 (reloc)
elr: 00000000fbda5d38 lr : 00000000fbda5c50
x0 : 0000000000000009 x1 : 000000000000003a
x2 : 0000000000000020 x3 : 000000007fb00000
x4 : 0000000000000000 x5 : 00000000fbdc2745
x6 : 0000000000000001 x7 : 000000000000000f
x8 : 00000000ffffffd0 x9 : 000000000000000c
x10: 0000000000000010 x11: 0000000000000006
x12: 000000000001869f x13: 0000000000002048
x14: 00000000fbc38a68 x15: 0000000000000008
x16: 0000000000000001 x17: 000000000000010f
x18: 00000000fbc3bdb8 x19: 0000000000000040
x20: 000000007fb00000 x21: 000000007fb00000
x22: 00000000fbdc144f x23: 0000000000000002
x24: 0000000000000010 x25: 0000000000000010
x26: 0000000000000001 x27: 00000000fbc38858
x28: 0000000000000000 x29: 00000000fbc387d0
 
Should we activate something in defconfig to can read from these addresses?
 
Best regards

 

0 Kudos
3 Replies

411 Views
ufedor
NXP Employee
NXP Employee

Please provide output of "md.l 1530000 40" and check that IFC chip-select is configured for the address 0x7fb00000.

If not - check U-Boot source "include/configs/ls1043aqds.h" and debug "drivers/misc/fsl_ifc.c".

 

0 Kudos

408 Views
carlos-m-ribeiro
Contributor I

Thank you and how we can check if IFC chip-select is configured for the address 0x7fb00000?

Best regards

 

0 Kudos

406 Views
carlos-m-ribeiro
Contributor I
And the output of "md.l 1530000 40"is:
01530000: 00000401
 
=> md.l 1530000 40
01530000: 00000401 00000000 00000000 00000000    ................
01530010: 00000000 00000000 00000000 00000000    ................
01530020: 00000000 00000000 00000000 00000000    ................
01530030: 00000000 00000000 00000000 00000000    ................
01530040: 00000000 00000000 00000000 00000000    ................
01530050: 00000000 00000000 00000000 00000000    ................
01530060: 00000000 00000000 00000000 00000000    ................
01530070: 00000000 00000000 00000000 00000000    ................
01530080: 00000000 00000000 00000000 00000000    ................
01530090: 00000000 00000000 00000000 00000000    ................
015300a0: 00000000 00000000 00000000 00000000    ................
015300b0: 00000000 00000000 00000000 00000000    ................
015300c0: 00000000 00000000 00000000 00000000    ................
015300d0: 00000000 00000000 00000000 00000000    ................
015300e0: 00000000 00000000 00000000 00000000    ................
015300f0: 00000000 00000000 00000000 00000000    ................
 
Thank you.
0 Kudos