RE: questions on commandline partitions for NOR and NAND MTD fllashes on Linux 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> "<mtd-id>  := unique name used in mapping driver/device (mtd->name)"

>  such as "edb7312-nor" and "edb7312-nand" ...

> is it a unique name, which I should entirely make up on my own or else
?

This is the name of your mtd device. You cannot pick any value. I think
the name defaults to phys_mapped_flash (??)

-
Sekhar Nori

-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Alexander
Povolotsky
Sent: Wednesday, February 09, 2005 8:36 PM
To: kernelnewbies@xxxxxxxxxxxx
Subject: questions on commandline partitions for NOR and NAND MTD
fllashes on Linux 2.6 


Hello,

With regard to this subject, I was referred to the comment and example
in drivers/mtd/cmdlinepart.c  .
It is still unclear for me from the comment and example in
drivers/mtd/cmdlinepart.c  - how I come up with the:

 "<mtd-id>  := unique name used in mapping driver/device (mtd->name)"

 such as "edb7312-nor" and "edb7312-nand" ...

is it a unique name, which I should entirely make up on my own or else ?

Also speaking of the sizes for partitions: - I suppose that for the NOR
flash, the size info from the commandline is processed together with the
info on the total size of the NOR flash, which is provided in 

.config's CONFIG_MTD_PHYSMAP_LEN
- am I correct in my above conjecture ?

However, this leaves unexplained how the total size of the NAND flash is
derived, say for the given above
example: edb7312-nand:-(home). In this notation - it merely refers to
"all remaining space" (which in particular example I think means: entire
space of the NAND flash - correct ?). So how the total size of the NAND
flash is derived ? (I do not see any .config entry for this info with
regards to NAND flash).

Thanks,
Alex

___________________________________________________________________
Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/month -visit http://www.juno.com/surf to sign up today!


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux