[ANN][MINI2440] modern u-boot (openmoko) git repository

Post Reply
buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

[ANN][MINI2440] modern u-boot (openmoko) git repository

Post by buserror » Fri Feb 06, 2009 9:47 am

I've uploaded my git tree based on the openmoko's u-boot branch, with support for the mini2440.

http://repo.or.cz/w/u-boot-openmoko/mini2440.git

U-boot works from nand, and allows loading via ethernet, mcc etc with pretty much all the modern extensions you would expect.

I'm working on doing the same for the kernel, so watch this space.

alvishidla
Posts: 14
Joined: Mon Feb 02, 2009 10:55 am

Re: [ANN][MINI2440] modern u-boot (openmoko) git repository

Post by alvishidla » Sun Mar 15, 2009 9:06 am

Hi,

I found that u-boot (openmoko) on real mini2440 does not skip bad blocks.
I load u-boot. Do 'nand scrub'. After do 'nand createbbt'
and after try erase and write area where found bad block and get write error.

Code: Select all

U-Boot 1.3.2-dirty-moko12 (Mar 13 2009 - 14:37:14)

I2C:   ready
DRAM:  64 MB
Flash:  2 MB
NAND:  64 MiB
Found Environment offset in OOB..
USB:   S3C2410 USB Deviced
In:    serial
Out:   serial
Err:   serial
MAC: 08:08:11:18:12:27
Hit any key to stop autoboot:  0

MINI2440 # nand scrub

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N>
Erasing at 0x1eb8000 --  48% complete.
[b]NAND 64MiB 3,3V 8-bit: MTD Erase failure: -5[/b] <<--- bad block 
Erasing at 0x3ffc000 -- 100% complete.
OK
MINI2440 # nand createbbt
Create BBT and erase everything ? <y/N>
[b]Skipping bad block at  0x01f38000  [/b]<<----- bad block
Erasing at 0x3ffc000 -- 100% complete.
Creating BBT. Please wait ...
MINI2440 # nand createbbt
Create BBT and erase everything ? <y/N>
[b]Skipping bad block at  0x01f38000[/b] <<---- bad block
Erasing at 0x3ffc000 -- 100% complete.
Creating BBT. Please wait ...

MINI2440 # nand bad

Device 0 bad blocks:
  01f38000
MINI2440 # nand erase 0x1f30000 0x10000

NAND erase: device 0 offset 0x1f30000, size 0x10000
Skipping bad block at  0x01f38000
Erasing at 0x1f3c000 -- 100% complete.
OK
MINI2440 # nand write 0x32000000 0x1f30000 0x10000

NAND write: device 0 offset 0x1f30000, size 0x10000
 [b]32768 bytes written: ERROR[/b] <<<---- get error
MINI2440 #

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: [ANN][MINI2440] modern u-boot (openmoko) git repository

Post by buserror » Sun Mar 15, 2009 11:10 am

Check the second part of that page:
http://code.google.com/p/mini2440/wiki/MiniBringup

BTW could you move questions and such to my blog, or IRC ? here it's private, and I nobody else can benefit from my answering, I plan to stop answering on this forum soon.

alvishidla
Posts: 14
Joined: Mon Feb 02, 2009 10:55 am

Re: [ANN][MINI2440] modern u-boot (openmoko) git repository

Post by alvishidla » Sun Mar 15, 2009 11:44 am

Thank you buserror,
This was my fault.
If somone has same problem use 'nand write.e ...' cmd.
I found answer in MiniBringup.
My post closed.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests