
Hi, Jagan,
On 03/03/2016 01:06 PM, york sun wrote:
On 02/29/2016 04:26 AM, Jagan Teki wrote:
Hi York,
On 27 February 2016 at 02:14, york sun york.sun@nxp.com wrote:
On 02/22/2016 10:18 AM, Jagan Teki wrote:
<snip>
Can you pls- test the dataflash changes? use u-boot-spi/spi-nor
Jagan,
I am getting there. Will test sf probe/read/write and probably boot on selected platforms. Is there any specific platform/test in your
mind?
Yes, these tests OK. and if possible please verify 'sf protect' as
well.
Jagan,
Sorry for the delay. I am having issue with both ls1021aqds and ls1043aqds. Need to work with internal team to sort it out.
My understanding the tests you need are for spi-nor, in my case, fsl-qspi, right? This is not for fsl-dspi or fsl-espi driver. I only have ls1021aqds and ls1043aqds with such support.
Jagan,
Alison and Qianyu have tested on LS1021AQDS and LS1043AQDS. There were some issues. They will post their findings (and possible fix) to this thread.
[Alison Wang] I verified QSPI boot on LS1021AQDS and LS1021ATWR boards based on u-boot-spi/spi-nor branch. As we also support QSPI in SD boot, some modifications are needed for ls1021aqds_sdcard_qspi_defconfig and ls1021atwr_sdcard_qspi_defconfig. I submitted a set for the modifications, please help to review. http://patchwork.ozlabs.org/patch/594819/ http://patchwork.ozlabs.org/patch/594820/
BTW, I have a concern about so much debugging information. Could we print them only when debugging?
drivers/mtd/spi-nor/m25p80.c: printf("m25p80: 0x%p => cmd = { 0x%02x 0x%02x%02x%02x } chunk_len = %zu\n", buf, flash->command[0], flash->command[1], flash->command[2], flash->command[3], len);
=> run upqspiboot Speed: 1000, full duplex Using eTSEC3 device TFTP from server 10.192.208.233; our IP address is 10.193.20.116 Filename 'wh/ls1/u-boot-qspiboot-swap.bin'. Load address: 0x82000000 Loading: ################################### 1.5 MiB/s done Bytes transferred = 508532 (7c274 hex) m25p80: erase d8 1 0 0 (10000) m25p80: erase d8 2 0 0 (20000) m25p80: erase d8 3 0 0 (30000) m25p80: erase d8 4 0 0 (40000) m25p80: erase d8 5 0 0 (50000) m25p80: erase d8 6 0 0 (60000) m25p80: erase d8 7 0 0 (70000) m25p80: erase d8 8 0 0 (80000) m25p80: erase d8 9 0 0 (90000) SF: 589824 bytes @ 0x10000 Erased: OK device 0 offset 0x10000, size 0x80000 m25p80: 0x82000000 => cmd = { 0x02 0x010000 } chunk_len = 64 m25p80: 0x82000040 => cmd = { 0x02 0x010040 } chunk_len = 64 m25p80: 0x82000080 => cmd = { 0x02 0x010080 } chunk_len = 64 m25p80: 0x820000c0 => cmd = { 0x02 0x0100c0 } chunk_len = 64 m25p80: 0x82000100 => cmd = { 0x02 0x010100 } chunk_len = 64 m25p80: 0x82000140 => cmd = { 0x02 0x010140 } chunk_len = 64 m25p80: 0x82000180 => cmd = { 0x02 0x010180 } chunk_len = 64 m25p80: 0x820001c0 => cmd = { 0x02 0x0101c0 } chunk_len = 64 m25p80: 0x82000200 => cmd = { 0x02 0x010200 } chunk_len = 64 m25p80: 0x82000240 => cmd = { 0x02 0x010240 } chunk_len = 64 m25p80: 0x82000280 => cmd = { 0x02 0x010280 } chunk_len = 64 m25p80: 0x820002c0 => cmd = { 0x02 0x0102c0 } chunk_len = 64 m25p80: 0x82000300 => cmd = { 0x02 0x010300 } chunk_len = 64 m25p80: 0x82000340 => cmd = { 0x02 0x010340 } chunk_len = 64 m25p80: 0x82000380 => cmd = { 0x02 0x010380 } chunk_len = 64 m25p80: 0x820003c0 => cmd = { 0x02 0x0103c0 } chunk_len = 64 .... (So much..)
Best Regards, Alison Wang