Results 1 to 8 of 8

Thread: Howto: Recycling BIOS chips as etherboot roms for Knoppix

  1. #1
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139

    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.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    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.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Does this mean we can use just an old motherboard instead of a ROM Flasher by "hot-swapping" the BIOS?

  4. #4
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139
    Yes, that was what I did since I have a lot of old boards laying around.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote 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.

  6. #6
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139
    Those are eproms, you can't flash them, you have to have an eprom programmer which I don't.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    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

  8. #8
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139
    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

  1. Just -can't- get Etherboot to work
    By Tec in forum Networking
    Replies: 2
    Last Post: 03-15-2004, 04:56 PM
  2. Etherboot not working
    By dave in forum General Support
    Replies: 5
    Last Post: 01-29-2004, 12:13 AM
  3. LG cd-roms and Knoppix 3.3
    By Mogiin in forum Hardware & Booting
    Replies: 2
    Last Post: 11-22-2003, 08:01 PM
  4. KNOPPIX, now with etherboot!
    By eadz in forum News
    Replies: 13
    Last Post: 10-26-2003, 04:04 AM
  5. I am not able to found others hard disks and cd roms units
    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
  •