Re: Is there any way to dump more than 0x100 bytes from nand flash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 August 2012 18:19, Calvin Johnson <linux.cj@xxxxxxxxx> wrote:
> Hi,
>
> In U-Boot there is "nand dump <address>" 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 <dump offset>+<dump size>",
e.g.
  md -b -s /dev/nand0.barebox.bb 0+0x200

> How are the experts working with this?
>

Sorry, I'm not an expert :)))

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux