uBoot Questions (Flashing stuff to NAND)

Coburn64
Okay, so I'm playing with uBoot again.

I'm confused as to how to flash the kernel and rootfs partitions on my 1GB
NAND Flash chip on my Mini2440. (If I scrub the NAND and create the Bad
Block Table, it makes 4 partitions: uboot, env, kernel, root on the NAND).

At the moment, my current uBoot configuration booting the kernel and rootfs
off the SD Card. What I want it to do is boot the kernel off the NAND Flash
(in the kernel partition), and then let it boot up into a rootfs off the SD
Card, if you know what I mean?

What is the commands, and what tools do I need in order to flash a kernel
and rootFS image to my Mini2440's NAND Flash? Is it like SuperVivi, load it
into RAM then write it to a location (eg. 0x3100000), etc? Or do I use
SuperVivi to flash the kernel to the respective partition? (Download Kernel
& Download RootFS options?)

Cheers,
Coburn64

peter a
Did you look at http://labs.kernelconcepts.de/Projects/Micro2440/

use :-

MINI2440 # nand erase kernel
MINI2440 # mmcinit
MINI2440 # fatload mmc 0:1 0x31000000 uImage
MINI2440 # nand write 0x31000000 kernel 

to write the kernal 

So what you want to go is load the uImage file from nand and not SD.
instead of :-

setenv bootcmd mmcinit \; fatload mmc 0:1 0x31000000 uImage \; bootm
0x31000000 

have you tried working out where it is in the memory map and try
bootm 0x12312312 etc

srinivas kakarla
Hi ,

I want to buy friendly arm mini 2440. is 1GB NAND flash is enough for
Android or Linux Boot loader ?

Please specify any boards that support 2 to 4 GB NAND flash from firendly
ARM.


Regards,
Srinivas

srinivas
Hi ,

I want to buy friendly arm mini 2440. is 1GB NAND flash is enough for
Android or Linux Boot loader ?

Please specify any boards that support 2 to 4 GB NAND flash from firendly
ARM.


Regards,
Srinivas

sreenivas
Hi ,

Please specify any boards that support 2 to 4 GB NAND flash and type of the
flash(USB,NAND,NOR) supported by Development boards.

Regards,
sreenivas