[LinuxBIOS] [PATCH] flashrom patch for iwill dk8_htx

Luc Verhaegen libv at skynet.be
Wed Apr 25 23:27:21 CEST 2007

On Wed, Apr 25, 2007 at 05:02:11PM -0400, Ning (Michael) Qu wrote:
> Hi, Peter,
> These are two things I did when I use this patch (however it works on my board):
> 1 add a option to the flashrom command line, such as:
>   -m iwill:dk8_htx
>   It seems that flashrom rely on some information of LinuxBIOS in
> CMOS, so before the first running of LinuxBIOS, there's nothing in
> CMOS for LinuxBIOS, I have to add this option to make flashrom know
> what my mainboard is.
> 2 I add a new entry in the table which is a little different from
> Mondrian's. And I think both of these two entry are needed for
> different dk8-htx mainboards.
>        { 0x1022, 0x7468, 0x1022, 0x7468,  0x0000, 0x0000, 0x0000, 0x0000,
>                "iwill", "dk8_htx", "IWILL DK8-HTX", board_iwill_dk8htx },
> We will appreciate if you can add this patch into the official svn. It
> helps a lot!
> Best,
> Ning

There are two full sets of pci ids possible in that structure.

A full set consists of:
* vendor id
* device id
* subsystem/card vendor id
* subsystem/card vendor id

There are two sets here, to ensure a good board match, as vendors tend
to do awkward things.

These two full sets of ids have no other purpose but to correctly and 
uniquely match a board. The board specific code goes on to try to find 
the device it needs to talk to itself.

Are you sure that the subsystem ids of the device matched by 0x1022, 
0x7468 are 0x1022, 0x7468 too?

Please just find 2 different devices from your motherboard that have 
subsystem ids that differ from the main ids. That way, you don't need to 
provide the board name as an argument.

Yes, once linuxbios is installed, it'll try to match on name, but please 
also make correct use of subsystem ids under linuxbios.

Luc Verhaegen.

More information about the coreboot mailing list