* DOC problems on PowerPC
@ 2001-05-14 14:13 Felix Radensky
2001-05-14 14:36 ` Shuh C Chang
2001-05-16 0:34 ` Ollie Lho
0 siblings, 2 replies; 3+ messages in thread
From: Felix Radensky @ 2001-05-14 14:13 UTC (permalink / raw)
To: Linux-mtd
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DOC problems on PowerPC
2001-05-14 14:13 DOC problems on PowerPC Felix Radensky
@ 2001-05-14 14:36 ` Shuh C Chang
2001-05-16 0:34 ` Ollie Lho
1 sibling, 0 replies; 3+ messages in thread
From: Shuh C Chang @ 2001-05-14 14:36 UTC (permalink / raw)
To: Felix Radensky, Linux-mtd
> 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" <felix@allot.com>
To: "Linux-mtd" <linux-mtd@lists.infradead.org>
Sent: Monday, May 14, 2001 9:13 AM
Subject: 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.
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DOC problems on PowerPC
2001-05-14 14:13 DOC problems on PowerPC Felix Radensky
2001-05-14 14:36 ` Shuh C Chang
@ 2001-05-16 0:34 ` Ollie Lho
1 sibling, 0 replies; 3+ messages in thread
From: Ollie Lho @ 2001-05-16 0:34 UTC (permalink / raw)
To: Felix Radensky; +Cc: Linux-mtd
Felix Radensky wrote:
>
> 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.
>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-16 0:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-14 14:13 DOC problems on PowerPC Felix Radensky
2001-05-14 14:36 ` Shuh C Chang
2001-05-16 0:34 ` Ollie Lho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox