From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 3.mo2.mail-out.ovh.net ([46.105.58.226] helo=mo2.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9dF9-0000wj-Ib for barebox@lists.infradead.org; Thu, 06 Sep 2012 14:39:44 +0000 Received: from mail626.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id BCBE6DC6F3C for ; Thu, 6 Sep 2012 16:45:05 +0200 (CEST) Date: Thu, 6 Sep 2012 16:39:39 +0200 From: Eric =?ISO-8859-1?B?QuluYXJk?= Message-ID: <20120906163939.74634e1b@eb-e6520> In-Reply-To: <4875438356E7CA4A8F2145FCD3E61C0B3074AA38F5@MEP-EXCH.meprolight.com> References: <1346935710-23360-1-git-send-email-alexg@meprolight.com> <20120906152754.355b7078@eb-e6520> <4875438356E7CA4A8F2145FCD3E61C0B3074AA38F2@MEP-EXCH.meprolight.com> <20120906155425.027ab55f@eb-e6520> <4875438356E7CA4A8F2145FCD3E61C0B3074AA38F5@MEP-EXCH.meprolight.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] i.mx35pdk add nand identification To: Alex Gershgorin Cc: "barebox@lists.infradead.org" Hi, Le Thu, 6 Sep 2012 17:20:41 +0300, Alex Gershgorin a =E9crit : > = > > > >Hi Alex, > = > Le Thu, 6 Sep 2012 16:39:33 +0300, > Alex Gershgorin a =E9crit : > > > Without this patch I get following messages > > > > > > Board: Freescale MX35 3Stack > > > NAND type unknown: ec,d7 > > > No NAND device found (-19)! > > > > > what is the part number of the NAND ? > > > > If I'm not mistaken > > K9LBG08U0D-PCB0 > > > > > > this seems to be a 4GiB flash with 4k page + 218 OOB, not a 512MiB > = > If I understand correctly it should look like > = > {__NANDSTR("NAND 4GiB 3,3V 8-bit"), 0xD7, 0, 2048, 0, LP_OPTIONS} > = > = > Right? no 2048 means 2k page, this nand has 4k page. kernel has : {"NAND 4GiB 3,3V 8-bit", 0xD7, 0, 4096, 0, LP_OPTIONS}, which should be the right configuration. Eric _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox