Re: loadcepc for linux



On Apr 10, 8:26 am, "m...@xxxxxx" <m...@xxxxxx> wrote:
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.

I've seen so many problems and delays caused by not having access to
the full source that I consider source availability to be one of the
absolute top priorities when selecting a board for a WinCE device
project.

Have you approached the board vendor about gaining access to the bl
source? It is not unusual that they release the code after you
explain the impact this will have on your project (and probably sign a
NDA) -atleast if they are truly interested in helping their customers
succed with their projects.

Henrik Viklund
http://www.addlogic.se


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- Hide quoted text -

- Show quoted text -


.



Relevant Pages

  • Re: Modified sample source code distribution from Windows Driver Kits?
    ... I just create a new USB driver based on the sample code. ... Can I distribute the source code of the new driver to the SourceForge? ...
    (microsoft.public.development.device.drivers)
  • >>>>>> SONY DRIVERS <<<<<<
    ... sony cd rw crx230ed driver ... driver sony vaio pcg-f580 ... usb driver download for sony trv480 ...
    (rec.martial-arts)
  • Re: Booting Windows CE device from SD card
    ... do in the bootloader is to read a particular file from the root directory. ... SD/MMC memory devices, on the other hand, are peripheral storage devices ... the SD/MMC card and loads it into RAM and *then* jumps to it. ... SD driver has 3 modules involved in it: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: loadcepc for linux
    ... Why does the bootloader need to know about CAN, ... Wouldn't you just have a Windows CE driver for those things and, ... cakewalk in Linux. ...
    (microsoft.public.windowsce.embedded)
  • Re: Mirror Driver Architecture
    ... the various VNCs, which do exactly what you are asking, and come with ... we can't use them unless we publish our own source code (this is a commercial ... You are right, of course, any kind of programming in the kernel seems to be ... driver sample code - specifically DrvBitBlt and DrvCopyBits - for sending ...
    (microsoft.public.win32.programmer.kernel)