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

Re: Flash ROM disappears?



On Wed, Sep 15, 2004 at 05:46:30PM +0200, Michael Boehmer wrote:
> But booting leads to the following error message - any ideas?

[snip]

> cse0: Probing a 0x04000000 bytes large window at 0xe0000000.

The AMD-probe should say something like "Probing for AMD compatible 
flash..." on cse0 here. Make sure that CONFIG_MTD_OBSOLETE_CHIPS, 
CONFIG_MTD_AMDSTD and CONFIG_MTD_CONCAT are enabled in kernelconfig 
(CONFIG_MTD_CFI and CONFIG_MTD_CFI_AMDSTD are enabled and must remain 
so).

The AMD probe ought to detect the flash on cse0 in the MCM and the CFI 
probe detects your external flash on cse1. The axisflashmap driver 
will the concat these two to a MTD device called "cse0+cse1".

> CFI: Found no cse0 device at location zero
> cse1: Probing a 0x04000000 bytes large window at 0xe4000000.
> Amd/Fujitsu Extended Query Table v1.3 at 0x0040
> number of CFI chips: 1
> cfi_cmdset_0002: Disabling fast programming due to code brokenness.
> cse1: 0x00800000 bytes of flash memory.

Will be "cse0+cse1: 0x00a00000 bytes of flash memory." if you 
configure the kernel as described above.

> Found a valid partition table at 0xf001000a-0xf0010056.
> /dev/flash1 at 0x00010000, size 0x00350000
> /dev/flash2 at 0x00360000, size 0x002a0000
> Adding readonly flash partition for romfs image:
> /dev/flash3 at 0x000b1f67, size 0x0014e000
> Creating 4 MTD partitions on "cse1":
>   0x00000000-0x00010000 : "part0"
>   0x00010000-0x00360000 : "part1"
>   0x00360000-0x00600000 : "part2"
>   0x000b1f67-0x001fff67 : "romfs"

By the way, MBM29LP640 is a 64Mbit flash (8MBytes not 4MBytes).

/Jonas