From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wk9sq-0008C7-17 for barebox@lists.infradead.org; Tue, 13 May 2014 10:24:28 +0000 Date: Tue, 13 May 2014 12:24:06 +0200 From: Sascha Hauer Message-ID: <20140513102406.GP5858@pengutronix.de> References: <20140513100044.GO5858@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Question about SPI NOR flash To: Holger Schurig Cc: barebox@lists.infradead.org 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@00: n25q512 (65536 Kbytes) > m25p80 spiflash@00: mtd .name = , .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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox