Write OS on NAND

Topper Harley
Now I use a Debian distro by NFS filesystem (about 600Mb),

but I want to put it on NAND (1Gb) and boot directly without NFS.

Anyone know the right detailed procedure?

Thanks in advice!

Topper Harley
Ps.

the architecture is mini 2440 - 64Mb ram, 1Gb NAND

z_image Kernel 2.6.32 by friendly arm uploaded from supervivi

Topper Harley
anyone?

zogzog
Ok,
first you make an tar archive of your rootfs...
then boot, using nfs or an sd with your rootfs AND the tar archive of your
rootfs

then use "flash_eraseall -j /dev/mtd3" to clean the rootfs partition and
create a jffs2 file system.

then mount "mount -t jffs2 /dev/mtdblock3 /mnt"

then copy the tar archive to the flash "cp myrootfs.tar /mnt"

move to /mnt extract "tar xf myrootfs.tar"

"sync" reboot

change your u-boot bootargs to something like
rootfs=/dev/mtdblock3 rootfstype=jffs2
i don't know how to do that with supervivi, but all's here guy.

have fun,

Zogzog.

Topper Harley
Ok.. :)

I've done a similar thing before the answer and it works!

Thanks so!


**************************************
Now I've an other problem:
**************************************

load Image of Linux...Uncompressing Linux...

ran out of input data

 -- System halted