Re: Appending tens of files into NK image

Tech-Archive recommends: Fix windows errors by optimizing your registry



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





.



Relevant Pages

  • Re: XPe newbie needs some help
    ... When I use that as the target device, ... Boot drive: D: ... I am 1/2 way there now as far as understanding how XPe works. ... I have a high res dual screen DVI graphic card and a few usb drives hooked to the PC. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Custom Startup Screen
    ... and what slows down the boot. ... connect the host PC to your target device via NULL modem cable. ... connected to a DHCP server, then your target device may be stalling at boot ...
    (microsoft.public.windowsxp.embedded)
  • Re: Internet Kiosk image + extras. Advice please
    ... The "El Torito CD Support" macro component provided with XPe SP2 ... When you're done and ready to create the final boot ... Recommend that you format your target partition as FAT32. ...
    (microsoft.public.windowsxp.embedded)
  • Re: XPe El-Torito bootable CD
    ... to the target PC and booted to the first partition which invokes First Boot ... Running EWFMGR C: results in 'Failed getting protected volume configuration ...
    (microsoft.public.windowsxp.embedded)
  • Re: sdi2hd works in cf?
    ... this may lead to many more issues since you're creating that virtual disk not on the target machine. ... You will have to match target storage's disk geometry and the easiest way of doing that is to capture the image from the target. ... You can also boot to WinPE (2.0 from a USB mass storage device if your ... I recall sdi approach had an issue while laying down the image with SDI tools. ...
    (microsoft.public.windowsxp.embedded)