Re: update CE application during runtime

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



That depends on you using the hard disk in the manner that I indicated, but
it's *possible*, yes. If you have something that you know will be updated,
you're much better off just not putting it in the nk.bin file and
distributing it on the hard disk itself.

Paul T.

"andrews" <andrews@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:554F28F8-9585-4568-A3D1-DDAFCD5C426B@xxxxxxxxxxxxxxxx
Thanks Paul, Yes, the device will have a hard drive in it. The NK.BIN file
will be stored there as well. It sounds like I should be able to update an
application file that is part of the NK.BIN file at runtime and have this
be
the new used from then on???

"Paul G. Tobey [eMVP]" wrote:

The application is in ROM? If so, the answer will depend on the exact
architecture of the system. It's possible, for example, to have a
persistent storage device, a hard disk, flash disk, etc., mounted as the
root of the filesystem. If you do this, then you can simply copy the new
version of a file over the top of the ROM version and the OS will do the
right thing such that the new version, which ends up on the hard disk, of
course, will be used the next time it's executed in place of the ROM
version.

If you aren't using a persistent store in this way, you *may* be able to
offer a component upgrade, if there is some sort of a persistent
filesystem
on your device. For example, some of our devices use a section of flash
as
filesystem. They set up the registry on the device such that the
loader's
"path" includes a folder on this flash filesystem. So, for programs
launched after the flash filesystem is mounted, applications otherwise in
ROM can be overridden. The difficulty here is updating drivers and other
things which are loaded during boot, when the filesystem might not yet be
mounted.

I guess, as usual, we need more information to give a real answer...

Paul T.


"andrews" <andrews@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D064B5D6-39E7-4656-BE38-3E704FB6C08E@xxxxxxxxxxxxxxxx
We have a need to update applications and data during runtime. Is this
possible or is the only way to update an application is rebuilding the
entire
NK.bin file and loading that?

Thanks,
Andy





.



Relevant Pages

  • Re: update CE application during runtime
    ... The application is in ROM? ... persistent storage device, a hard disk, flash disk, etc., mounted as the ... if there is some sort of a persistent filesystem ... "path" includes a folder on this flash filesystem. ...
    (microsoft.public.windowsce.app.development)
  • Re: update CE application during runtime
    ... distributing it on the hard disk itself. ... root of the filesystem. ... will be used the next time it's executed in place of the ROM ... "path" includes a folder on this flash filesystem. ...
    (microsoft.public.windowsce.app.development)
  • Re: Lost root password
    ... Assuming your root filesystem is vxfs, ... Mount the root filesystem of the hard disk; ...
    (comp.unix.unixware.misc)
  • Re: remove /boot by mistake, /,/usr and /home on partitions with LVM and crypt
    ... WindowsXP and Debian/Linux R4.0 Ecth. ... another hard disk and attached the hard disk which the broken system ... Waiting for root filesystem ... ... debugfs 1.40-WIP ...
    (Debian-User)
  • Re: cloning a FreeBSD HDD
    ... possible just to dump a filesystem to a different hard disk i.e. ... But /dev/ad2 will have a dumpfile on it, not a filesystem. ... boot0sio or mbr is located in absolute sector 0 of the disk. ... a partition starts at the start of the slice to be confusing) with the ...
    (freebsd-hackers)