[U-Boot] Altera CycloneV socfpga development kit QSPI flash access from u-boot
Marcel Gielen [Celestia-STS]
M.Gielen at celestia-sts.com
Thu Oct 20 17:24:15 CEST 2016
I am trying to use the QSPI flash from uboot on the development kit.
The flash content starts at offset 0 with 0xdeadbeaf
* Reading in linux from the MTD partition => data ok
* Using u-boot from the SDK GSRD image (u-boot 2013.01.01) => data ok
* Using u-boot socfpga 2016-05 from Altera git => data incorrect
* Using u-boot socfpga 2016-09 from Altera git => data incorrect
* Using u-boot 2016-09 from git.denx => resets at "Trying to boot from MMC1" I assume the SPL expects u-boot somewhere else ?
All last three u-boot versions were stock version with default confuration for the SOC development kit.
Any clue why it doesn't work ? I would expect timing issue, but the read errors are consistent.
Read command used:
=> sf probe
=> sf read ${loadaddr} 0 128
device 0 offset 0x0, size 0x128
SF: 296 bytes @ 0x0 Read: OK
=> md ${loadaddr}
Data as read with GSRD u-boot
00008090: deadbeaf deadbeaf deadbeaf deadbeaf ................
000080a0: deadbeaf deadbeaf deadbeaf deadbeaf ................
000080b0: deadbeaf deadbeaf deadbeaf deadbeaf ................
000080c0: deadbeaf deadbeaf deadbeaf deadbeaf ................
000080d0: deadbeaf deadbeaf deadbeaf deadbeaf ................
...
Data as read with newer u-boot
01000000: beafdeff beafdead beafdead beafdead ................
01000010: beafdead beafdead beafdead beafdead ................
01000020: beafdead beafdead ffffdead ffffffff ................
01000030: ffffffff ffffffff ffffffff ffffffff ................
01000040: ffffffff ffffffff ffffffff ffffffff ................
01000050: ffffffff ffffffff ffffffff ffffffff ................
...
More information about the U-Boot
mailing list