Re: Appending tens of files into NK image
- From: "Sparks" <cnlgmsn@xxxxxxxx>
- Date: Sun, 11 Mar 2007 13:17:56 +0800
Thanks for your workaround! I'll try this.
After digging the CE help, I found following statements:
"When you cold boot your run-time image on the target device, Filesys.exe
uses these .dat files to create the directories, links, and files in the RAM
file system on the target device."
So, the copy operation should has nothing to do with flash, only RAM. My
question is, why copying in RAM is so time consuming?
"<ctacke/>" <ctacke[@]opennetcf[dot]com> дÈëÏûÏ¢ÐÂÎÅ:OQhezU4YHHA.2640@xxxxxxxxxxxxxxxxxxxxxxx
The bib isn't the slowdown, it's the dat. CE has everything in the
\Windows folder on boot, so moving them elsewhere requires a copy
operation. If that target is flash is will be appreciably slow. A
workaround would be an EXE that you run at startup that spawns a thread
which does the copy. The OS will come up before the copy, so it will be
faster. The possible downside is that the files won't be vaialable
immediately, but maybe only after a few seconds after boot.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"Sparks" <cnlgmsn@xxxxxxxx> wrote in message
news:%23aZvpR3YHHA.992@xxxxxxxxxxxxxxxxxxxxxxx
CE4.2
I'd like to include my own tens of files in NK image. Also, these files
need to be placed in some different dirs.
I'm using below two steps to accomplish this:
1. Modify platform.bib, add lines
2. Modify platform.dat, add lines to make dirs and copy files to
predefined dirs.
All above things go well. These files are successfully placed in the dirs
as I want after reboot. But system's boot speed is affected apprently. As
I reduce the number of the files, the time consumed decrease accordingly.
So, I guess making dirs and copying files in object store during boot is
the reason.
Is there any solution to speed up the boot while doing my things?
TIA
.
- Follow-Ups:
- Re: Appending tens of files into NK image
- From: Steve Maillet \(eMVP\)
- Re: Appending tens of files into NK image
- References:
- Appending tens of files into NK image
- From: Sparks
- Re: Appending tens of files into NK image
- From: <ctacke/>
- Appending tens of files into NK image
- Prev by Date: Re: Appending tens of files into NK image
- Next by Date: Re: Making Ethernet work on DB1100 (MIPS) ie. "Product Ethernet"
- Previous by thread: Re: Appending tens of files into NK image
- Next by thread: Re: Appending tens of files into NK image
- Index(es):
Relevant Pages
|