Re: Bios-Bootloader details

From: Damjan (gdamjan_at_gmail.com)
Date: 11/18/04


Date: Thu, 18 Nov 2004 18:33:32 +0100


> In particular, where the BIOS finisies the POST and jumps to the
> predefined location where the bootloader code is executed. I believe while
> the BIOS is running the processor is configured in real mode. So when the
> bootloader code is executing, will the processor switch to protected
> mode?( i am not sure).

The linux kernel is started in real-mode... I even think there's some
initialization code that must be executed in real mode by the kernel before
it switches to protected mode.

> If the processor runs the bootloader in real mode
> then it can see only 1MB of RAM. In this case if the linux image is
> greater than 1MB how can it uncompress the image?

Probably by using tricks to access more than that. there were programs that
alowed real mode DOS programs to use more than 1mb.

> Could anyone give me some pointers about this execution ??

you should probably search for documentation of how lilo or grub work.

-- 
damjan


Relevant Pages

  • bootloader-bios interaction
    ... I am looking for the boot sequence for Linux OS ... where the BIOS finisies the POST and jumps to the predefined ... code is executing, will the processor switch to protected mode?(i am not ... If the processor runs the bootloader in real mode then it can see ...
    (comp.os.linux.embedded)
  • Bios-Bootloader details
    ... I am looking for the boot sequence for Linux OS ... where the BIOS finisies the POST and jumps to the predefined ... code is executing, will the processor switch to protected mode?(i am not ... If the processor runs the bootloader in real mode then it can see ...
    (comp.os.linux.development.system)
  • Re: bootloader-bios interaction
    ... > location where the bootloader code is executed. ... > code is executing, will the processor switch to protected mode?(i am not ... No,bootloader running in real mode then it do not load the whole kernel ...
    (comp.os.linux.embedded)
  • Re: bootloader-bios interaction
    ... >> location where the bootloader code is executed. ... >> running the processor is configured in real mode. ... >> code is executing, will the processor switch to protected mode?(i am ...
    (comp.os.linux.embedded)
  • Re: AMD Geode LX processor - Simple Assembly Code
    ... Modern 80x86 CPUs begin executing in real mode, ... Combined with "EIP = 0xFFF0" this means the first instruction executed ... Most of your questions regarding the addressing used in the source ...
    (comp.lang.asm.x86)