Question about SPI NOR flash

Sascha Hauer s.hauer at pengutronix.de
Tue May 13 03:24:06 PDT 2014


On Tue, May 13, 2014 at 12:22:13PM +0200, Holger Schurig wrote:
> > 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:

You could limit the maximum frequency of the spi bus.

> 
> 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.

This is a Linux patch. What I meant is that the same could be missing in
barebox.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list