DOC problems on PowerPC
Hi, all
I was able to solve the DOC problems on PowerPC I've reported yesterday.
All I had to do is to run "eraseall /dev/mtd0", then run "nftl_format /dev/mtd0"
and then create partitions with fdisk.
Can someone please explain me the difference between eraseall and nftl_format.
HOWTO says nothing about it.
By the way, the latest mtd code would not compile, at least on my 2.4.2 kernel
unless you add #include <linux/kmod.h> to chipreg.c. This is because of
a call to request_module() in do_map_probe(), which IMHO should be under #ifdef CONFIG_KMOD, and not #ifdef CONFIG_MODULES.
Quoted 1 line
All I had to do is to run "eraseall
/dev/mtd0",
Is "eraseall" equivalent to the DOS utility "docpmap /e" in functionality? Anyone who can shed some light?
Shuh Chang
----- Original Message -----
From: "Felix Radensky" <[email protected]>
To: "Linux-mtd" <[email protected]>
Sent: Monday, May 14, 2001 9:13 AM
Subject: DOC problems on PowerPC
Quoted 24 lines
Hi, all
I was able to solve the DOC problems on PowerPC I've reported yesterday.
All I had to do is to run "eraseall
/dev/mtd0", then run "nftl_format/dev/mtd0"
and then create partitions with fdisk.Can someone please explain me the difference between eraseall and
nftl_format.
HOWTO says nothing about it.By the way, the latest mtd code would not compile, at least on my 2.4.2 kernel
unless you add #include <linux/kmod.h> tochipreg.c. This is because ofa call to
request_module()indo_map_probe(), which IMHO should be under #ifdefCONFIG_KMOD, and not #ifdefCONFIG_MODULES.______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Quoted 5 lines · Felix Radensky
Hi, all
I was able to solve the DOC problems on PowerPC I've reported yesterday.
Quoted 8 lines
All I had to do is to run "eraseall
/dev/mtd0", then run "nftl_format/dev/mtd0"
and then create partitions with fdisk.Can someone please explain me the difference between eraseall and
nftl_format.
HOWTO says nothing about it.
For flash devices either NOR type or NAND type. You can only turn each bits for 1 state to 0 by a "write" command. If you want to turn a bit from 0 to 1, you have to erase the device. Each device has its onw minimal erase size i.e. if you want to erase onely 1 byte in a erase region, you have to erase the whole erase region.
The nftl_format is used somewht like "low-level" format for old HDs.
Ollie