Embedded flash memory issue with Linux 2.6.10 kernel....




I'm using the 2.6.10 kernel on a custom circuit board based on
Freescales MCF5485evb evaluation board. My board has different flash
memory than the evaluation board and so requires different flash
drivers than the BSP that was provided with the board.

The flash memory I am using is the Intel P33 (256P33B) NOR flash. I
have two chips with the chip selects tied to the same logic line. The
chips are on the Flexbus of the Coldfire processor (MCF5484). I'm able
to work with the flash fine in the boot loader (Colilo) after porting
the driver template from Intel into it. My question is how do I
configure MTD to work with this. I've set the beginning address and
the size. This is CFI complient flash. I've set a chip interleave of 2
with a 32 bit bus. As the kernel is booting I keep getting the
message:

================================================
$Id: ftl.c,v 1.54 2004/11/16 18:33:15 dwmw2 Exp $
Unlock all sector for Intel on Fire Engine...
physmap flash device: 4000000 at f0000000
phys_mapped_flash: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x010A
Unknown Intel/Sharp Extended Query version 1.4.
gen_probe: No supported Vendor Command Set found
reset unlock called 555 2aa
Search for id:(1fe0089 f0008922) interleave(1) type(4)
reset unlock called 555 aaa
- - - -
- - - -
reset unlock called aaa 555
Search for id:(890089 10001) interleave(2) type(4)
Search for id:(890089 10001) interleave(2) type(4)
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition definition
Creating 2 MTD partitions on "phys_mapped_flash":
0x00000000-0x00040000 : "Colilo (256K)"
mtd: Giving out device 0 to Colilo (256K)
ftl_cs: FTL header not found.
0x00040000-0x00200000 : "user (other Flash memory) 2Mb-256K"
mtd: Giving out device 1 to user (other Flash memory) 2Mb-256K
ftl_cs: FTL header not found.
======================================================

My root file system is NFS mounted (I'm trying to get it on the flash)
so it will continue on
and boot. I can look at /proc/mtd and it shows the two areas listed
above. However if I try
to mount the mtdblock device the mounting fails. The "gen_probe: No
supported Vendor Command Set found" message is obviously critical but
with this being a CFI device how
can that be? Is it because the chip selects are tied together?

Kinda stuck here. Any help/suggestions much appreciated!!
.



Relevant Pages

  • Burning smell
    ... A couple of days ago i was on vacation and when i put a Memory stick pro ... flash chip into my ZV6000's memory slot reader thing and while the ... burning smell followed by the screen flashing and then freezing. ... I then checked to see if the computer recognized the flash ...
    (comp.sys.laptops)
  • Re: XU1541 and more USB stuff
    ... memory. ... coming along nicely this week (FAT12/16/32/LFN support working for read ... for significantly more buffering reducing the overhead of the USB ... lots of flash and ram. ...
    (comp.sys.cbm)
  • Re: making a removable SSD drive nonremovable
    ... Using a FLASH based memory card in the way you suggest is a very bad idea. ... Putting in a FLASH based memory will make Windows take a very significant performance hit. ... Are you certain that it's not battery backed RAM? ...
    (microsoft.public.windowsxp.hardware)
  • Re: Lifetime of flash memory
    ... FILE ON USB MEMORY" have come out of this. ... and overuse may wear out your memory stick pretty quickly. ... Do _not_ use journalling filesystems on flash memory sticks.) ...
    (Linux-Kernel)
  • Re: making a removable SSD drive nonremovable
    ... Using a FLASH based memory card in the way you suggest is a ... Putting in a FLASH based memory will make ... Are you certain that it's not battery backed RAM? ...
    (microsoft.public.windowsxp.hardware)