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

Re: jffs for amd Am29LV160BB





On Mon, 23 Apr 2001, dhammika wrote:

> 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
> */
>   LAST_DESC
> };
>
> i'm not sure why it's not working !! any ideas ??

Don't forget to adjust your brutus_max_flash_size in sa1100-flash.c to
0x00800000 to cover the entire mapped area.  It doesn't matter if your flash
chips aren't contigous inside the mapping, as long as the entire virtual
mapping is and you specified the correct size for it in sa1100-flash.c.


Nicolas


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