Good afternoon, we are using an u-boot for ls1043 in QSPI with our custom board but if we read from address 0x7fb00000 where we have our cpld, the value read is always 0xff:
Hello,
Which section from ls1043a manual we can find the IFC CCSR registers?
Thank you
In the provided "rcw_ac16_qspi.bin" RCW[IFC_MODE] is set to 0b001000100.
Please consider that in the QorIQ LS1043A Reference Manual, Table 4-9. RCW source encodings there is note 1 for cfg_rcw_src 0_0100_010x saying:
"Not valid as an RCW[IFC_MODE] encoding"
It is needed to correct the RCW[IFC_MODE] to contain a valid cfg_rcw_src value from the Table 4-9.
Ok, and which "cfg_rcw_src" valid value you suggest to boot from QSPI in ls1043a, using CPLD?
Best regards
Ok, we will try "set this mode (NAND) in the RCW[IFC_MODE] when booting from QSPI". Before this, we also read the IFC registers:
After "set this mode (NAND) in the RCW[IFC_MODE] when booting from QSPI (in u-boot-4-2020-LSDK-20.12)" the problem of read always 0x15 from address 0x7fb00000 is maintained. Booting from NAND in u-boot-7-2017-LSDK-17.12, the CPLD access is correct.
Thank you
Hello,
If we reading all CPLD data in our custom board, using this board file:
Hello,
But the address lines connected to the CPLD are the same using U-BOOT for NAND (generated from u-boot-7-2017-LSDK-17.12) where the CPLD read is correct.
Thank you
Hello,
The U-Boot log provided was obtained booting from QSPI. For the U-Boot from NAND, the RCW word used was:
#PBL preamble and RCW header
aa55aa55 01ee0100
# serdes protocol
0610000a 0c000000 00000000 00000000
34550002 00004012 e0106000 c1002000
00000000 00000000 00000000 0003cffc
20004101 04102501 00000096 00000001
Which the IFC_MODE value we should use to 32-bit NOR Flash?
Thank you
And for booting from NAND, the IFC_MODE is
It was previously suggested:
> Set this mode (NAND) in the RCW[IFC_MODE] when booting from QSPI.
but still some misunderstanding exists.
Please use 0b100000110 as IFC_MODE in the RCW located in the SPI Flash.
But when using 0b100000110 as IFC_MODE in the RCW located in the QSPI Flash, we cannot boot and we cannot see any log.
Thank you