<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>
<DIV><FONT size=2>Hello.</FONT></DIV>
<DIV><FONT size=2>I am JUN from seoul Korea</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I have any question for using flash
filesystem(ext2).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I use intel assabet board.</FONT></DIV>
<DIV><FONT size=2>and I used</FONT><FONT size=2>
kernel-2.4.1 </FONT></DIV>
<DIV><FONT
size=2>.
patch-2.4.1-rmk1</FONT></DIV>
<DIV><FONT
size=2>.
diff-2.4.1-rmk1-np2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>and "<STRONG>make xconfig" checked</STRONG></FONT></DIV>
<DIV><FONT size=2> Memory Technology Devices
(MTD) </FONT></DIV>
<DIV><FONT size=2>
---> Memory Technology Device (MTD) support
(*)
---->
check<BR>
and other item check....</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> File systems <BR>
Journalling Flash File System (JFFS) support (EXPERIMENTAL)
(*)
---->check<BR>
----------- this item is not relation to ext2 filesystem.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>and <STRONG>kernel source modified</STRONG>.
<BR> linux/init/main.c <BR> #ifdef
CONFIG_MTD<BR> { "mtdblock", 0x1f00 },<BR> { "mtd2",
0x1f02
},
-------------------> add<BR> #endif</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> linux/drivers/mtd/sa1100-flash.c<BR> static struct
mtd_partition assabet_partitions[] = {<BR> { offset:
0, size: 0x00040000, },<BR> { offset:
MTDPART_OFS_APPEND, size: 0x007c0000,
},
-------------> modify<BR> { offset:
MTDPART_OFS_APPEND, size: MTDPART_SIZ_FULL }<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>next, I compiled kernel</FONT></DIV>
<DIV><FONT size=2>"make dep"</FONT></DIV>
<DIV><FONT size=2>"make zImage"</FONT></DIV>
<DIV><FONT size=2>"make modules"</FONT></DIV>
<DIV><FONT size=2>"make modules_install"</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>and download kernel & ramdisk</FONT></DIV>
<DIV><FONT size=2>after booting, I try make filesystem.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>"cat /proc/mtd"</FONT></DIV>
<DIV><FONT size=2> dev:
size erasesize
name<BR> mtd0: 00040000 00040000
"<NULL>" <BR> mtd1: 007c0000 00040000
"<NULL>"<BR> mtd2: 01800000 00040000
"<NULL>"</FONT></DIV>
<DIV><FONT size=2>"mknod</FONT> <FONT size=2>/dev/mtd2 b 31 2"</FONT></DIV>
<DIV><FONT size=2>"mke2fs /dev/mtd2"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>But not made filesystem with error.</FONT></DIV>
<DIV><FONT size=2>message when make filesystem is:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>#<STRONG>mke2fs /dev/mtd2</STRONG><BR>mke2fs 1.19, 13-Jul-2000
for EXT2 FS 0.5b, 95/08/09<BR>Filesystem label=<BR>OS type: Linux<BR>Block
size=1024 (log=0)<BR>Fragment size=1024 (log=0)<BR>6144 inodes, 24576
blocks<BR>1228 blocks (5.00%) reserved for the super user<BR>First data
block=1<BR>3 block groups<BR>8192 blocks per group, 8192 fragments per
group<BR>2048 inodes per group<BR>Superblock backups stored on blocks:
<BR>8193</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Writing inode tables:
0/31/32/3done
<BR>Writing superblocks and filesystem accounting information: </FONT></DIV>
<DIV><FONT size=2><BR>mtdblock: erase of region [0x840000, 0x40000] on
"<NULL>" failed</FONT></DIV>
<DIV><FONT size=2>end_request: I/O error, dev 1f:02 (mtdblock), sector
32768</FONT></DIV>
<DIV><FONT size=2>mtdblock: erase of region [0x840000, 0x40000] on
"<NULL>" failed</FONT></DIV>
<DIV><FONT size=2>end_request: I/O error, dev 1f:02 (mtdblock), sector
32776</FONT></DIV>
<DIV><FONT
size=2>.
.</FONT></DIV>
<DIV><FONT size=2><FONT
size=2>.
.</FONT></FONT></DIV>
<DIV><FONT size=2><FONT
size=2>.
.</FONT></FONT></DIV>
<DIV><FONT size=2><FONT
size=2>.
.</FONT></FONT></DIV>
<DIV><FONT size=2>mtdblock: erase of region [0x840000, 0x40000] on
"<NULL>" failed</FONT></DIV>
<DIV><FONT size=2>end_request: I/O error, dev 1f:02 (mtdblock), sector
32784</FONT></DIV>
<DIV><FONT size=2>mtdblock: erase of region [0x840000, 0x40000] on
"<NULL>" failed</FONT></DIV>
<DIV><FONT size=2>end_request: I/O error, dev 1f:02 (mtdblock), sector
32792</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><STRONG>What is problem?</STRONG></FONT></DIV>
<DIV><FONT size=2>I try kernel compile, modified and downloading in the last
4days.</FONT></DIV>
<DIV><FONT size=2>But I don't making flash filesystem. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>please Help me.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I am sorry that my poor english.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Thank you for read this mail.</FONT></DIV>
<DIV><FONT size=2>Best regard
JUN.</FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML>