Mini2440, 1Gb, u-boot and then ?

Ben
Hi, sorry that I can not make a subject in one sentence that makes my
problem clear.

The Mini2440 is driving me mad. Slowly, but it succeeds. It's not the
Mini2440 to blame, it's the combination of Ubuntu 11.10 on a standalone
system, Ubuntu 9.04 in a VMware session and an overload of well ment
documentation around the WWW,

I try to get debian, emdebian or openembedded on my Mini2440. I do not care
that much about the touchscreen, console operation will do for this moment.

I do connect the 2440 to the Windows7 system. Working RS-232 and USB.
Running DNW. Choose q to enter Vivi. Then the problems begin: Which U-boot
should I use for the 1Gb 2440. Decided to use the v132.bin . Next problem:
on which address should I place it on the 1Gb 2440? Decided to use the most
common 0x31000000.

So: load ram 0x31000000 246146 u 
Starting USB transfer, all ends well.

go 0x31000000 works, see results below:

go to 0x31000000
  argument 0 = 0x00000000
  argument 1 = 0x00000000
  argument 2 = 0x00000000
  argument 3 = 0x00000000
á


U-Boot 1.3.2-mini2440 (May 25 2010 - 19:15:21)


I2C:   ready

DRAM:  64 MB

Flash:  2 MB

NAND:  Bad block table not found for chip 0

Bad block table not found for chip 0

1024 MiB

*** Warning - bad CRC or NAND, using default environment


USB:   S3C2410 USB Deviced

In:    serial

Out:   serial

Err:   serial

MAC: 08:08:11:18:12:27

Hit any key to stop autoboot:  0 


nand scrub goes OK
nand createbbt also goes OK but takes at least 35 minutes on the 1Gb 2440.

Then I have to write to nand:

MINI2440 # nand write.e 0x31000000 0 246164


NAND write: device 0 offset 0x0, size 0x246164

Writing data at 0x0 --   0plete.
Writing data at 0x5800 --   1complete.
Writing data at 0xb800 --   2complete.
Writing data at 0x11000 --   3 complete.
Writing data at 0x17000 --   4 complete.
Writing data at 0x1d000 --   5 complete.
<repeat 6 up to 99>
Writing data at 0x246000 -- 100

Up to 43 complete, from 44 till 100 the text complete is not behind the
number. At the last line, after -- 100 it holds. I left it for 24 hours but
it still holds.

Did run the same procedure with both the address 0x32000000 and with the
256K u-boot with the same results. Tried the u-boot 2k and 16 k versions
but these don't start after the "go 0x31000000" command. They freeze after 
go to 0x31000000
  argument 0 = 0x00000000
  argument 1 = 0x00000000
  argument 2 = 0x00000000
  argument 3 = 0x00000000

I have been fooled around for the last 4 weeks by my 2440. I did try to
bitake openembedded still with no luck. The well made script from this
forum does no longer run on ubuntu 9.04 or 11.10 because to many libraries
this script needs are updated and have another (version)name.

I hope that there is somewhere out there who has emdebian, openembedded or
debian running on his / her 2440 with 1 Gb and can provide me (and perhaps
other readers) with his instructions and binaries. 



Thanks a lot for your time,

Kind regards,
Ben

(By the way: I have two pieces of the 2440, both 1Gb, both with the same
behaviour. I do not think my 2440 is broken, it does work when restored to
the factory flash. To reach a larger audience I post this message on Bill's
forum also later today)