FYI: NOR support requires enabling Intel/Sharp flash in the kernel configuration and the following adjustments to the following file:
rpm/BUILD/linux-2.6.19.2/arch/arm/mach-mx3/mx31lpd.c
"Kernel" .size = 512 * 1024 * 3
and
mxc_flash_resource .end = 0xa0000000 + 0x00200000 -1
The lpd board has 2MB of NOR flash, the first 512kB dedicated to LoLo, and the remainder available for use.
The boot message will look like:
MXC MTD nor Driver 2.0
mxc_nor_flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in mxc_nor_flash.0 at offset 0x1f0000
No RedBoot partition table detected in mxc_nor_flash.0
Creating 2 MTD partitions on "mxc_nor_flash.0":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x00200000 : "Kernel"
and /proc/mtd might look like:
dev: size erasesize name
mtd0: 00080000 00010000 "Bootloader"
mtd1: 00180000 00010000 "Kernel"
mtd2: 00200000 00004000 "nand.kernel"
mtd3: 03e00000 00004000 "nand.rootfs"
mtd4: 04000000 00004000 "<NULL>"
mtd5: 04000000 00004000 "<NULL>"
|