Re: loadcepc for linux



nk.bin is not an 'executable' in the sense that some EXE file is. It's a
file that tells you what bytes need to be in what locations in the address
space of the processor in order for the OS to run, and what location is that
'entry point' of that image. *IF* the nk.bin is set up to run from RAM, you
could do what loadcepc does from DOS: reads the nk.bin file, copies the
various segments of data to the right places in RAM, and then jumps to the
right place, but Windows CE is not designed to run from within the context
of another operating system, so it's going to take over the MMU operations,
etc.

I don't understand why you need Linux in order to do field updates of the
OS? Why not just write a bootloader that resides in ROM at a suitable
location to launch on startup. That would, in turn, find the nk.bin on some
persistent storage and load it into the right locations in RAM and jump to
it. If you need to update the nk.bin, you can do that however you want;
it's just a file in the Windows CE filesystem.

Paul T.

<maroi@xxxxxx> wrote in message
news:1175847470.658831.288220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi!
I've written this before in comp.arch.embedded, but nobody answered.

I'm currently working on a project with the compulab cm x270.
I want to boot a Linux OS and afterwards start a NK.bin from the
filesystem. We need that feature because we want to implement field
upgrades from USB, SD, CAN, LAN, etc..
I know that there is a app called loadcepc from microsoft, this
program is exactly what we need but without all the features like
ethernet, parallel port and serial download, i just want to run the
nk.bin from a mounted flash.
Do you know if there is such a application available?

Best regards
Mario Rogen



.



Relevant Pages

  • Re: Caching control
    ... |> A feature that would be useful is one where the level of caching can be ... The problem it solves is to avoid flooding RAM with a large number of pages ... of data that are merely going to be written to disk. ...
    (comp.os.linux.development.system)
  • Re: where and how are the programs stored? ROM ? Then How?
    ... The RAM filesystem isn't actually copied from ROM, ... > when we turn it on, the windows folder and program files folder is read ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: [PATCH 00/14] Pramfs: Persistent and protected ram filesystem
    ... One thing with persistent RAM disks is you _really_ want it to be ... That's one of the advantages of using a log-structured filesystem such ... got an external SRAM with a battery for example. ... optimum performance on spinning disk media, ...
    (Linux-Kernel)
  • Re: Filesys failed to initialize registry dirty, trying clean...
    ... And my OS design has already added RAM based registry and RAM/ROM filesystem. ... try to create a kernel with RAM based registry ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Filesys failed to initialize registry dirty, trying clean...
    ... And my OS design has already added RAM based registry and RAM/ROM filesystem. ... try to create a kernel with RAM based registry and RAM/ROM filesystem first. ...
    (microsoft.public.windowsce.platbuilder)