All of lore.kernel.org
 help / color / mirror / Atom feed
* nflt_format and fdisk ???
@ 2001-11-15 14:45 SHIKUILIANG
  0 siblings, 0 replies; only message in thread
From: SHIKUILIANG @ 2001-11-15 14:45 UTC (permalink / raw)
  To: linux-mtd; +Cc: mtd

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]

Useing a doc2000 device (32Mb) and a kernel v2.4.14.

After insert some MTD modules :
mtdcore docecc doc2000 mtdchar mtdblock and nftl;
I run nflt_format to format my doc2000 chip;
but it complain :Erasesize not 8Kb - I'm confused!

For someone's advice I skip the erasesize check in nftl_format.c.
so nftl_format works well.
but when I run fdisk on /dev/nftla.
it's say :
You will not be able to write partition table.
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel Building a new DOS disklabel.Changes will remain in memory only,until
you decide to write them.After that, of course,the previous content won't be
recoverable.

Command (m for help):

Even if I created a partition and enter "w",the partition also can not be writed
into /dev/nftla.

run nftldump on /dev/mtd0:
NFTL Media Header found at offset 0x00000000:
NumEraseUnits: 2048
FirstPhysicalEUN:0
Formatted Size:33488896
UnitSizeFactor: 0xff
Second NFTL Media Header found at offset 0x00004000
Unit 0 is free
Unit 1 is free
...
...










¼Óн£¬ÉýÖ°ÃÜóÅ
http://www.englishtown.com/master/home/courseoverview.asp?etag=TOCN&ctr=cn



===============================================
 
ÊÖ»úºÅÂëÊǵçÓÊ£¬´Ó´Ë½»·Ñ²»ÓóһºÅÔÚÊÖ¡°ËæÉíÓÊ¡±
 
¡ª¡ª 163¡°ËæÉíÓÊ¡±ÊÖ»úÓÊÏä ¡ª¡ª
¡ò ÊÖ»úºÅÂë¾ÍÊǵç×ÓÓÊÏ䵨ַ£¬·½±ã¼ÇÒä
¡ò ²»ÓÃÉÏÍø£¬Í¸¹ýÊÖ»ú¶ÌÐÅ£¬ËæÊ±ÕÆÎÕÓʼþµÄ½ÓÊÕÇé¿ö
¡ò ¾ö²»´í¹ýÈκÎÉÌÒµÁ¼»ú
¡ò ·½±ãµÄ°´ÔÂÊÕ·Ñ·½Ê½£¬×îµÍÿÔÂÖ»Ðè5Ôª
 
ÏêÇéÇëä¯ÀÀ
http://vip.163.net/mobile/mobile.htm
 
===============================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-15 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-15 14:45 nflt_format and fdisk ??? SHIKUILIANG

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.