Hi All,

Could somebody please tell me, at what location can I find ALL the source
files related to the bootloader. I have been trying to work through the
Microsoft Windows CE 5.0 Board Support Package, Boot Loader, and Kernel
Startup Sequence article
(http://msdn2.microsoft.com/en-us/library/aa446905.aspx) but I cannot seem to
find the functions EbootMain() and BootloaderMain() that are supposed to be
in main.c and Blcommon.c respectively and I am wondering whether I actually
have the correct files.

Thanks

Re: bootloader source files by Steve

Steve
Tue Oct 24 21:36:44 CDT 2006

>Could somebody please tell me, at what location can I find ALL the source
>files related to the bootloader.
Not likely, no. Since you didn't specify What BSP you are working with it's
impossible to tell you where all the files are. The ultimate place to start
is the SOURCES file for the boot loader in your BSP. You can find direct
code files used there as well as each library it uses so you can work out
from that.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: bootloader source files by RH

RH
Tue Oct 24 22:59:01 CDT 2006

Steve, my mistake. Sorry for forgeting to mention the BSP . It is ARM -
intel PXA27X. All that I have found in the location that was mentioned is
startup.s (C:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP) and I am
not sure if the file Blcommon.c I have is correct either (the location it was
found is C:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON). This is the
file that does not contain BootLoaderMain( ). There are other files that
have been placed here, I am still trying to find out the purpose of these
files (format.c and signimage.c). I hope somebody could help with this too.
Finally, does anyone know where the main.c file is that corresponds to the
board support package?

Thanks,
RH


"Steve Maillet (eMVP)" wrote:
> >Could somebody please tell me, at what location can I find ALL the source
> >files related to the bootloader.
> Not likely, no. Since you didn't specify What BSP you are working with it's
> impossible to tell you where all the files are. The ultimate place to start
> is the SOURCES file for the boot loader in your BSP. You can find direct
> code files used there as well as each library it uses so you can work out
> from that.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>
>

Re: bootloader source files by RH

RH
Tue Oct 24 23:26:02 CDT 2006

Made another mistake.

Steve, my mistake. Sorry for forgeting to mention the BSP . It is ARM -
intel PXA27X. All that I have found in the location that was mentioned is
startup.s (C:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP) and I am
not sure if the file Blcommon.c I have is correct either (the location it was
found is C:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON). There are
other files that have been placed here, I am still trying to find out the
purpose of these
files (format.c and signimage.c). I hope somebody could help with this too.
Finally, does anyone know where the main.c file is that corresponds to the
board support package resides?

Thanks,
RH
>
>
> "Steve Maillet (eMVP)" wrote:
> > >Could somebody please tell me, at what location can I find ALL the source
> > >files related to the bootloader.
> > Not likely, no. Since you didn't specify What BSP you are working with it's
> > impossible to tell you where all the files are. The ultimate place to start
> > is the SOURCES file for the boot loader in your BSP. You can find direct
> > code files used there as well as each library it uses so you can work out
> > from that.
> >
> > --
> > Steve Maillet
> > EmbeddedFusion
> > www.EmbeddedFusion.com
> > smaillet at EmbeddedFusion dot com
> >
> >
> >

Re: bootloader source files by Nicolas

Nicolas
Wed Oct 25 01:16:23 CDT 2006

AS you are working on a PXA27X, you may have to look at the Mainstone II
and III BSPs.
Mainstone II BSP is delivered with Platform Builder installation
package. Mainstone II BSP is available on the Intel Website.

For Mainstone II BSP, you will find booloader sources files in folders:
- C:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL
- C:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT <--- main.c location
- C:\WINCE500\PUBLIC\COMMON\OAK\CSP\ARM\INTEL
and for BLCOMMON :
- D:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\BLCOMMON

Nicolas

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Nicolas BESSON (eMVP)
ADENEO (ADESET)
Windows Embedded Consultant


RH wrote:
> Made another mistake.
>
> Steve, my mistake. Sorry for forgeting to mention the BSP . It is ARM -
> intel PXA27X. All that I have found in the location that was mentioned is
> startup.s (C:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP) and I am
> not sure if the file Blcommon.c I have is correct either (the location it was
> found is C:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON). There are
> other files that have been placed here, I am still trying to find out the
> purpose of these
> files (format.c and signimage.c). I hope somebody could help with this too.
> Finally, does anyone know where the main.c file is that corresponds to the
> board support package resides?
>
> Thanks,
> RH
>>
>> "Steve Maillet (eMVP)" wrote:
>>>> Could somebody please tell me, at what location can I find ALL the source
>>>> files related to the bootloader.
>>> Not likely, no. Since you didn't specify What BSP you are working with it's
>>> impossible to tell you where all the files are. The ultimate place to start
>>> is the SOURCES file for the boot loader in your BSP. You can find direct
>>> code files used there as well as each library it uses so you can work out
>>> from that.
>>>
>>> --
>>> Steve Maillet
>>> EmbeddedFusion
>>> www.EmbeddedFusion.com
>>> smaillet at EmbeddedFusion dot com
>>>
>>>
>>>

Re: bootloader source files by RH

RH
Wed Oct 25 04:19:01 CDT 2006

Thanks Nicolas.

"Nicolas BESSON (eMVP)" wrote:

> AS you are working on a PXA27X, you may have to look at the Mainstone II
> and III BSPs.
> Mainstone II BSP is delivered with Platform Builder installation
> package. Mainstone II BSP is available on the Intel Website.
>
> For Mainstone II BSP, you will find booloader sources files in folders:
> - C:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL
> - C:\WINCE500\PLATFORM\MAINSTONEII\SRC\BOOTLOADER\EBOOT <--- main.c location
> - C:\WINCE500\PUBLIC\COMMON\OAK\CSP\ARM\INTEL
> and for BLCOMMON :
> - D:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\BLCOMMON
>
> Nicolas
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
> please indicate which newsgroup and message).
>
> Nicolas BESSON (eMVP)
> ADENEO (ADESET)
> Windows Embedded Consultant
>
>
> RH wrote:
> > Made another mistake.
> >
> > Steve, my mistake. Sorry for forgeting to mention the BSP . It is ARM -
> > intel PXA27X. All that I have found in the location that was mentioned is
> > startup.s (C:\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\STARTUP) and I am
> > not sure if the file Blcommon.c I have is correct either (the location it was
> > found is C:\WINCE500\PLATFORM\COMMON\SRC\COMMON\BOOT\BLCOMMON). There are
> > other files that have been placed here, I am still trying to find out the
> > purpose of these
> > files (format.c and signimage.c). I hope somebody could help with this too.
> > Finally, does anyone know where the main.c file is that corresponds to the
> > board support package resides?
> >
> > Thanks,
> > RH
> >>
> >> "Steve Maillet (eMVP)" wrote:
> >>>> Could somebody please tell me, at what location can I find ALL the source
> >>>> files related to the bootloader.
> >>> Not likely, no. Since you didn't specify What BSP you are working with it's
> >>> impossible to tell you where all the files are. The ultimate place to start
> >>> is the SOURCES file for the boot loader in your BSP. You can find direct
> >>> code files used there as well as each library it uses so you can work out
> >>> from that.
> >>>
> >>> --
> >>> Steve Maillet
> >>> EmbeddedFusion
> >>> www.EmbeddedFusion.com
> >>> smaillet at EmbeddedFusion dot com
> >>>
> >>>
> >>>
>