From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T5qxd-0000nj-P1 for barebox@lists.infradead.org; Mon, 27 Aug 2012 04:30:03 +0000 Received: by pbbrq8 with SMTP id rq8so6972576pbb.36 for ; Sun, 26 Aug 2012 21:29:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 27 Aug 2012 09:59:59 +0530 Message-ID: From: Calvin Johnson 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Is there any way to dump more than 0x100 bytes from nand flash? To: Antony Pavlov Cc: barebox@lists.infradead.org On Fri, Aug 24, 2012 at 9:32 PM, Antony Pavlov wrote: > On 24 August 2012 18:19, Calvin Johnson wrote: >> Hi, >> >> In U-Boot there is "nand dump
" command which is very useful >> to check the contents of the NAND page and OOB area. >> >> I tried searching for an alternative in Barebox, and found that we can >> use some thing like "md -b -s /dev/nand0.barebox.bb". But this will >> dump only 0x100 bytes. In order to increase the size, I need to >> compile again. >> Is there any way to dump more bytes from the NAND flash and from >> different blocks/pages? >> > > please try "md -b -s /dev/nand0.barebox.bb +", > e.g. > md -b -s /dev/nand0.barebox.bb 0+0x200 Thanks a lot Antony. It worked out. :)- > >> How are the experts working with this? >> > > Sorry, I'm not an expert :))) :)- For me you are an expert. > -- > Best regards, > Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox