[Help] SST39VF6401B Support
Flávio Silveira
fggs at terra.com.br
Fri Sep 24 06:56:19 EDT 2010
Hi Guillaume,
I tried another router firmware with kernel 2.6.34.5, downloaded
mtd-2.6.git and pasted chips folder and "linux/mtd" headers, applied your
last patch and kernel compiled fine.
I've also enabled debug in kernel and cfi. Should I paste console log in
message body or should I attach a file with the log?
I had an error but I don't know if it's related to mtd or the firmware,
because my router is not officialy supported.
Regards,
Flavio
----- Original Message -----
From: "Guillaume LECERF" <glecerf at gmail.com>
To: "Flávio Silveira" <fggs at terra.com.br>
Cc: <linux-mtd at lists.infradead.org>; "Yegor Yefremov"
<yegorslists at googlemail.com>
Sent: Thursday, September 23, 2010 12:33 PM
Subject: Re: [Help] SST39VF6401B Support
2010/9/23 Flávio Silveira <fggs at terra.com.br>:
> I think I might found something:
>
> In cfi_probe.c, starting at line 222, there are these lines:
>
> cfi_send_gen_cmd(0xaa, addr_unlock1, base, map, cfi, cfi->device_type,
> NULL);
> cfi_send_gen_cmd(0x55, addr_unlock2, base, map, cfi, cfi->device_type,
> NULL);
> cfi_send_gen_cmd(0x90, addr_unlock1, base, map, cfi, cfi->device_type,
> NULL);
>
> Which seems the correct way to CFI query the chip, but the last line is
> 0x90.
> Datasheet states that 0x90 is Software ID and CFI Query Entry is 0x98
>
> Could that be the problem?
No. This snippet comes from the function in charge of identifying the
chip and its capacities.
CFI Query Entry (0x98) is handled by cfi_qry_mode_on() in cfi_util.c.
Humm...
Could you try the attached patch ?
--
Guillaume LECERF
GeeXboX developer - www.geexbox.org
--------------------------------------------------------------------------------
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
More information about the linux-mtd
mailing list