Problem with finding flash device AM29F040B
Thayne Harbaugh
tharbaugh at lnxi.com
Mon Jul 14 09:31:57 EDT 2003
On Sun, 2003-07-13 at 20:02, Dmytro Bablinyuk wrote:
> I have a MPC866ADS out of the box board and I got linux running from
> ramdisk.
> But I could not get flash (AM29F040B) working with 2.4.21 kernel.
> I tried to specify phys map but I still have:
I haven't ever used phys map - it may work. You may need to probe the
chip before it can be used by phys map.
>
> physmap flash device: 200000 at 2800000
> CFI: Found no Physically mapped flash device at location zero
> kmod: failed to exec /sbin/modprobe -s -k jedec_probe, errno = 2
> kmod: failed to exec /sbin/modprobe -s -k map_rom, errno = 2
Aren't these obvious errors WRT the config options you list below?
> Could somebody please give me a clue about this.
> Thank you in advance for any help.
>
> Some details of my kernel config:
>
> #
> # Mapping drivers for chip access
> #
> CONFIG_MTD_PHYSMAP=y
> CONFIG_MTD_PHYSMAP_START=2800000
> CONFIG_MTD_PHYSMAP_LEN=200000
> CONFIG_MTD_PHYSMAP_BUSWIDTH=2
> # CONFIG_MTD_TQM8XXL is not set
> # CONFIG_MTD_RPXLITE is not set
> # CONFIG_MTD_MBX860 is not set
> # CONFIG_MTD_DBOX2 is not set
> # CONFIG_MTD_CFI_FLAGADM is not set
> # CONFIG_MTD_REDWOOD is not set
> # CONFIG_MTD_PCI is not set
> # CONFIG_MTD_PCMCIA is not set
>
> #
> # RAM/ROM/Flash chip drivers
> #
> CONFIG_MTD_CFI=y
> # CONFIG_MTD_JEDECPROBE is not set
I suggest turning this on.
> CONFIG_MTD_GEN_PROBE=y
> # CONFIG_MTD_CFI_ADV_OPTIONS is not set
> # CONFIG_MTD_CFI_INTELEXT is not set
> # CONFIG_MTD_CFI_AMDSTD is not set
> # CONFIG_MTD_CFI_STAA is not set
> # CONFIG_MTD_RAM is not set
> # CONFIG_MTD_ROM is not set
> # CONFIG_MTD_ABSENT is not set
> CONFIG_MTD_OBSOLETE_CHIPS=y
> CONFIG_MTD_AMDSTD=y
>
> #
> # Memory Technology Devices (MTD)
> #
> CONFIG_MTD=y
> # CONFIG_MTD_DEBUG is not set
CONFIG_MTD_DEBUG is also helpful - turni it on and set
CONFIG_MTD_DEBUG_VERBOSE to 3. The kernel output might be useful to
figure out where things are failing (this can be turned off once
everything is working).
> CONFIG_MTD_PARTITIONS=y
> # CONFIG_MTD_CONCAT is not set
> # CONFIG_MTD_REDBOOT_PARTS is not set
> # CONFIG_MTD_CMDLINE_PARTS is not set
> CONFIG_MTD_CHAR=y
> CONFIG_MTD_BLOCK=y
> # CONFIG_FTL is not set
> # CONFIG_NFTL is not set
--
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20030714/abdb8f13/attachment.bin
More information about the linux-mtd
mailing list