Ferenc Havasi | 1 Jun 11:18 2004
Picon

Re: [PATCH] fs/Kconfig

dkey wrote:

>this patch selects ZLIB_INFLATE/DEFLATE if JFFS2_ZLIB is selected.
>  
>
There was also some other dependency problems (CRC32, PROC_FS).  One of 
them is not correct in linux-2.6.6 (JFFS_PROC_FS) but the script 
"patchin.sh" now fixes it, too.

Thanks for your mail.

Regards,
Ferenc

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

David Woodhouse | 1 Jun 15:42 2004

Re: DOC Mill Plus 32M What next?

On Tue, 2004-06-01 at 09:39 -0400, Carlos, John J USAATC wrote:
> What tools can I use on the chip to prepare it for use??  Nftl_format
> reports wrong erase size of 0x10000?  I have read others postings and I am
> not sure if I should be using nftl_format anyway?  Can soemone please tell
> me the proper procedure to prep the chip for a jffs2 file system???

Use the DOS tools if you can. Or look on SnapGear's web site to see if
you can find an 'inftl_format' tool. 

--

-- 
dwmw2

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Carlos, John J USAATC | 1 Jun 15:39 2004
Picon

DOC Mill Plus 32M What next?


Hello all,

  On my arm core board there is a DOC Plus 32M.  When I use the DOC2001Plus
driver I can probe the chip "docprobe".  The chip is reported in the proc
file system.
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "BootLoader"
mtd1: 00040000 00010000 "Params"
mtd2: 00200000 00010000 "Kernel"
mtd3: 001a0000 00010000 "Flash0 FileSys"
mtd4: 02000000 00008000 "DiskOnChip Millennium Plus"

What tools can I use on the chip to prepare it for use??  Nftl_format
reports wrong erase size of 0x10000?  I have read others postings and I am
not sure if I should be using nftl_format anyway?  Can soemone please tell
me the proper procedure to prep the chip for a jffs2 file system???

Thanks for the help!
John

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Greg Ungerer | 1 Jun 16:34 2004

Re: DOC Mill Plus 32M What next?

David Woodhouse wrote:
> On Tue, 2004-06-01 at 09:39 -0400, Carlos, John J USAATC wrote:
> 
>>What tools can I use on the chip to prepare it for use??  Nftl_format
>>reports wrong erase size of 0x10000?  I have read others postings and I am
>>not sure if I should be using nftl_format anyway?  Can soemone please tell
>>me the proper procedure to prep the chip for a jffs2 file system???
> 
> 
> Use the DOS tools if you can. Or look on SnapGear's web site to see if
> you can find an 'inftl_format' tool. 

I keep an nftl_format in the uClinux-dist code base that is capable
of formating INFTL as well.

Get the whole package and use uClinux-dist/user/mtd-utils/nftl_format.c

http://www.uclinux.org/pub/uClinux/dist/

Or just pull it from CVS at:

http://cvs.uclinux.org/cgi-bin/cvsweb/uClinux-dist/user/mtd-utils/nftl_format.c

It doesn't currently support erase sizes of 0x10000 either though...

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg <at> snapgear.com
(Continue reading)

dkey | 1 Jun 17:01 2004
Picon
Picon

mtd and 2.6.5_linuxppc (mvista) kernel does not boot

I patched the 2.6.5_linuxppc kernel from mvista linuxppc-2.5 tree with the 
current jffs2/mtd code and built an image with the mkfs.jffs2 from utils.
mkfs.jffs2 options i used:
mkfs.jffs2 -b -e 131072 -p -o jffs2.img -r cdkflash/jffs2/

I built a cramfs (kernel) + jffs2 (root) image. Here is the partition table:
0x00000000-0x00120000 : "DreamBOX cramfs"
0x00120000-0x007c0000 : "DreamBOX jffs2"
0x007c0000-0x00800000 : "DreamBOX OpenBIOS"
0x00000000-0x007c0000 : "DreamBOX (w/o bootloader)"
0x00000000-0x00800000 : "DreamBOX (w/ bootloader)"

