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

Re: jffs for amd Am29LV160BB

>>>They should work fine. Isn't the 29LV160 a 16Mib (== 2MiB) chip, though?
>>>Meaning you have 4MiB of flash in total.
>> i'm not really sure that i understand you, i have 32bit bus and _two_
>> 4MB 16bit chips. so that would give me total of 8MB flash.

>You have said that you're using two Am29LV160 chips. As far as I can tell
>from the AMD web site, they're _not_ 4MiB chips, they're 2MiB chips...

ok, my fault they are indeed 2MiB chips. but i have two chips in each
bank. still resulting in total of 4MiB of flash.


>        Am29LV160D
>        16 Mbit (2 M x 8-Bit/1 M x 16-Bit)

>See also http://www.amd.com/products/nvd/techdocs/22358.pdf

>> another thing that i noticed is that 29LV160DD and 29LV160DB chips are
>> listed in amd_flash.c this file would be compiled for non-cfi compliant
>> AMD chips, but AMD schematic for 29LV160D.. says that they are cfi
>> compliant. am i missing something here ??

>Those chips can be driven either by the old pre-CFI driver (which also
>lists them explicitly as 2MiB chips), or by the new CFI driver. CFI
>doesn't provide a common interface for driving flash chips - only a common
>interface for querying them to see what interface you _do_ need for
>driving them. In all cases, manufacturers have just added the CFI
>capability and then continued to use the original 'command sets'. So after
>the initial probe, the code for driving CFI type 2 (AMD) chips is
>basically identical to the code in the old AMD-specific chip driver. Some
>time in the 2.5 timeframe, we're hoping to merge them properly.

now it seems like it's not detecting my flash bank 1. i have remapped
them as follows,

static struct map_desc brutus_io_desc[] __initdata = {
 /* virtual     physical    length      domain     r  w  c  b */
  { 0xe8000000, 0x00000000, 0x00400000, DOMAIN_IO, 1, 1, 0, 0 }, /*
flash bank 0 */ 
  { 0xe8400000, 0x00800000, 0x00400000, DOMAIN_IO, 1, 1, 0, 0 }, /*
flash bank 1 */ 
  { 0xf1000000, 0x18000000, 0x01000000, DOMAIN_IO, 1, 1, 0, 0 }, /* BCR

i'm not sure why it's not working !! any ideas ??

by the way, i don't get mail from you or the list. i subscribed to



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com