once again
Deepak
David
Message: 3
Date: Tue, 11 Nov 2008 17:32:41 +0530
From: Deepak Mundra [EMAIL PROTECTED]
Subject: Help in writiing JFFS2 Filesystem into NAND /Uboot
To: davinci-linux-open-source@linux.davincidsp.com
davinci-linux-open-source@linux.davincidsp.com
Message-ID
Hi,
Has any one tried writing jfss2 filesystem on to nand using uboot ???
I am using following stem but MTD-READ is returning error
1]nand erase 0x46 sizeof_filesystem_image
2]transfer jffs2 filsystem image to 0x8070
3]nand write 0x8070 0x46 sizeof_filesystem_image
4
.
My suggestion is to use yaffs2 or write mtd under linux environment.
David
Message: 3
Date: Tue, 11 Nov 2008 17:32:41 +0530
From: Deepak Mundra [EMAIL PROTECTED]
Subject: Help in writiing JFFS2 Filesystem into NAND /Uboot
To: davinci-linux-open-source@linux.davincidsp.com
davinci
Filesystem into NAND /Uboot
To: davinci-linux-open-source@linux.davincidsp.com
davinci-linux-open-source@linux.davincidsp.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
Hi,
Has any one tried writing jfss2 filesystem on to nand using uboot ???
I am
Hi Frank
Thank you very much for your help
Now i have loaded the filesystem into flash and kernel into flash
observations:
case1 :
filesystem is from nand flash and uImage from tftp
i.e. [ bootargs= ...root=/dev/mtdblock3
bootcmd=run setboot;tftp 0x8600
@linux.davincidsp.com
Subject: FW: how to boot from jffs2 filesystem in nand
Hi Frank
Thank you very much for your help
Now i have loaded the filesystem into flash and kernel into flash
observations:
case1 :
filesystem is from nand flash and uImage from tftp
i.e. [ bootargs
hi Wu, Ruiyu
I think this wiki page will guide you to do it:
http://wiki.davincidsp.com/index.php?title=Put_JFFS2_Image_to_Flash
ERROR Verifying Checksum ... Bad Data CRC
please verify whether kernel size exceed flash partition size.
I'm successful in booting from jffs2 filesystem on NAND
hi Wu, Ruiyu
i am also facing the same problem as you explained in
http://linux.omap.com/pipermail/davinci-linux-open-source/2007-September/004
113.html
can you please tell me how to resolve this problem
the bootlog is shown below
//
Booting PSP Boot
hi Wu, Ruiyu
i am also facing the same problem as you explained in
http://linux.omap.com/pipermail/davinci-linux-open-source/2007-September/004
113.html
can you please tell me how to resolve this problem
the bootlog is shown below
//
Booting PSP
-e 16384 -n -r rootfs/ -o image.jffs2
Part III burn kernel and filesystem on nand
1. flash_eraseall -j /dev/mtd3
2. nandwrite -p /dev/mtd3 image.jffs2
Part IV set enviroment for nand boot
1. setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=off
root=/dev/mtdblock3 mem=120M
hi, Saurin Suthar and Saurin Suthar
I have done the step1-7 according your suggestions.
setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=off
root=/dev/mtdblock3 mem=56M rootfstype=jffs2
but when I boot up the kernel panic it said:
DaVinci NAND Controller rev. 2.1
NAND device:
Hi Ruiyu,
1. Your erase command is not correct.
2. You didn't enable MTD block device support in kernel config
JFFS2 needs the so-called cleanmarkers written to empty blocks. For
NAND, these are special markers written in spare area. Instead of
flash_eraseall, use flash_eraseall -j.
And for
and filesystem on NAND
hi, Saurin Suthar and Saurin Suthar
I have done the step1-7 according your suggestions.
setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=off
root=/dev/mtdblock3 mem=56M rootfstype=jffs2
but when I boot up the kernel panic it said:
DaVinci NAND Controller rev. 2.1
NAND device
make jffs2 filesystem
1. mkjs.jffs2 -r rootfs -o jffs2.img
Part III burn kernel and filesystem on nand
1. flash_eraseall /dev/mtd2
2. nandwrite -p /dev/mtd2 uImage
3. flash_eraseall /dev/mtd3
4. nandwrite -p /dev/mtd3 jffs2.img
Part IV set enviroment for nand boot
1. setenv bootcmd 'nboot
James,
Thanks for your help previously, I am still having
problems getting the filesystem on nand, I am able to get the UBL and
kernel on nand, I have also created the partitions for /dev/mtd1 and
been able to copy the filesystem on the linux box to /dev/mtdblock1.
However
will be no where near
Donegal!
Regards,
Andrew
On Thu, 2007-01-04 at 16:33 +, James McGloin wrote:
Hi Guys,
Thanks for your help previously, I am still having
problems getting the filesystem on nand, I am able to get the UBL and
kernel on nand, I have also created the partitions
16 matches
Mail list logo