Re: bootloader-bios interaction

From: du (duqiang2050_at_sohu.com)
Date: 11/21/04


Date: Sun, 21 Nov 2004 21:11:27 +0800


"Uday Mullangi" <udaymullangi@lucent.com>
> Hi,
>
> I am looking for the boot sequence for Linux OS (Intel P4 processor)
> 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

No,bootloader running in real mode then it do not load the whole kernel
image.
Bootloader only load part of kernel,and jump to it.
In the kernel ,there is a asm function named setup() switch the processor to
protected mode and call startup_32().The startup_32 do something and load
other
part of kernel image

> sure). 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?
> Could anyone give me some pointers about this execution ??
>
> Thanks
> Uday
>
>



Relevant Pages

  • 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: Bios-Bootloader details
    ... where the BIOS finisies the POST and jumps to the ... > predefined location where the bootloader code is executed. ... > the BIOS is running the processor is configured in real mode. ... > bootloader code is executing, will the processor switch to protected ...
    (comp.os.linux.development.system)
  • Re: bootloader-bios interaction
    ... > location where the bootloader code is executed. ... I believe while the BIOS is ... > code is executing, will the processor switch to protected mode?(i am not ... If you have a kernel up to 2.4.x with sources, ...
    (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)
  • Re: [PATCH 12/12] i386 boot: Add an ELF header to bzImage
    ... whereas an ELF file will typically be entered in protected ... quite possibly using the C calling convention to pass the command line as ... that is used after the real mode code has been run. ... it doesn't help if what you end up with for some bootloader is a nonfunctioning kernel. ...
    (Linux-Kernel)