[LinuxBIOS] flashrom support for AMD CS5536

Nikolay Petukhov nikolaypetukhov at gmail.com
Fri Nov 23 08:05:32 CET 2007

2007/11/22, "Alan Alexander" <alan at IceraSemi.com>:
> Hi all,
> I've recently checked out and built revision 2977 of flashrom in order
> to apply a simple BIOS configuration change to approx 200 embedded Linux
> devices.
> Unfortunately although flashrom is able to read the contents of the BIOS
> flash, writes fail to take (verification fails).
> The system basics are as follows:
>         IEI NanoLX Board (AMD LX800 + CS5536 + Winbond W83627EHG)
> http://www.ieiworld.com/en/product_IPC.asp?model=NANO-LX
>         Linux Kernel Version 2.6.20
>         Flash part identified by flashrom as Pm49FL004 at physical
> address 0xfff80000 (512 KB)
> I see from the source code that the CS5536 chipset is directly supported
> and that the code attempts to remove the write protection via MSR
> 0x1808. This all looks good and yet the writes fail to take. I assume
> therefore that this board is using some GPIOs to disable writes to the
> BIOS flash?
> Does it sound likely that GPIOs are causing the write problem that I am
> seeing? Does anyone know how I might go about figuring out which GPIOs
> to look at?
> Any help would be very appreciated.
> Best regards,
> Alan Alexander          mailto:alan at icerasemi.com
> Icera Inc, 2520 The Quadrant, Aztec west, Bristol BS32 4AQ, UK
> Tel. +44 (0)1454 284805

I have the same problems with flashrom on iei/pcisa-lx.
http://www.ieiworld.com/en/product_IPC.asp?model=PCISA-LX (Flash Pm49FL004)

Info from pm49fl002/4's manual: Pm49fl002/4 write protected at power up.
This patch fix it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinuxBIOSv2-2978-pm49fl00x.diff
Type: text/x-patch
Size: 7549 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071123/ff9a4649/attachment.diff>

More information about the coreboot mailing list