Re: bug in CEPC boot loader!!!!



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

--


--

.



Relevant Pages

  • Re: bug in CEPC boot loader!!!!
    ... 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 and let CE initialize everything else. ... BIOSLOADER or LoadCEPC that is initializing the pointer at the location ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Opening a file.
    ... is not only expecting a pointer, it is expecting a pointer to a valid ... Bruce.Eitman AT EuroTech DOT com ... Michael Salamone, eMVP ... "Michael Salamone" wrote: ...
    (microsoft.public.windowsce.app.development)
  • Re: Need to get rid of small portion of the task bar visible and get r
    ... Michel Verhagen, eMVP ... I need a desktop with no taskbar and no mouse pointer. ... Removed corresponding components for Standard Shell and WinCE ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Multiple indirection mess-up...
    ... >In the following program I allocate a block of pointers to type char, ... I suspect the fault is in the pointer manipulations between ... calloc sets each byte to all bits zero. ... Since you do properly initialize each pointer ...
    (comp.lang.c)
  • Re: Need to get rid of small portion of the task bar visible and get r
    ... Michel Verhagen, eMVP ... Bruce.Eitman AT EuroTech DOT com ... I need a desktop with no taskbar and no mouse pointer. ...
    (microsoft.public.windowsce.platbuilder)