I've done this myself recently.. I just enabled the MTD device in my
kernel and wrote a little application that open /dev/mtdblock0 and writes
the BIOS into it ..
I also had to add some chip ids to the jedec_probe but thats because I was
using some non-intel chips..
On Mon, 9 Aug 2004 P at draigBrady.com wrote:
> Today I wanted to flash my BIOS from linux.
> This was definitely not obvious to me so...
>> I've an intel 82802AC chip and to write a new
> BIOS I tried in this order
>> devbios (took ages to compile and could only read not write)
>http://linux.dell.com/biosdisk/ (seemed like too much hassle)
> linux-mtd (needed cvs which took more than my 10m limit to compile)
> dosemu (after zapping emm, xmms, dpmi, I still got protection errors)
>> Then I noticed freebios. It supersedes openbios
> and is in active development. (Note I asked some
> questions on the openbios IRC channel and was
> not directed towards freebios?). Anyway you need
> to download the cvs tree, so:
>> cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/freebios login
> cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/freebios co
> cd freebios/util/flash_and_burn/ && make && strip flash_rom
>> Now you can use the flash_rom binary to flash various BIOS.
> For me I did:
>> flash_rom -c 82802ac bios.bin
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!