Re: eboot.bib question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




OALStartup is not something standard and doesn't tell
us anything. It is not likely an entry point for your
bootloader. Perhaps you are linking your bootloader
against some library containing the actual entry point
(normally called StartUp) which in turn calls your
OALStartup.

If you don't touch the BOOTJUMP switch the entry
point is located at RAMIMAGE + 4K, in your case
0x801D0000 + 0x1000.


And if you do touch the BOOTJUMP:

<snip>
If BOOTJUMP is not defined, Romimage.exe generates a jump from
the jump page to the StartUp address in the run-time image. This
is the default.

If BOOTJUMP=NONE, the jump page is generated, but the jump
instruction is removed. This results in the assumption of a
StartUp point that is located at the beginning of the run-time
image.

If BOOTJUMP=x, Romimage.exe generates a jump from the jump page
to some OEM-supplied startup code, which eventually jumps to
StartUp.
</snip>


- Oleg


Alli Dem wrote:
Hi,

when i set BOOTJUMP=NONE then eboot starts from Startup but doesn't jump to OALStartup.
if i remove this line then eboot doesn't start.
what is the correct Lauch address for eboot when no BOOTJUMP line or how can
i launch to OALStartup code?

eboot.bib
RAM 800E4800 00090000 RAM
etest 801D0000 00040000 RAMIMAGE

CONFIG
BOOTJUMP=NONE
AUTOSIZE=OFF
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=801D0000
ROMSIZE=40000
ROMWIDTH=32

i have a small ipl which copies PXA 270 eboot.nb0 to address A01D0000 at SDRAM and Launch same address on startup.
eboot EXEENTRY is StartUp

i modify eboot and remove lines which copies itself to SDRAM. so OALStartup starts from CODEINRAM section .


Thanks
Alli



.



Relevant Pages

  • Re: eboot.bib question
    ... reason in switching MMU on/off every time. ... ; jump to OALStartUp ... value the time you are in StartUp. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: eboot.bib question
    ... I don't think it is the jump itself. ... LEAF_ENTRY StartUp ... =OALStartUp; Virtual address of OALStartUp ... addresses so that when MMU is turned on the image layout ...
    (microsoft.public.windowsce.platbuilder)
  • Re: eboot.bib question
    ... > it didn't jump to GoPhysical. ... reason in switching MMU on/off every time. ... ; jump to OALStartUp ... value the time you are in StartUp. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: eboot.bib question
    ... it didn't jump to GoPhysical. ... reason in switching MMU on/off every time. ... ; jump to OALStartUp ... value the time you are in StartUp. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: eboot.bib question
    ... it is a standart mainstone ii eboot file. ... LEAF_ENTRY OALStartUp ... and MMU turned on, your bootloader's StartUp ... and jump to the bootloader's "C" main... ...
    (microsoft.public.windowsce.platbuilder)