Vexpress mtdparts question
Matt Waddel
matt.waddel at canonical.com
Wed Aug 25 17:15:46 BST 2010
I am trying to map the nor flash on the Versatile Express platform
to an mtd partition. I have tried a bunch of variations with the
kernel command line "mtdparts" directive, without success.
Here is the last one I tried:
mtdparts=armflash-1.0:1M(uboot),9M(linux),16M(uInitrd)
The kernel seems to detect the flash parts correctly:
...
armflash-0: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
armflash-1: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
Concatenating MTD devices:
(0): "armflash-0"
(1): "armflash-1"
into device "armflash"
RedBoot partition parsing not available
...
$ cat /proc/mtd
dev: size erasesize name
<nothing listed>
Any ideas?
Thanks,
Matt
More information about the Linaro-dev
mailing list