Re: loadcepc for linux



i know that the nk.bin is not an executable and i also know that it's
not possible to run wince and linux at the same time, I don't need my
linux after starting winCE.

the problem is that we use the compulab module and they don't provide
source code for their bootloader, because of this we need to write a
complete new bootloader with CAN drivers, USB driver, SD driver etc..
and i think its easier to boot a linux and run all these things with
existing tools.

If it's possible to do field updates out of CE we can do that. But i
don't know how. Can you please explain howto update the Image out of
winCE?

best regards
Mario Rogen

On Apr 6, 5:39 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
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.

<m...@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: loadcepc for linux
    ... our bootloader needs to know about CAN because we need a WINCE ... But as you said it's not that easy to jump from linux to ce, ... I'll try it with the WinCE and the file replacing method. ... Wouldn't you just have a Windows CE driver for those things and, ...
    (microsoft.public.windowsce.embedded)
  • Re: Voraussetzung für ActiveSync Applikation Entwicklung auf Deskt
    ... Habe nur WinCE Erfahrung ... ... auch die Möglichkeit auf Contacts und Calendar Daten direkt zuzugreifen? ... vxWorks oder embedded Linux. ...
    (microsoft.public.de.german.windowsce.entwickler)
  • Converting a x86 WinCE ThinClient to a Linux-Box
    ... I have a NCD - ThinStar 450 Box and i wanted to kick the WinCE stuff ... If i flash the DOC via the network, i guess, that i only have one try. ... If i fail to setup a working linux with the first try, ...
    (comp.os.linux.development.system)
  • Re: Poll: AppleWin - Ports and/or Improvements
    ... Mac OSX ... Might be a little hard to port to PocketPC when us dev's don't ... but porting to WinCE should be feasible. ... Applewin runs fine in Cedega on my Linux ...
    (comp.emulators.apple2)
  • Re: 10.4.10: system components to safely delete?
    ... Mac first, Mac only: ... Are you worried about disk space or RAM? ... Still, the functionality of the OS was amazing, as everything responded so quickly, and it was all about stability and functionality. ... Whenever I'd ask about the relative merits of running Linux on a Mac, everyone would respond to me that I really shouldn't go there unless I enjoy programming. ...
    (comp.sys.mac.system)