<div>Hi </div>
<div> </div>
<div>1. I am trying to use JFFS2 with one nand as bootable device ,i am facing problem in jffs2 mount i have created jffs2 image and cat mkjffs2.image > /dev/raw device 6 . but during mount i fail becaue it gives message "too many fs mounted o device ..........," this is very common message .
</div>
<div> </div>
<div>2. I have one more question if some answer i will be thanful to u on omap 5912. During dma transfer device if any interrupt come how mtd will maintain control data alignement if my deice is configured for 16 bit burst length .
</div>
<div> </div>
<div>Thanks</div>
<div>amit<br><br> </div>
<div><span class="gmail_quote">On 3/29/06, <b class="gmail_sendername"><a href="mailto:linux-mtd-request@lists.infradead.org">linux-mtd-request@lists.infradead.org</a></b> <<a href="mailto:linux-mtd-request@lists.infradead.org">
linux-mtd-request@lists.infradead.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send linux-mtd mailing list submissions to<br> <a href="mailto:linux-mtd@lists.infradead.org">linux-mtd@lists.infradead.org
</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.infradead.org/mailman/listinfo/linux-mtd">http://lists.infradead.org/mailman/listinfo/linux-mtd</a><br>or, via email, send a message with subject or body 'help' to
<br> <a href="mailto:linux-mtd-request@lists.infradead.org">linux-mtd-request@lists.infradead.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:linux-mtd-owner@lists.infradead.org">
linux-mtd-owner@lists.infradead.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of linux-mtd digest..."<br><br><br>Today's Topics:<br><br> 1. [PATCH] enable mainstone MTD map driver on LogicPD PXA270
<br> platform (Lennert Buytenhek)<br> 2. JFFS2 on NAND (S3C2410) (Selmeci, Tamas)<br> 3. Re: [PATCH] enable mainstone MTD map driver on LogicPD PXA270<br> platform (Nicolas Pitre)<br><br><br>----------------------------------------------------------------------
<br><br>Message: 1<br>Date: Tue, 28 Mar 2006 17:12:39 +0200<br>From: Lennert Buytenhek <<a href="mailto:buytenh@wantstofly.org">buytenh@wantstofly.org</a>><br>Subject: [PATCH] enable mainstone MTD map driver on LogicPD PXA270
<br> platform<br>To: <a href="mailto:linux-mtd@lists.infradead.org">linux-mtd@lists.infradead.org</a><br>Message-ID: <<a href="mailto:20060328151239.GB16959@xi.wantstofly.org">20060328151239.GB16959@xi.wantstofly.org
</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>The LogicPD PXA270 platform is very similar to the Intel Mainstone,<br>and can use the same MTD map driver.<br><br>Signed-off-by: Lennert Buytenhek <<a href="mailto:buytenh@wantstofly.org">
buytenh@wantstofly.org</a>><br><br>Index: linux-2.6.16/drivers/mtd/maps/Kconfig<br>===================================================================<br>--- linux-2.6.16.orig/drivers/mtd/maps/Kconfig<br>+++ linux-2.6.16
/drivers/mtd/maps/Kconfig<br>@@ -131,7 +131,7 @@ config MTD_LUBBOCK<br><br>config MTD_MAINSTONE<br> tristate "CFI Flash device mapped on Intel Mainstone XScale eval board"<br>- depends on MACH_MAINSTONE && MTD_CFI_INTELEXT
<br>+ depends on (MACH_LOGICPD_PXA270 || MACH_MAINSTONE) && MTD_CFI_INTELEXT<br> select MTD_PARTITIONS<br> help<br> This provides a driver for the on-board flash of the Intel<br><br><br><br>
------------------------------<br><br>Message: 2<br>Date: Tue, 28 Mar 2006 17:34:27 +0200<br>From: "Selmeci, Tamas" <<a href="mailto:tamas.selmeci@siemens.com">tamas.selmeci@siemens.com</a>><br>Subject: JFFS2 on NAND (S3C2410)
<br>To: <<a href="mailto:linux-mtd@lists.infradead.org">linux-mtd@lists.infradead.org</a>><br>Message-ID:<br> <<a href="mailto:38F58D7B92CB20438DF49D28B572CC6F13C4B9@budgw09a.ww300.siemens.net">38F58D7B92CB20438DF49D28B572CC6F13C4B9@budgw09a.ww300.siemens.net
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi!<br><br>Igor is trying to make a JFFS2 based root filesystem on his developer board - so do I at this time.<br><br>My idea (the one and only data/root partition is JFFS2) seems not to work yet. If I make a jffs2 image with
<br><br>mkfs.jffs -U -l -e 16 KiB -o ../rootfs_jffs2<br><br>the kernel identifies as jffs, not jffs2. Attempts to mount, but can access nothing on that (obviously, this is a jffs2 and kernel mounts as jffs). As I saw, struct mtd_partition has a member called mask_flags. I suspect this value is a kind of "partition ID", in Vivi boot loader this indicates JFFS2.
<br><br>I've attempted an other method too. I created a 5th partition (the 4th is still cramfs). The board successfully<br>booted into the cramfs. I made a jffs2 image from the partition with mkfs.jffs2, and then copied:<br>
<br>dd if=/tmp/jffs2_image of=/dev/mtd4<br><br>Mounted:<br><br>mount -t jffs2 /dev/mtdblock4 /tmp/mnt<br><br>Displays a few error messages (CLEANMARKER node found at xxx has totlen 0xc != normal 0x0), but after mounting,<br>
the directory tree seems to be OK and I can run programs from jffs2 partition. However, if the kernel parameter<br>is root=/dev/mtdblock4, still can't mount it.<br><br>If I try this procedure for jffs filesystem, I can't copy because cp and dd complain: attempt to write
<br>not page aligned data. mkfs.jffs has no option like mkfs.jffs2's -p to pad ...<br><br>ECC check is forced to be off in this kernel (<a href="http://2.6.15.5">2.6.15.5</a>).<br><br>Any idea?<br><br>Bye<br>--<br>Tamas Selmeci
<br>Siemens PSE HU<br>Tel. : +36-1-471-3861<br>Email : <a href="mailto:tamas.selmeci@siemens.com">tamas.selmeci@siemens.com</a><br>Address: H-1143 Budapest, Gizella ut 51-59<br><br><br><br><br>------------------------------
<br><br>Message: 3<br>Date: Tue, 28 Mar 2006 11:16:13 -0500 (EST)<br>From: Nicolas Pitre <<a href="mailto:nico@cam.org">nico@cam.org</a>><br>Subject: Re: [PATCH] enable mainstone MTD map driver on LogicPD PXA270<br>
platform<br>To: Lennert Buytenhek <<a href="mailto:buytenh@wantstofly.org">buytenh@wantstofly.org</a>><br>Cc: Thomas Gleixner <<a href="mailto:tglx@linutronix.de">tglx@linutronix.de</a>>,<br> <a href="mailto:linux-mtd@lists.infradead.org">
linux-mtd@lists.infradead.org</a><br>Message-ID: <<a href="mailto:Pine.LNX.4.64.0603281104470.14923@localhost.localdomain">Pine.LNX.4.64.0603281104470.14923@localhost.localdomain</a>><br>Content-Type: TEXT/PLAIN; charset=US-ASCII
<br><br>On Tue, 28 Mar 2006, Lennert Buytenhek wrote:<br><br>> The LogicPD PXA270 platform is very similar to the Intel Mainstone,<br>> and can use the same MTD map driver.<br>><br>> Signed-off-by: Lennert Buytenhek <
<a href="mailto:buytenh@wantstofly.org">buytenh@wantstofly.org</a>><br>><br>> Index: linux-2.6.16/drivers/mtd/maps/Kconfig<br>> ===================================================================<br>> --- linux-2.6.16.orig
/drivers/mtd/maps/Kconfig<br>> +++ linux-2.6.16/drivers/mtd/maps/Kconfig<br>> @@ -131,7 +131,7 @@ config MTD_LUBBOCK<br>><br>> config MTD_MAINSTONE<br>> tristate "CFI Flash device mapped on Intel Mainstone XScale eval board"
<br>> - depends on MACH_MAINSTONE && MTD_CFI_INTELEXT<br>> + depends on (MACH_LOGICPD_PXA270 || MACH_MAINSTONE) && MTD_CFI_INTELEXT<br><br>The mainstone-flash.c no longer exists in the MTD repository.
<br><br>It has been superseded by pxa2xx-flash.c. I adjusted the dependency in<br>the CVS repo already.<br><br>Thomas: when will this be sent to Linus?<br><br><br>Nicolas<br><br><br><br>------------------------------<br>
<br>______________________________________________________<br>Linux MTD discussion mailing list digest<br><a href="http://lists.infradead.org/mailman/listinfo/linux-mtd/">http://lists.infradead.org/mailman/listinfo/linux-mtd/
</a><br><br><br>End of linux-mtd Digest, Vol 36, Issue 40<br>*****************************************<br></blockquote></div><br>