Welcome to PCForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

BIOS Flash mapping

 
   Hardware Problem Solving Community! (Home) -> Chips RSS
Next:  4300 vs 4400  
Author Message
Alfie Noakes

External


Since: Apr 27, 2007
Posts: 2



(Msg. 1) Posted: Fri Apr 27, 2007 5:56 am
Post subject: BIOS Flash mapping
Archived from groups: comp>sys>ibm>pc>hardware>chips (more info?)

In the past I've done lots of embedded flash programming at work, so
decided to have a muck about with the flash BIOS in an old Pentium II
I've got.

The flash is a 1 Mbit (128k x Cool device and I can see a hunk of it in
memory at segment F000, but I can't find the other 64K (it's not at
E000), which means I can't get the flash ident commands to work
because I don't know the device base address.

I've tried hunting for the BIOS sig of the missing missing 64k
(0x55AA) at 64k intervals from 1Meg right up to the top of the address
space at 4G but with no joy. I've tried this using unreal mode under
DOS and also booting straight into a little bare bones protected mode
shell I wrote but still can't find the bugger.

And yes - I have enabled the A20 line.

The last BIOS team I worked on was for a 286 many years ago so I'm
probably missing something that's been introduced for later processors
but no amount of Googling has given me a clue.

So....... any clues?

Regards,
Alfie.

 >> Stay informed about: BIOS Flash mapping 
Back to top
Login to vote
Franc Zabkar

External


Since: Sep 10, 2005
Posts: 125



(Msg. 2) Posted: Sat Apr 28, 2007 8:35 am
Post subject: Re: BIOS Flash mapping [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 27 Apr 2007 09:08:01 GMT, Alfie Noakes
<AlfieNoakes.RemoveThis@blueyonder.co.uk> put finger to keyboard and composed:

>
>In the past I've done lots of embedded flash programming at work, so
>decided to have a muck about with the flash BIOS in an old Pentium II
>I've got.
>
>The flash is a 1 Mbit (128k x Cool device and I can see a hunk of it in
>memory at segment F000, but I can't find the other 64K (it's not at
>E000), which means I can't get the flash ident commands to work
>because I don't know the device base address.
>
>I've tried hunting for the BIOS sig of the missing missing 64k
>(0x55AA) at 64k intervals from 1Meg right up to the top of the address
>space at 4G but with no joy. I've tried this using unreal mode under
>DOS and also booting straight into a little bare bones protected mode
>shell I wrote but still can't find the bugger.
>
>And yes - I have enabled the A20 line.
>
>The last BIOS team I worked on was for a 286 many years ago so I'm
>probably missing something that's been introduced for later processors
>but no amount of Googling has given me a clue.

>So....... any clues?
>
>Regards,
>Alfie.

The BIOS address space usually remaps to the top of memory, ie
FFFE0000 - FFFFFFFF. Windows users can see this area identified in the
memory resources of Device Manager.

What you are seeing at F000 is the runtime portion of the decompressed
BIOS code. Unlike 286 BIOSes, newer BIOSes decompress various modules,
eg POST routines, on an as-needed basis. After the POST completes,
then the runtime code can replace it in memory. At least that's how I
think it works.

Uniflash is a program that does what you want. It is also able to make
use of NICs to program suitable EEPROM devices.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.

 >> Stay informed about: BIOS Flash mapping 
Back to top
Login to vote
Alfie Noakes

External


Since: Apr 27, 2007
Posts: 2



(Msg. 3) Posted: Sat Apr 28, 2007 8:35 am
Post subject: Re: BIOS Flash mapping [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for the info. I had already been steered to UniFlash thanks to
these two excellent links someone had posted in another newsgroup

http://www.geocities.com/mamanzip/Articles/Award_Bios_RE/Award_Bios_RE...ide.htm

http://www.geocities.com/mamanzip/Articles/Low_Cost_Embedded_x86_Teach..._Tool.h

Looking through the source for UniFlash I can see it has all the info
I need to do the mapping.

Thanks for the help,
Long live USENET!

Alfie.



On Sat, 28 Apr 2007 08:35:11 +1000, Franc Zabkar
<fzabkar.TakeThisOut@iinternode.on.net> wrote:


>
>The BIOS address space usually remaps to the top of memory, ie
>FFFE0000 - FFFFFFFF. Windows users can see this area identified in the
>memory resources of Device Manager.
>
>What you are seeing at F000 is the runtime portion of the decompressed
>BIOS code. Unlike 286 BIOSes, newer BIOSes decompress various modules,
>eg POST routines, on an as-needed basis. After the POST completes,
>then the runtime code can replace it in memory. At least that's how I
>think it works.
>
>Uniflash is a program that does what you want. It is also able to make
>use of NICs to program suitable EEPROM devices.
>
>- Franc Zabkar
 >> Stay informed about: BIOS Flash mapping 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
bios flash protection - thanks in advance for reading this post and for any reply or help ;) i have a msi 845 pro and i made a mistake by reseting de bios putting the jumper in resenting mode with the main power on so i have corrupted the information of my bios and it stops...

BIOS CHIPS : New Replacement Bios Chips or re-flash - visit www.bioschips.webhop.net For Replacement chips $14 re-flash of existing chip $8

Award BIOS flash update failed (I think) - Since I needed to install a 120G hdd I upgraded my BIOS to 6.00 from 4.51PG yesterday. I bought this update at esupport.com after running their tool to identify my old BIOS version. The upgrade itself worked like a charm, no errors during install. At ....

flash memory vs RAM - hi all. great group, i've lurked before but <of course> now i have a real question; i haven't been able to find the answer anywhere else. i recently received as a gift a fairly sweet used thinkpad x21 2662 with 128mb of RAM. everything i've read ...

Flash memory producers - For the longest time Intel was the world's largest flashram producer, followed by the Fujitsu & AMD joint venture. Now it looks like Samsung and Toshiba have bypassed both groups and are now #1 & #2. ..
   Hardware Problem Solving Community! (Home) -> Chips All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]