Hi,

I would like to get rid of many unneeded components for a headless
device. However, I cannot uncheck many catalog items because the
Platform Builder thinks it is needed. For example: how can I get rid
of the Tahoma fonts? Is there any method for this or do I have to
apply brute force such as modifying common.bib?

Thank you,
Peter

Re: How to strip down image of headless device (no display)? by Dean

Dean
Thu May 08 08:12:48 PDT 2008

For starters, make sure you base your OS Design on a custom device, and only
pull in the components you need. Fonts come in when you have mingdi in your
build, and mingdi comes in when various other components are selected. The
best way to see these dependencies is to look in the batch files that
control dependencies (\PUBLIC\CEBASE\OAK\MISC, in this case winceos.bat).

For finer granularity, you can set the _DEPTREES environment variable to
only include the OS trees you're interested in. That will prevent the
dependency checking from looking at undesired trees at all, and eliminate
those bib files completely (doesn't work for common.bib, obviously).

The last step is to do a manual filtering step on the bib files before
makeimg. That is brute force, but if you need to you can. My guess is in
the vast majority of cases the first step is sufficient. Most folks start
with something like Enterprise Webpad and wonder why it is so large :)

--
Dean Ramsier - eMVP
BSQUARE Corporation


<peach.voser@gmx.ch> wrote in message
news:9e951729-c84a-4ed0-99dc-4d8fa25da069@l64g2000hse.googlegroups.com...
> Hi,
>
> I would like to get rid of many unneeded components for a headless
> device. However, I cannot uncheck many catalog items because the
> Platform Builder thinks it is needed. For example: how can I get rid
> of the Tahoma fonts? Is there any method for this or do I have to
> apply brute force such as modifying common.bib?
>
> Thank you,
> Peter



Re: How to strip down image of headless device (no display)? by peach

peach
Thu May 08 12:06:55 PDT 2008

Very good! Is there also a way to clone wince600\public\cebase\oak\misc
\wceshellfe.bat? I would need that for another configuration change
for a device with display...

Peter

Re: How to strip down image of headless device (no display)? by peach

peach
Thu May 08 12:08:31 PDT 2008

Another question: where would you overwrite the _DEPTREES environment
variable? In wince600\platform\myPlat\myPlat.bat or in another bat
file?

Peter

Re: How to strip down image of headless device (no display)? by Paul

Paul
Thu May 08 12:20:41 PDT 2008

I don't think you'd do it there. When the folder name says "platform",
think "hardware configuration". Regardless of what you're doing on *this*
project, you might want to have a display or any number of other OS
components that you don't for this project, associated with a build that
targets that same hardware. To do that, you don't want the <platform>.bat
file screwing around with DEPTREES. You could do it in the <project>.bat
file; that would be my choice.

Paul T.

<peach.voser@gmx.ch> wrote in message
news:6ed115a6-284f-415d-b504-4ae60014ad2a@8g2000hse.googlegroups.com...
> Another question: where would you overwrite the _DEPTREES environment
> variable? In wince600\platform\myPlat\myPlat.bat or in another bat
> file?
>
> Peter



Re: How to strip down image of headless device (no display)? by peach

peach
Thu May 08 12:34:34 PDT 2008

Oh, you are so right - it's about time I went home... ;-). However,
the other thing: is there a way to clone wince600\public\cebase\oak
\misc\wceshellfe.bat in order to fine tune it? Thing is: I do not want
to alter code under PUBLIC for the reason of delivering it to others -
I prefer a local copy of it under my project...

P.

Re: How to strip down image of headless device (no display)? by Paul

Paul
Thu May 08 12:43:35 PDT 2008

Well, you could clone the whole WCESHELLFE, if you want, although there's
not automated way of doing that. Generally, though, I don't see what that
particular batch file has to do with the question. Presumably, with no
display support in the OS, you won't have the shell, so no Control Panel,
etc. I don't see that file coming into things... Maybe I'm not following
what you're trying to do with that.

Paul T.

<peach.voser@gmx.ch> wrote in message
news:c8efd7f0-2881-428f-a430-4350fd917dd0@e39g2000hsf.googlegroups.com...
> Oh, you are so right - it's about time I went home... ;-). However,
> the other thing: is there a way to clone wince600\public\cebase\oak
> \misc\wceshellfe.bat in order to fine tune it? Thing is: I do not want
> to alter code under PUBLIC for the reason of delivering it to others -
> I prefer a local copy of it under my project...
>
> P.



Re: How to strip down image of headless device (no display)? by Bruce

Bruce
Fri May 09 05:40:56 PDT 2008

Depends on what you are trying to do. Your cesysgen.bat runs the bat files
in cebase. So you can do anything you want in your cesysgen.bat, including
not using cebase at all.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

<peach.voser@gmx.ch> wrote in message
news:c8efd7f0-2881-428f-a430-4350fd917dd0@e39g2000hsf.googlegroups.com...
> Oh, you are so right - it's about time I went home... ;-). However,
> the other thing: is there a way to clone wince600\public\cebase\oak
> \misc\wceshellfe.bat in order to fine tune it? Thing is: I do not want
> to alter code under PUBLIC for the reason of delivering it to others -
> I prefer a local copy of it under my project...
>
> P.