AnsweredAssumed Answered

gpio-addr-flash memory window overrun with large I/O block size

Question asked by rsdio on Apr 29, 2014
Latest reply on Jul 7, 2014 by rsdio

Using 'dd' with a large block size to extract a file from Flash, I'm seeing a "Data access CPLB miss" at 0x20300000. This strongly suggests to me that the gpio-addr-flash driver is allowing reads beyond our 2 MB window. Is this a bug in the driver? Is 'dd' allowed to read from a device with any block size and expect no memory overrun?

 

The command is:

dd bs=3498752 count=1 if=/dev/mtd4

 

gpio-addr-flash is configured with PG4..PG7 as the 4 GPIO pins (16 banks) and the address ranges from 0x20000000 to 0x201FFFFF.

 

Note that I don't see a CPLB miss at 0x20200000 because we have non-Flash devices in that Async bank. It's only when the read continues to 0x20300000 that the panic occurs.

 

Linux version 3.10.10-ADI-2013R1-svn2 running on ADSP-BF516 Rev 0.2

Outcomes