Hello, I've tried google for the last 5 minutes. I can't remember how to backup the original BIOS. I fried my working flash copy of it, and have only the original, which I'd like to extract and put into another working part as safety, but can't find how I did it in the first place.
flash_rom -r will do it.
Or if you are using MTD, just cat /dev/mtd0 > some_random_file
will do it.
If this works, send me a FAQ entry and I'll put it on there. :-)
ron
I think you were advised to use dumpdevmem in the utils directory before.
I've just been trying to use it myself, and discovered that the output is not that of my BIOS.
I have a 256k bios, so tried
dumpdevmem 0xFFFC0000 0x40000 > file
Of course, it didn't produce the correct data until I tried
dumpdevmem 0xFFFC 0x40000 > file
but dumpdevmem --help says:
Usage: ./dumpdevmem [high 16 bits of base address [size]] Dumps dev mem, starting at either argv[1]<<16 or (default) 0xffe00000 for 0x200000 bytes (i.e. last 2MB of memory Example: ./dumpdevmem 0xfff00000 0x100000 <<<<<<<<<<<<<<<<<<<<<<<< Wrong ! Dumps last 1M of memory to stdout
Personally, I would prefer the base address to be not shifted, as that has the least suprise for me, so get rid of all those <<16.
I still can't get flash_rom to recognise my AM29F040 though.
-- Peter Fox peter.fox@aeroflex.com Aeroflex Test Solutions Principal Design Engineer Stevenage Any opinions expressed above are http://www.aeroflex.com/ not necessarily those of Aeroflex. Tel: + 44 (0) 1438 742200
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org]On Behalf Of Nathanael Noblet Sent: 13 October 2003 18:00 To: linuxbios@clustermatic.org Subject: forgetful...
Hello, I've tried google for the last 5 minutes. I can't remember how to backup the original BIOS. I fried my working flash copy of it, and have only the original, which I'd like to extract and put into another working part as safety, but can't find how I did it in the first place.
-- Nathanael Noblet Gnat Solutions 4604 Monterey Ave NW Calgary, AB T3B 5K4
T/F 403.288.5360 C 403.809.5368
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios