linux-mtd Digest, Vol 36, Issue 40
Amit Sharma
amitsharma91 at gmail.com
Fri Mar 31 02:39:25 EST 2006
Hi
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 .
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 .
Thanks
amit
On 3/29/06, linux-mtd-request at lists.infradead.org <
linux-mtd-request at lists.infradead.org> wrote:
>
> Send linux-mtd mailing list submissions to
> linux-mtd at lists.infradead.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.infradead.org/mailman/listinfo/linux-mtd
> or, via email, send a message with subject or body 'help' to
> linux-mtd-request at lists.infradead.org
>
> You can reach the person managing the list at
> linux-mtd-owner at lists.infradead.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linux-mtd digest..."
>
>
> Today's Topics:
>
> 1. [PATCH] enable mainstone MTD map driver on LogicPD PXA270
> platform (Lennert Buytenhek)
> 2. JFFS2 on NAND (S3C2410) (Selmeci, Tamas)
> 3. Re: [PATCH] enable mainstone MTD map driver on LogicPD PXA270
> platform (Nicolas Pitre)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 28 Mar 2006 17:12:39 +0200
> From: Lennert Buytenhek <buytenh at wantstofly.org>
> Subject: [PATCH] enable mainstone MTD map driver on LogicPD PXA270
> platform
> To: linux-mtd at lists.infradead.org
> Message-ID: <20060328151239.GB16959 at xi.wantstofly.org>
> Content-Type: text/plain; charset=us-ascii
>
> The LogicPD PXA270 platform is very similar to the Intel Mainstone,
> and can use the same MTD map driver.
>
> Signed-off-by: Lennert Buytenhek <buytenh at wantstofly.org>
>
> Index: linux-2.6.16/drivers/mtd/maps/Kconfig
> ===================================================================
> --- linux-2.6.16.orig/drivers/mtd/maps/Kconfig
> +++ linux-2.6.16/drivers/mtd/maps/Kconfig
> @@ -131,7 +131,7 @@ config MTD_LUBBOCK
>
> config MTD_MAINSTONE
> tristate "CFI Flash device mapped on Intel Mainstone XScale eval
> board"
> - depends on MACH_MAINSTONE && MTD_CFI_INTELEXT
> + depends on (MACH_LOGICPD_PXA270 || MACH_MAINSTONE) &&
> MTD_CFI_INTELEXT
> select MTD_PARTITIONS
> help
> This provides a driver for the on-board flash of the Intel
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 28 Mar 2006 17:34:27 +0200
> From: "Selmeci, Tamas" <tamas.selmeci at siemens.com>
> Subject: JFFS2 on NAND (S3C2410)
> To: <linux-mtd at lists.infradead.org>
> Message-ID:
> <38F58D7B92CB20438DF49D28B572CC6F13C4B9 at budgw09a.ww300.siemens.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi!
>
> Igor is trying to make a JFFS2 based root filesystem on his developer
> board - so do I at this time.
>
> My idea (the one and only data/root partition is JFFS2) seems not to work
> yet. If I make a jffs2 image with
>
> mkfs.jffs -U -l -e 16 KiB -o ../rootfs_jffs2
>
> 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.
>
> I've attempted an other method too. I created a 5th partition (the 4th is
> still cramfs). The board successfully
> booted into the cramfs. I made a jffs2 image from the partition with
> mkfs.jffs2, and then copied:
>
> dd if=/tmp/jffs2_image of=/dev/mtd4
>
> Mounted:
>
> mount -t jffs2 /dev/mtdblock4 /tmp/mnt
>
> Displays a few error messages (CLEANMARKER node found at xxx has totlen
> 0xc != normal 0x0), but after mounting,
> the directory tree seems to be OK and I can run programs from jffs2
> partition. However, if the kernel parameter
> is root=/dev/mtdblock4, still can't mount it.
>
> If I try this procedure for jffs filesystem, I can't copy because cp and
> dd complain: attempt to write
> not page aligned data. mkfs.jffs has no option like mkfs.jffs2's -p to pad
> ...
>
> ECC check is forced to be off in this kernel (2.6.15.5).
>
> Any idea?
>
> Bye
> --
> Tamas Selmeci
> Siemens PSE HU
> Tel. : +36-1-471-3861
> Email : tamas.selmeci at siemens.com
> Address: H-1143 Budapest, Gizella ut 51-59
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 28 Mar 2006 11:16:13 -0500 (EST)
> From: Nicolas Pitre <nico at cam.org>
> Subject: Re: [PATCH] enable mainstone MTD map driver on LogicPD PXA270
> platform
> To: Lennert Buytenhek <buytenh at wantstofly.org>
> Cc: Thomas Gleixner <tglx at linutronix.de>,
> linux-mtd at lists.infradead.org
> Message-ID: <Pine.LNX.4.64.0603281104470.14923 at localhost.localdomain>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
> On Tue, 28 Mar 2006, Lennert Buytenhek wrote:
>
> > The LogicPD PXA270 platform is very similar to the Intel Mainstone,
> > and can use the same MTD map driver.
> >
> > Signed-off-by: Lennert Buytenhek <buytenh at wantstofly.org>
> >
> > Index: linux-2.6.16/drivers/mtd/maps/Kconfig
> > ===================================================================
> > --- linux-2.6.16.orig/drivers/mtd/maps/Kconfig
> > +++ linux-2.6.16/drivers/mtd/maps/Kconfig
> > @@ -131,7 +131,7 @@ config MTD_LUBBOCK
> >
> > config MTD_MAINSTONE
> > tristate "CFI Flash device mapped on Intel Mainstone XScale eval
> board"
> > - depends on MACH_MAINSTONE && MTD_CFI_INTELEXT
> > + depends on (MACH_LOGICPD_PXA270 || MACH_MAINSTONE) &&
> MTD_CFI_INTELEXT
>
> The mainstone-flash.c no longer exists in the MTD repository.
>
> It has been superseded by pxa2xx-flash.c. I adjusted the dependency in
> the CVS repo already.
>
> Thomas: when will this be sent to Linus?
>
>
> Nicolas
>
>
>
> ------------------------------
>
> ______________________________________________________
> Linux MTD discussion mailing list digest
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
>
> End of linux-mtd Digest, Vol 36, Issue 40
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.infradead.org/pipermail/linux-mtd/attachments/20060331/0e934199/attachment.html
More information about the linux-mtd
mailing list