for platform.bib etc files..just do the changes and copy paste in ur release
directory. and then run makeimage..this will save enough time.
i hope im able to answer ur question.
regards
Umesh Jagga
You are really great! Thanks a lot and I will benefit from it too!
Thanks!
BR,
Steven
11/12/2004 9:25:02 AM
Umesh <Um...@discussions.microsoft.com> wrote in message
<DDA88BB8-8E48-4217...@microsoft.com>
> hi,
> make sure ur WINCEREL=1
> 2. use command prompt.
> directory.
> and then do makeimg
>
> regards
> Umesh Jagga
>
>
> "Ben" wrote:
>
> > Hi,
> > process? Thanks,
> > Scott
--
Composed with Newz Crawler 1.7 http://www.newzcrawler.com/
Thanks!
-Brian
"Ben" <B...@discussions.microsoft.com> wrote in message
news:3E1C307B-7B7D-4833...@microsoft.com...
Simplified overview of what blddemo does
* SYSGEN Phase
This phase builds the CE kernel based on your selected SYSGEN variables and
BSP variables
- Build anything in Private if needed
- Build everything in Public
- Build your BSP under the Platform directory
* Buildrel Phase
- Copies your built files to the _FLATRELEASEDIR
* Makeimg Phase
- Creates the final NK.BIN based on stuff in the _FLATRELEASEDIR and your
IMG flags
*** Tricks to Speed things up ***
blddemo -q
This will skip building the Private directory. Normally, you never
change anything here anyway so you are just wasting time calculating
dependecies.
blddemo -qbsp
This is new in 5.0 and skips both Private and Public and only builds
your BSP platform. This is common when you are developing device drivers
for a BSP and didn't change the features you bring into your OS Design (no
SYSGEN or BSP variable changes)
WINCEREL=1
When you are building something in PUBLIC and then run makeimg, you
won't see the DLL in you Flat Release DIr (FRD) because it wasn't copied
there. The build system only does that in the buildrel phase which you
skipped. By setting WINCEREL=1 you get the DLL copied to the FRD as the
last step
Targeted Builds (5.0 using the IDE for your builds)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceosdev5/h
tml/wce50tskrunningtargetedbuild.asp
Skipping makeimg by using Release Directory Modules list
If you are debugging an image already flashed to the device, you can
tell the CE filesystem loader to grab your DLL from your PC (in the FRD)
rather than use the one built inside the NK.BIN. This means you can skip
the makeimg step if your newly-built DLL is in the FRD. To do this, go to
the Menu Target \ Release Directory Modules. This will pop-up a dialog that
lets you add your DLL to the list. Now, when you reboot and debug, your DLL
will come from your FRD and not the one in NK.BIN. Combined with Targeted
Builds, this should speed you up a lot.
Using WINCEREL=1 then the process would be (from a directory in the PUBLIC
tree):
build
makeimg
but this would be equivalent to WINCEREL not set and doing:
build
buildrel
makeimg
Just trying to make sure I actually understand what you wrote. :-)
Thanks......
-Brian
"Chuck Zalinski" <cha...@online.microsoft.com> wrote in message
news:5ns1ddPy...@cpmsftngxa10.phx.gbl...
So, you always need to do a buildrel at least once. After that, if
wincerel is set you can just build and your changed binaries will end up in
the flat release directory.
--
Dean Ramsier - eMVP
"Brian Kuebert" <bkue...@xtremex3.com> wrote in message
news:uTk99pPy...@TK2MSFTNGP12.phx.gbl...
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
When I do a change that may make the two things obove screw things up, I do
this instead:
1) Make the change in [platform]\Files
2) run blddemo norel -qbsp and break it as soon as it starts to scan folders
and link.
3) copy the filtered file from [platform]\cesysgen\files to the release folder
4) do makeimg
It will only take half a minute longer and it will save you the trouble of
verifying after you've moved the changes and better yet: save you the
headache when you forget that you've made changes to files in the release
folder and clobber them with a buildrel.
Most users don't have multiple configurations that need the sysgen
filtering, so removing that step can be a good thing.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"John Karlsson" <JohnKa...@discussions.microsoft.com> wrote in message
news:25E7EA46-E745-495C...@microsoft.com...
Here's my when-to-build-what "build shortcut" list:
Change something in Platform Settings: do a makeimg
Change something in a driver in the BSP: Build the driver, do makeimg
Change several things in the BSP: Build the BSP, do makeimg
Change something in the BSP and/or the config files (eg platform.reg):
Build & sysgen the BSP, then Copy Files to RelDir, then Build All
Projects and Makeimg.
Change something in the workspace configuration (add or delete a
component): Sysgen the platform (and sometimes a clean sysgen is needed,
eg when changing from RAM based registry to Hive based Registry).
...and since we can't seem to repeat this enough...
*Never ever* do a build and sysgen on the build menu. Better yet, right
click the menu bar, choose Customize, then click the Build OS menu,
select Build & sysgen and *delete* that option from the build menu.
Hope this helps,
Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com
"Michel Verhagen (eMVP)" wrote:
> I use the official PB defined methods to do my building. When you change
> something in the registry files the method described below takes less
> than 2 minutes.
>
> Here's my when-to-build-what "build shortcut" list:
>
> Change something in Platform Settings: do a makeimg
> Change something in a driver in the BSP: Build the driver, do makeimg
> Change several things in the BSP: Build the BSP, do makeimg
> Change something in the BSP and/or the config files (eg platform.reg):
> Build & sysgen the BSP, then Copy Files to RelDir, then Build All
> Projects and Makeimg.
> Change something in the workspace configuration (add or delete a
> component): Sysgen the platform (and sometimes a clean sysgen is needed,
> eg when changing from RAM based registry to Hive based Registry).
>
>
> ....and since we can't seem to repeat this enough...
Paul T.
"Roger Williamson" <Roger Willi...@discussions.microsoft.com> wrote in
message news:8D57655E-8009-426D...@microsoft.com...
The training that Paul suggested is also a good way to learn about the build
system as well as the OS architecture.
The basic building blocks of the build system are:
build
cebuild
nmake
buildrel
makeimg
romimage
fmerge
You should be able to read about them in help.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Roger Williamson" <Roger Willi...@discussions.microsoft.com> wrote in
message news:8D57655E-8009-426D...@microsoft.com...