Trouble performing BIOS flash via PXE.

Posted on 2006-07-19
Last Modified: 2008-01-09
Hello all,

I have a need to be able to flash a BIOS via a PXE boot. My PXE boot image is a standard MS DOS 6.22 disk with the flash util and binary on it. I will apologize for the length but I thought being thorough would be best:

The PXE boot image is the same image that I use via floppy. If I boot the floppy image and perform the BIOS uprade it works fine. As soon as I use the image delivered via PXE the BIOS upgrade fails, wiping out the BIOS in the process.

When booting from the floppy and flashing the BIOS, the last 8 blocks never get overwritten (3FE000 and higher), stating that there is no update. This seems to be normal for the operation and the BIOS updates successfully to the newer version.
When performing the same process via PXE, it overwrites those last 8 blocks. After this happens the unit is unbootable and I am prompted by the Award BootBlock notice stating that there is a BIOS ROM Checksum error. This doesnt make any sense since I am using the identical image as the floppy.

I am using the award 823b flash utility (awfl823b.exe) which is suggested by the manufacturer of the motherboard (Via).
I believe the issue centers around memory management. Here are the contents of my config.sys and autoexec.bat files:

shell=a:\ /E:512 /P

@echo off
a:\awfl823b.exe i010010f.bin

I understand that EMM386 is bad when performing BIOS flashes, but this is something that predates me at this company and it has worked successfully in the past.

Here is what I have tried:
1) removing the autoexec.bat and config.sys files - This would perform the BIOS upgrade but list 4 blocks as "write failed" and so it would not perform the update
2) removing EMM386 from config.sys - same results as #1
3) removing himem.sys and emm386 from congig.sys - same results as #1
4) I have tried flashing the BIOS with the switch that prevents writing the boot block. No change. If emm386 and himem are loaded it wipes out the BIOS, if not then it gives the same results as #1

I have to admit I am stumped. Any suggestions from you gurus out there that might have run into this? I am currently looking into a different DOS as well as a different flashing utility but so far I haven't met with any success (I haven't spent much time on it to be fair).

Any help would be appreciated.


Question by:mweyant_marlin

Author Comment

ID: 17148429
I have since tried tried this process using PC DOS instead of MS DOS with the same results. Any thoughts?
LVL 32

Expert Comment

ID: 17151576
Other than using a "clean boot disk" (no autuexec, config, etc) which you tryed, I have no idea.

I had one that wouldn't Flash from the floppy, but if I booted from the floppy and changed to the HD and ran the flash from there, it worked flawlessly.  Ain't hardware fun...
LVL 88

Expert Comment

ID: 17152054
Have you tried different settings in the BIOS itself, like trying the flash using "failsafe" settings, or shutting off all the shadowing, maybe setting the "memory hole" option, disabling cache etc?
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.


Author Comment

ID: 17153347
I havent tried anything in the BIOS itself. I will look into the shadowing possibility.

Author Comment

ID: 17184695
Well as a quick update I still have no idea what was causing this issue. I have circumvented this by unloading himem.sys and including ramdrive.sys. Once the ramdrive is loaded I copy the bios binary and flash utility to the ramdrive and run the update from there. This seemed to be a work around but I would love to know what the actual cause was..
LVL 32

Expert Comment

ID: 17190070
Glad you got it working.

As to what the problem is, I have no idea. I got tired of messing with mine, and just chalked it up to "one of those things". Maybe one of these days I will come across some info that will explain it.
LVL 32

Expert Comment

ID: 17323687
PAQ - Refund

Original question has No Known Answer, but he came up with an interesting work around.

Accepted Solution

ee_ai_construct earned 0 total points
ID: 17382213
PAQ / Refund
ee ai construct, community support moderator

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Computer not booting 8 42
Home RAID setup 17 152
Windows 10 Anniversary Update Causing Explorer.exe to crash 12 274
USB ports on desktop not working 10 69
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question