Usage: Difference between revisions
Jump to navigation
Jump to search
(→Howto) |
|||
Line 10: | Line 10: | ||
==== Howto ==== | ==== Howto ==== | ||
Here's an example on how to flash sgabios on an nvidia video card: | |||
* download flashrom | |||
* apply that patch: | |||
diff --git a/gfxnvidia.c b/gfxnvidia.c | |||
index d0a9feb..35e4687 100644 | |||
--- a/gfxnvidia.c | |||
+++ b/gfxnvidia.c | |||
@@ -110,7 +110,7 @@ int gfxnvidia_init(void) | |||
rpci_write_long(dev, 0x50, reg32); | |||
/* Write/erase doesn't work. */ | |||
- programmer_may_write = 0; | |||
+ //programmer_may_write = 0; | |||
register_par_programmer(&par_programmer_gfxnvidia, BUS_PARALLEL); | |||
return 0; | |||
* compile it |
Revision as of 15:01, 4 May 2013
Usage scenarios
Flash BIOSes or coreboot
Flash ipxe
Flashrom can be used to flash ipxe on network cards, but also on other kind of cards used as a carrier.
Flash sgabios
Flashrom can be used to flash ipxe on graphic cards, but also on other kind of cards used as a carrier.
Howto
Here's an example on how to flash sgabios on an nvidia video card:
- download flashrom
- apply that patch:
diff --git a/gfxnvidia.c b/gfxnvidia.c index d0a9feb..35e4687 100644 --- a/gfxnvidia.c +++ b/gfxnvidia.c @@ -110,7 +110,7 @@ int gfxnvidia_init(void) rpci_write_long(dev, 0x50, reg32); /* Write/erase doesn't work. */ - programmer_may_write = 0; + //programmer_may_write = 0; register_par_programmer(&par_programmer_gfxnvidia, BUS_PARALLEL); return 0;
- compile it