Hi Tiago,
On Tue, Jan 22, 2008 at 03:21:38AM +0000, Tiago Marques wrote:
> Hi!
> I have recently tried the flashrom software and it ended up saving my day.
> I had a dead board, but with flashrom I managed to hotflash without
> having to take that crap from proprietary flash software that it
> doesn't let me flash because the bios I want to put there is different
> or whatever.
>
> I managed to successfully flash in a board with a VT8237R, which
> wasn't supported, by adding the proper ID.
Great to hear. Please post a patch to [email protected] with a
Signed-off-by line, see
http://www.coreboot.org/Development_Guidelines#Sign-off_Procedure
> Also I would like to know what can I do to have one of the bios chip I
> have here added to the support, which is the W39V04C from winbond.
> I didn't find any documentation in how to do that.
The datasheet for the chip is here:
http://www.winbond.com/hq/enu/ProductAndSales/ProductLines/FlashMemory/ParallelFlash/ParallelFlash/W39V040C.htm
If you're lucky it's similar enough to one of the other ones and you
only need to add the proper chip ID. If you meant the 'W39V040C'
(note the added '0') then please try the attached patch. Note that
I didn't carefully check the datasheet, I just blindly added the IDs,
so there's no guarantee it'll actually work ;-)
The ID is mentioned on page 11 ('Product Identification Registers').
> Is there any kind of ML for flashrom development?
Yes, flashrom development happens on the coreboot (previously known
as LinuxBIOS) mailing list (CC'd), see http://www.coreboot.org/Mailinglist.
I recommend to subscribe to that list.
Cheers, Uwe.
--
http://www.hermann-uwe.de | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
Add support for the Winbond W39V040C chip.
Signed-off-by: Uwe Hermann <[EMAIL PROTECTED]>
Index: flash.h
===================================================================
--- flash.h (Revision 3068)
+++ flash.h (Arbeitskopie)
@@ -251,6 +251,7 @@
#define W_39V040FA 0x34
#define W_39V040A 0x3D
#define W_39V040B 0x54
+#define W_39V040C 0x50
#define W_39V080A 0xD0
#define W_49F002U 0x0B
#define W_49V002A 0xB0
Index: flashchips.c
===================================================================
--- flashchips.c (Revision 3068)
+++ flashchips.c (Arbeitskopie)
@@ -120,6 +120,8 @@
probe_jedec, erase_chip_jedec, write_39sf020},
{"W39V040B", WINBOND_ID, W_39V040B, 512, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020},
+ {"W39V040C", WINBOND_ID, W_39V040C, 512, 64*1024,
+ probe_jedec, erase_chip_jedec, write_39sf020},
{"W39V080A", WINBOND_ID, W_39V080A, 1024, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020},
{"W25x10", WINBOND_NEX_ID, W_25X10, 128, 256,
--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot