[u-boot] load adress for micro2440 256MB nand ?

andromeda
hi,

i have a board micro2440 with 256MB nand 7"

what is the adress for load u-boot ?

load ram 0x31000000 xxxxxx u

is 0x30000000 ?
0x31000000 ?
0x32000000 ?

thanks in advance.

andromeda
any idea ?

nobody has micro2440 256 MiB nand ?

andromeda
the memory address of ram for s3c2440 is 0x30000000

is ok

davef
I don't think it matters too much as long as the image size it not pushing
the boundaries. I have been using 0x31000000, because the tutorials seem to
use that quite often.

I think it gets relocated to yet another address, which you see when the
kernel boots up , ie 0x30008000.

Please correct me if this is not correct

sam
When you get uboot running on 256MB, could you please post the uboot binary
here and tell us how you did it?

andromeda
downlad u-boot.bin here
http://www.newroomschat.com/upload/index.php?action=downloadfile&fil...;

- open terminal
- switch to nor and put board to on 
- type q
- type load ram 0x30000000 242332 u
- type go 0x30000000
- type nand scrub
- type nand createbbt
- type nand write 30000000 u-boot
- switch to nand
- reset board

that all

but for me all command is ok excepted when i reset board i have blank
screen on the terminal

davef
So, you have your bootloader loaded what you are running on the board in
the way of a kernel and a root file system?

andromeda
nothing 
because when to attemp a flash uboot to nand and it crash the nans is
destroyed completely

but i have a backup of my origin nand to retrieve linux with qtopia from my
board

may be i must to restore my origin nand and booting to vivi and install
uboot ?

or may be is because i have not installed kernel and root file system afte
that flash uboot ?

thanks

andromeda
what is exactly reset a board ?

is to type command MINI2440#reset or power off and power on the board ?

Fernando
I have  the same problem, cant get to boot from nand...
i also have a micro2440, 256mb of nand flash

did anyone solve this?

ubuntu7vn@gmail.com
I ported uboot.bin into address 0x30000000 on the mini2440 but it don't
run.
steps:
1. load ram 0x30000000 179454 u
2. go 0x30000000
->> go to 0x30000000
  argument 0 = 0x00000000
  argument 1 = 0x00000000
  argument 2 = 0x00000000
  argument 3 = 0x00000000

and halt.

Intoia
There is a bug in the current uboot version so it doesnt work well with
256MB nand...

I have to same with my second board. Im using the uboot version from
http://repo.or.cz/w/u-boot-openmoko/mini2440.git

I compiled it, loaded to flash with Vivi. It boots, BUT Environment
ariables dont get saved to nand after a saveenv...

vatti
Attachment: u-boot.JPG (22.08 KB)
Ram Address start 0x30000000 to 0x34000000

you can copy U-boot 0x33f80000 max size of u-boot 512K bytes

below 0x33f80000 it will copy bss & data,rodata...

You can copy uImage at adress = 0x33f80000 - size of uImage
                              = 0x33f80000 - 2.5 MB size(compressed uImage)
                             =  0x32000000  size > 16 MB

After that i will uncompress and copy to
                          = 0x30008000 uncompress image size 5 to 6 MB at
boundary of 16k
                          AT address 0x30000100 it will copy ATtag
parameters (kenel parameters) at bounday of 4k

For more details,you can see attachment


Thanks
Alex

Ramgopal Kota
Andromeda,
The git source mentioned is not working after compilation
The uboot binary provoded is working fine.Can you provide link to sources
my board is having different mac (CS8900) instead of DM9000