[U-Boot] FW: Fwd: Problem in writing jffs2 fiesystem

Pedro Luis D. L. carcadiz at hotmail.com
Mon Sep 8 16:54:03 CEST 2008









On Mon, 8 Sep 2008 19:51:59 +0530 Navin wrote:

>Hi all,
>
>I am running u-b00t-1.6.6 on custom at91sam9263 board.

Are you sure it is u-boot-1.6.6? The latest u-boot in repository is
1.3.4.

>Now i am able to boot, jffs2 filesystem with linux-2.6.20 kernel.
>but the procedure i am using to burn is jffs2 is :

>1)boot the linux kernel with ramdisk

>2)erase the flash partition using $flasheraseall -j /dev/mtd1
>3)writing the image using $nandwrite -p /dev/mtd1 rootfs.jffs2
>

You should be able to flash the jffs2 file sytem from u-boot.
No need to do it from linux.

>The above procedure works well for me. But when i try writing the jffs2 filesytem in uboot prompt its not booting (kernel panic).


>In uboot i did this way:
>
>1) tftp 21100000 rootfs.jffs2
>2)nand write.jffs2 21100000 0x200000 0x(hex add of displayed by tftp)
>

Which command is "nand write.jffs2"? Maybe you're using a version which
is modified by the board supplier. 
A "normal" way to flash it would be:

cp.b 21100000 $(destiny_addr) $(filesize)

Cheers.

Pedro L.

>
>What is the write  of doing this?
>- 
>Regards,
>Naveen




Juega a las preguntas de Live Quiz con tus contactos de Messenger ¡Empieza ahora!

_________________________________________________________________
¿Sigue el calor? Consulta MSN El tiempo
http://eltiempo.es.msn.com/


More information about the U-Boot mailing list