[LinuxBIOS] Flashrom on PCI cards?

Li-Ta Lo ollie at lanl.gov
Fri Oct 26 23:21:19 CEST 2007


On Fri, 2007-10-26 at 15:10 -0600, Li-Ta Lo wrote:
> On Fri, 2007-10-26 at 22:53 +0200, Peter Stuge wrote:
> > On Fri, Oct 26, 2007 at 02:07:40PM -0600, Li-Ta Lo wrote:
> > > I may have a need to use flashrom to program the BIOS chip
> > > on a PCI card instead of the main BIOS. Did anyone have a
> > > modified version of flashrom to do this?
> > 
> > I did the reverse; programmed a flash chip with flashrom and then
> > soldered it onto a PCI card. :p
> > 
> > 
> > > Devbios used to do that.
> > 
> > flashrom doesn't support it. :\
> > 
> > 
> 
> I know. I am just asking before I am going to implement it myself.
> 

BTW, what is the TS5300 thing? Transmeta? Does it mean the base of
flash rom is always 0x94000000 and grow up according to the size
of flash chip?

#ifdef TS5300
                // FIXME: Wrong place for this decision
                // FIXME: This should be autodetected. It is trivial.
                flash_baseaddr = 0x9400000;
#else
                flash_baseaddr = (0xffffffff - size + 1);
#endif

Ollie








More information about the coreboot mailing list