-
Senior Member
registered user
Howto: Recycling BIOS chips as etherboot roms for Knoppix
I had an idea for a while but was never able to test it until now. My local used computer store has a big bin full of old motherboards for 2$ each. So I thought I could harvest the bios chips and flash them with boot proms. I tried and it worked! Here's what I did.
Flash Chip : 29ee010 128KB 5V Flash
Software : Uniflash 1.30
3c59xcfg.exe (from the driver set on 3com.com)
Compressed Rom image from Rom-O-Matic
http://www.rom-o-matic.net/5.1.8/
Cygwin for Windows with Perl
NIC : 3Com 3C595-TX (PCI ID: 10b7:5950)
First before you do anything, make sure that you have the correct rom image by using the lzdisk version of the rom (dd if=3c595.lzdsk of=/dev/fd0) or (fdimage 3c595.dsk a: {You'll have to shorten the long filename that rom-o-matic makes into an 8.3 filename for fdimage to work} ). Once you have confirmed the image works with the card, go to the next step.
First I tried to flash the 16kb boot rom image into the 128kb flash chip. Uniflash gave me an error saying there was a size mismatch and I said continue anyway. Then Uniflash crashed with error #100.
I figured it didn't like the mismatched file so I did the following within Cygwin (linux will work as well)
(cat 5950.rom; perl -e 'print "\xFF" x 114688') > 5950128.rom
What this does is takes the 16kb rom file (in this case 5950.rom) and pads it with 114688 bytes of xFF. You end up with a 131072 byte file beginning with the 16kb image.
I then started up uniflash and hot-swapped the flash chip on the motherboard and loaded the 128KB image. (I had earlier tried to flash the chip while it was in the 3com card, but uniflash said it was write protected) It gave me a boot block error and recommended flashing with the boot block. I said "ok". I then exited uniflash but then started it again and flashed one more time for good measure. This time it didn't give me a boot block error.
I put the newly flashed chip into the 3C595 card and booted. But nothing. The card was detected but it didn't load the boot rom. I then remembered 3c59xcfg.exe. I loaded it and enabled the rom with 16kb. Again it didn't work. So I just set to the largest rom it supported which was 64kb.
Finally.... Success!!
So now I can set up a computer as a diskless workstation to load Knoppix via net boot or any of the other thin/thick client linux distros.
I guess I was just lucky that this NIC had a socket that would fit the larger 32 pin bios chips. I've seen other nics that only took 28 pin bios chips. I'm not sure what would happen if you flashed a chip and let the extra 4 pins hang over the edge.. If they are address pins then it might not matter.. I have more NICs floating around so I might try those also.
I hope you found this informative and of use to you.
-
Senior Member
registered user
Very interesting stonent- I'll have to try that as soon as I get my LCD connected, my server built, my FM xmitter finished and a few other things.
-
Senior Member
registered user
Does this mean we can use just an old motherboard instead of a ROM Flasher by "hot-swapping" the BIOS?
-
Senior Member
registered user
Yes, that was what I did since I have a lot of old boards laying around.
-
Senior Member
registered user

Originally Posted by
stonent
Yes, that was what I did since I have a lot of old boards laying around.
Hmmm, really interesting! Just out of curiosity, what kinds of memory can be flashed like this? I am thinking of the chips with a little "window" for UV light on their upper side (How are they called? EEPROMS I believe). Those are used in many devices for firmware. Since you have many boards sitting around, perhaps you could try one of those as well.
-
Senior Member
registered user
Those are eproms, you can't flash them, you have to have an eprom programmer which I don't.
-
Senior Member
registered user
by hotswap, do you mean unplug the flash when the system is on ? I am a bit confused here.
BTW, is there a 'pure' linux solution as uniflash seems to be a window program
-
Senior Member
registered user
Yes that is exactly what I mean. Uniflash runs under DOS or freedos. If you want a linux version I guess google for it. I dunno.
Similar Threads
-
By Tec in forum Networking
Replies: 2
Last Post: 03-15-2004, 04:56 PM
-
By dave in forum General Support
Replies: 5
Last Post: 01-29-2004, 12:13 AM
-
By Mogiin in forum Hardware & Booting
Replies: 2
Last Post: 11-22-2003, 08:01 PM
-
Replies: 13
Last Post: 10-26-2003, 04:04 AM
-
By bronstein in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 09-04-2003, 07:49 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Cisco SFP-10G-SR Transceiver
$4.00

Cisco Acacia DP04QSDD-E20-001 400G QSFP-DD Optical Transceiver New - Unused
$389.00

Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack
$260.00

For Cisco SFP-10G-T-X Module, 10G SFP to RJ-45 Copper, 10GBase-T, 1/2.5/5/10Gbps
$39.99

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

10Gb SFP+ to RJ45 Module Copper Cat6 Transceiver Compatible w/5Gb/ 2.5Gb/ 1Gb
$31.95

Cisco SFP-10G-SR-S SFP+ 10-3105-01 MMF Transceiver Module/Hologram.
$6.00

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

30PCS Sealed Cisco SFP-10G-SR 10GBASE-SR SFP+ Transceiver Module MMF 850nm 300m
$499.99