XIP Kernel freeze

Jared Hulbert jaredeh at gmail.com
Tue Jul 29 12:35:31 EDT 2008


You can turn on MTD_XIP "XIP aware MTD support"

> kernel freezes when booting on this line from cfi_probe.c:
>
> cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL);
> cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL);
> --->>> cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL);
>
When you issue that last command it will trigger the Flash to output
status instead of data.


> This board has two 16bit NOR Flahs devices configured as one 32bit memory.
> Overall 32Mbytes Flash. Memory chips are Spansion S29PL127.

If the flash has multiple hardware partitions you might be able to
simply move the kernel to the end of the chip instead of the
beginning.



More information about the linux-mtd mailing list