Partition size and offset in the flash is ok, as it works with jffs2 from 
2.6.5_linuxppc kernel.

Kernel compiled with following jffs2 configuration:
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
# CONFIG_JFFS2_FS_NAND is not set
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_JFFS2_LZO is not set
# CONFIG_JFFS2_LZARI is not set
# CONFIG_JFFS2_CMODE_NONE is not set
CONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
CONFIG_JFFS2_PROC=y

My problem is now, that the image does not boot with newer jffs2/mtd patch. 
(Continue reading)

Carlos, John J USAATC | 1 Jun 18:45 2004
Picon

INFTL_FORNAT ???

Does anyone have a copy of inftl_format?  I can't locate a copy and need it
to format my DOC Mil Plus 32.  If anyone could please tell me where to find
it.  I have looked on the Snapgear site and have not been able to locate it.

Thanks,
John

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

David Woodhouse | 1 Jun 18:58 2004

Re: INFTL_FORNAT ???

On Tue, 2004-06-01 at 12:45 -0400, Carlos, John J USAATC wrote:
> Does anyone have a copy of inftl_format?  I can't locate a copy and need it
> to format my DOC Mil Plus 32.  If anyone could please tell me where to find
> it.  I have looked on the Snapgear site and have not been able to locate it.

If it isn't where Greg said it was 2 hours ago then I don't know where
it is.

--

-- 
dwmw2

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Bernardo Innocenti | 1 Jun 22:15 2004

TRIVIAL: Fix linux/mtd/nftl.h for user-space inclusion


Fix linux/mtd/nftl.h for user-space inclusion (required to build mtd-utils).

Please apply.

--- linux-2.6.6-uc0/include/linux/mtd/nftl.h	2004-05-10 04:33:13.000000000 +0200
+++ linux-2.6.6-uc0-develer/include/linux/mtd/nftl.h	2004-06-01 22:03:36.824225250 +0200
 <at>  <at>  -8,7 +8,6  <at>  <at> 
 #define __MTD_NFTL_H__

 #include <linux/mtd/mtd.h>
-#include <linux/mtd/blktrans.h>

 /* Block Control Information */

 <at>  <at>  -76,6 +75,8  <at>  <at> 

 #ifdef __KERNEL__

+#include <linux/mtd/blktrans.h>
+
 /* these info are used in ReplUnitTable */
 #define BLOCK_NIL          0xffff /* last block of a chain */
 #define BLOCK_FREE         0xfffe /* free block */

--

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

______________________________________________________
(Continue reading)

David Woodhouse | 1 Jun 22:29 2004

Re: TRIVIAL: Fix linux/mtd/nftl.h for user-space inclusion

On Tue, 2004-06-01 at 22:15 +0200, Bernardo Innocenti wrote:
> Fix linux/mtd/nftl.h for user-space inclusion (required to build mtd-utils).
> 
> Please apply.

It should be including mtd/nftl-user.h not linux/nftl.h

--

-- 
dwmw2

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Bernardo Innocenti | 1 Jun 23:13 2004

Re: TRIVIAL: Fix linux/mtd/nftl.h for user-space inclusion

David Woodhouse wrote:
> On Tue, 2004-06-01 at 22:15 +0200, Bernardo Innocenti wrote:
> 
>>Fix linux/mtd/nftl.h for user-space inclusion (required to build mtd-utils).
>>
>>Please apply.
> 
> It should be including mtd/nftl-user.h not linux/nftl.h

The header nftl-user.h doesn't exist in neither
linux-2.6.6 and in the version of mtd-utils
imported in uClinux-dist (a rather old version,
I shall admit).

If nftl.h isn't supposed to be included from user-space,
the "#ifdef __KERNEL__ ... #endif" it contains is
useless.

I may change mtd-utils locally, but I think this
fix should also go into the kernel "just in case".

--

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

(Continue reading)


Gmane