Hi

On 11/22/2010 05:33 AM, Lluís Batlle i Rossell wrote:
> Hello,
> 
> I run through usbboot 'nerase 16 4080 0 0', and the command said something 
> about
> 'finished' at block 4097 (?).

there probably one bad block at [BLOCK-16 ~ BLOCK-END]. 

> 
> When I tried to reboot, I  don't see uboot anymore.
> 
> For what I understood, nerase works in 512KiB blocks, while nprog works in
> 4096-byte pages. So, as usually the rootfs is programmed starting at the block
> 2048, I thought I could start the 'nerase' for the rootfs at the block 16.
> 
> Do I understand it wrong?

you right. the 'nrpog' use nand-pages, the 'nerase' use nand-blocks.

it's probably  a bug of "xburst_stage2" of 'usbboot', we will fix that.
(I just changed the code. will test it a little before commit)

I advice you use linux to erase the rootfs partition and data partition:
  mtd erase /dev/mtd2
  mtd erase /dev/mtd3

> 
> Thank you,
> Lluís.
> 
> _______________________________________________
> Qi Hardware Discussion List
> Mail to list (members only): [email protected]
> Subscribe or Unsubscribe: 
> http://lists.en.qi-hardware.com/mailman/listinfo/discussion


-- 
Best Regards
Xiangfu
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to