Question about SPI NOR flash

Holger Schurig holgerschurig at gmail.com
Tue May 13 03:22:13 PDT 2014


> Your device is detected as a 32KB mr25h256 instead
> of the n25q512 you really have.

Oh, something here is flaky. Because sometimes it get's detected
correctly. Sigh. This here with dev_dbg() turned into dev_info() and
the partition things removed from the DTS:

detected i.MX6 Quad revision 1.2
mdio_bus: miibus0: probed
m25p80 spiflash at 00: n25q512 (65536 Kbytes)
m25p80 spiflash at 00: mtd .name = <NULL>, .size = 0x4000000 (64MiB)
.erasesize = 0x00001000 (4KiB) .numeraseregions = 0
imx-esdhc 2194000.usdhc: registered as 2194000.usdhc
imx-esdhc 219c000.usdhc: registered as 219c000.usdhc
environment load /dev/env0: No such file or directory
Maybe you have to create the partition.
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...




> http://lists.infradead.org/pipermail/linux-mtd/2014-January/051382.html?#

Hmm, this isn't in origin/master. I'm a bit confused.

What should I use, master or next?  And why do both get patches
applied regularly?



More information about the barebox mailing list