* Problem with finding flash device AM29F040B
@ 2003-07-14 2:02 Dmytro Bablinyuk
2003-07-14 13:31 ` Thayne Harbaugh
0 siblings, 1 reply; 2+ messages in thread
From: Dmytro Bablinyuk @ 2003-07-14 2:02 UTC (permalink / raw)
To: linux-mtd
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:
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
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
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_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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with finding flash device AM29F040B
2003-07-14 2:02 Problem with finding flash device AM29F040B Dmytro Bablinyuk
@ 2003-07-14 13:31 ` Thayne Harbaugh
0 siblings, 0 replies; 2+ messages in thread
From: Thayne Harbaugh @ 2003-07-14 13:31 UTC (permalink / raw)
To: Dmytro Bablinyuk; +Cc: linux-mtd
[-- Attachment #1: Type: text/plain, Size: 2344 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-14 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-14 2:02 Problem with finding flash device AM29F040B Dmytro Bablinyuk
2003-07-14 13:31 ` Thayne Harbaugh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox