From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from f185.mail.ru ([217.69.128.134]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UcVpU-0000L5-VH for barebox@lists.infradead.org; Wed, 15 May 2013 07:08:54 +0000 From: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= Mime-Version: 1.0 Date: Wed, 15 May 2013 11:08:23 +0400 Message-ID: <1368601703.210769916@f185.mail.ru> In-Reply-To: <20130515065902.GE32299@pengutronix.de> References: <1367958099-5063-1-git-send-email-plagnioj@jcrosoft.com> <1368600373.828822510@f150.mail.ru> <20130515065902.GE32299@pengutronix.de> Reply-To: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= 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: =?UTF-8?B?UmVbMl06IFtQQVRDSCAxLzFdIFJldmVydCAibmFuZF9iYXNlOiBkZXRlY3Qg?= =?UTF-8?B?bW9yZSBPTkZJIGZsYXNoIg==?= To: =?UTF-8?B?U2FzY2hhIEhhdWVy?= Cc: barebox@lists.infradead.org > > > > > On Tue, May 07, 2013 at 10:21:39PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > >> this brake the nand support on at91sam9x5ek > > > > >> where we have a non compliant ONFI nand > > > > >> NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64 > > > > >> > > > > >> This reverts commit 4c2bdc8728016b3412523e3264651651fe752860. > > > > > > > > > > Thank you for letting us know that this patch causes a regression for > > > > > you. I this happens, please first try and fix the regression. If that > > > > > doesn't work please tell us what about the original patch is so wrong > > > > > that it needs to be reverted. With a good explanation it could be that > > > > > someone else has an idea. And whatever you do, put the original author, > > > > > Eric in this case, on Cc. > > > > > > > > This commit was supposed just able to detect that a Nand is ONFI > > > > > > > > but instead it brake supported Nand > > > > > > > > So Eric can fix it but I've not time to debug this before 1 month > > > > and the few platform that use ONFI are all busy > > > > > > > > So as the commit just allow to detect a band is ONFI can we revert it > > > > > > > > to keep non-ONFI Nand to work > > > > > > > IIRC, I tested this patch on some i.MX board with non ONFI NAND flash > > > and that worked fine unless I made a mistake in my tests which is > > > always possible. > > > > > > I've just sent a patch which may fix your problem, please give it a try > > > (only compile tested, not tested on real hardware). > > > > What is a patch to fix this? I've got some errors after update to latest master tree: > > This one: > > http://comments.gmane.org/gmane.comp.boot-loaders.barebox/8883 > > Eric, you mentioned you would send a final version of this patch. Could > you do this? master is still broken. Oh, sorry. It was other error. SDRAM size detection for this board is not fully completed yet. --- _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox