Re: loadcepc for linux
- From: "maroi@xxxxxx" <maroi@xxxxxx>
- Date: 9 Apr 2007 23:26:48 -0700
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
.
- Follow-Ups:
- Re: loadcepc for linux
- From: Henrik Viklund
- Re: loadcepc for linux
- From: Paul G. Tobey [eMVP]
- Re: loadcepc for linux
- References:
- loadcepc for linux
- From: maroi@xxxxxx
- Re: loadcepc for linux
- From: Paul G. Tobey [eMVP]
- loadcepc for linux
- Prev by Date: RE: How to load IME correctly
- Next by Date: Re: Problem with DirectShow under WinCE
- Previous by thread: Re: loadcepc for linux
- Next by thread: Re: loadcepc for linux
- Index(es):
Relevant Pages
|