Re: bug in CEPC boot loader!!!!
- From: "gissa" <ghielec@xxxxxxxxxxxxxxxxxx>
- Date: 15 Sep 2006 03:34:24 -0700
Michel,
I tried to send you a private email but I think you do not have a
"spam" email on this group. Is there a way I can contact you? Should I
just call your company?
Gus
Michel Verhagen (eMVP) wrote:
Your systems should be able to run CE without major problems. CE does
not make any BIOS calls. Keep in mind that if you use LoadCEPC you need
DOS, and DOS needs a BIOS. If you use a BIOS replacement, you have to
make sure you initialize everything yourself, so that CE can start
without problems, or just initialize the most important devices (SDRAM,
storage, and whatever else you need to load CE into RAM and jump to it)
and let CE initialize everything else. Many options, and best of all,
you get to decide whatever you want. Endless possibilities... :D
Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com
gissa wrote:
Now it all make sense!!! I completely missed that the program that
loads CEPC loader on the PC passes these arguments itself!!!
OK now can someone tell me what is the requirements of a system to run
CEPC? I have AMD Elan SC520 processor+64MB SDRAM+2 serial ports+1ms
timer mapped to IRQ0. Do I need anything else? Does CEPS do any BIOS
calls.
Thanks,
Gus Issa
Michel Verhagen (eMVP) wrote:
Our team of psychologists have investigated your issue and came to the
following conclusion:
-- Patient is totally and utterly insane ;)
You are forgetting that it is indeed the first phase loader ROMBOOT,
BIOSLOADER or LoadCEPC that is initializing the pointer at the location
BOOT_ARG_PTR_LOCATION_NP. EBOOT, SBOOT or whatever you are using as a
2nd phase loader just gets the pointer stored in this location to GET
the boot arguments that are passed by ROMBOOT, BIOSLOADER or LoadCEPC.
I'm sure you'll return to sanity soon!
Get well,
Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com
gissa wrote:
This is a sanity check that I am not crazy!--
In main.c of SBOOT I see this
pBootArgs = (BOOT_ARGS *) ((ULONG)(*(PBYTE
*)BOOT_ARG_PTR_LOCATION_NP));
This gets a pointer to the boot arguments but the boot arguments
*pointer* was not intialized anywhere in the code!!!
Here is what you see in ROMBOOT or BIOSLOADER this is what you see and
I think this is how it should be in SBOOT and EBOOT
((ULONG)(*(PBYTE *)BOOT_ARG_PTR_LOCATION_NP)) = BOOT_ARG_LOCATION_NP;
pBootArgs = (BOOT_ARGS *) ((ULONG)(*(PBYTE
*)BOOT_ARG_PTR_LOCATION_NP));
Can someone tell me if I am crazy?
Gus
--
.
- References:
- bug in CEPC boot loader!!!!
- From: gissa
- Re: bug in CEPC boot loader!!!!
- From: Michel Verhagen (eMVP)
- Re: bug in CEPC boot loader!!!!
- From: gissa
- Re: bug in CEPC boot loader!!!!
- From: Michel Verhagen (eMVP)
- bug in CEPC boot loader!!!!
- Prev by Date: Re: SD card driver development.
- Next by Date: Re: SD card driver development.
- Previous by thread: Re: bug in CEPC boot loader!!!!
- Next by thread: system locks up
- Index(es):
Relevant Pages
|