[Qi] bad magic when booting from NAND
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Sun Apr 5 16:19:02 CEST 2009
Hi Werner.
On Fri, Apr 3, 2009 at 8:44 PM, Werner Almesberger <werner at openmoko.org> wrote:
> Dmitry Kurochkin wrote:
>> 2: kernel 0x00820000
>
> Uh uh, a bad block. Maybe that's causing the trouble. You could
> find out what's happening by first determining where the bad block
> is located, e.g., with
> http://svn.openmoko.org/developers/werner/badnand/
>
> and then checking if Qi finds it, e.g., by inserting a printf into
> the bad block handling code in
> src/cpu/s3c2442/nand_read.c:nand_read_ll
I ran badnand /dev/mtd6 and got this:
Factory 2, worn 0, good 2046
Now I will look at Qi as you suggest.
BTW How did you find out that there were badblocks?
Regards,
Dmitry
>
> - Werner
>
More information about the openmoko-kernel
mailing list