Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - M index
The Linux kernel configuration item CONFIG_MTD_CMDLINE_PARTS
has multiple definitions:
drivers/mtd/parsers/Kconfig
The configuration item CONFIG_MTD_CMDLINE_PARTS:
CONFIG_MTD
cmdline
, cmdlinepart
, cmdlinepart
Allow generic configuration of the MTD partition tables via the kernel command line. Multiple flash resources are supported for hardware where different kinds of flash memory are available.
You will still need the parsing functions to be called by the driver for your particular device. It won't happen automatically. The SA1100 map driver (MTD_SA1100) has an option for this, for example.
The format for the command line is as follows:
mtdparts=<mtddef>[;<mtddef] <mtddef> := <mtd-id>:<partdef>[,<partdef>] <partdef> := <size>[@offset][<name>][ro] <mtd-id> := unique id used in mapping driver/device <size> := standard linux memsize OR "-" to denote all remaining space <name> := (NAME)
Due to the way Linux handles the command line, no spaces are allowed in the partition definition, including mtd id's and partition names.
Examples:
1 flash resource (mtd-id "sa1100"), with 1 single writable partition: mtdparts=sa1100:-
Same flash, but 2 named partitions, the first one being read-only: mtdparts=sa1100:256k(ARMboot)ro,-(root)
If unsure, say 'N'.
drivers/mtd/Kconfig
The configuration item CONFIG_MTD_CMDLINE_PARTS:
CONFIG_MTD
cmdline
, cmdlinepart
, cmdlinepart
Allow generic configuration of the MTD partition tables via the kernel command line. Multiple flash resources are supported for hardware where different kinds of flash memory are available.
You will still need the parsing functions to be called by the driver for your particular device. It won't happen automatically. The SA1100 map driver (MTD_SA1100) has an option for this, for example.
The format for the command line is as follows:
mtdparts=<mtddef>[;<mtddef] <mtddef> := <mtd-id>:<partdef>[,<partdef>] <partdef> := <size>[@offset][<name>][ro] <mtd-id> := unique id used in mapping driver/device <size> := standard linux memsize OR "-" to denote all remaining space <name> := (NAME)
Due to the way Linux handles the command line, no spaces are allowed in the partition definition, including mtd id's and partition names.
Examples:
1 flash resource (mtd-id "sa1100"), with 1 single writable partition: mtdparts=sa1100:-
Same flash, but 2 named partitions, the first one being read-only: mtdparts=sa1100:256k(ARMboot)ro,-(root)
If unsure, say 'N'.
drivers/mtd/Kconfig
The configuration item CONFIG_MTD_CMDLINE_PARTS:
CONFIG_MTD = "y"
cmdline
, cmdlinepart
, cmdlinepart
Allow generic configuration of the MTD partition tables via the kernel command line. Multiple flash resources are supported for hardware where different kinds of flash memory are available.
You will still need the parsing functions to be called by the driver for your particular device. It won't happen automatically. The SA1100 map driver (MTD_SA1100) has an option for this, for example.
The format for the command line is as follows:
mtdparts=<mtddef>[;<mtddef] <mtddef> := <mtd-id>:<partdef>[,<partdef>] <partdef> := <size>[@offset][<name>][ro] <mtd-id> := unique id used in mapping driver/device <size> := standard linux memsize OR "-" to denote all remaining space <name> := (NAME)
Due to the way Linux handles the command line, no spaces are allowed in the partition definition, including mtd id's and partition names.
Examples:
1 flash resource (mtd-id "sa1100"), with 1 single writable partition: mtdparts=sa1100:-
Same flash, but 2 named partitions, the first one being read-only: mtdparts=sa1100:256k(ARMboot)ro,-(root)
If unsure, say 'N'.
Raw data from LKDDb:
lkddb module cmdline CONFIG_MTD_CMDLINE_PARTS : drivers/mtd/Kconfig : "Command line partition table parsing" # in 2.5.45–2.5.70
lkddb module cmdlinepart CONFIG_MTD_CMDLINE_PARTS : drivers/mtd/Kconfig : "Command line partition table parsing" # in 2.5.71–2.5.75, 2.6.0–2.6.7, 3.9–3.19, 4.0–4.20, 5.0–5.3
lkddb module cmdlinepart CONFIG_MTD_CMDLINE_PARTS : drivers/mtd/parsers/Kconfig : "Command line partition table parsing" # in 5.4–5.19, 6.0–6.12, 6.13-rc+HEAD
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - M index
Automatically generated (in year 2024). See also LKDDb sources on GitLab