Re: loadcepc for linux

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



Is the ability to get an image over CAN really worth the months and months
of effort that you're going to spend on this? What's the actual probability
of requiring that feature in the field? This smacks of serious creeping
featurism, not of a reasonable look at the 80/20 rule.

Paul T.

"mario rogen" <maroi@xxxxxx> wrote in message
news:1176359897.330760.7740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hm, our bootloader needs to know about CAN because we need a WINCE
Update over CAN possibility.
But as you said it's not that easy to jump from linux to ce, i know
that, but yeah, i thought maybe there's already a application which is
capable to do this.
I'll try it with the WinCE and the file replacing method.
Thanks for your feedback!
best regards
Mario Rogen


On Apr 10, 6:15 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
I don't follow. Why does the bootloader need to know about CAN, etc.?
Wouldn't you just have a Windows CE driver for those things and, when the
driver is initialized wouldn't it initialize the hardware? If you really
want to work in two different OSes, I guess you can probably do it, but
you'll need to be sure to leave the processor in the right state before
jumping to Windows CE. I'm not at all convinced that that's going to be
a
cakewalk in Linux.

I think I explained already how I'd go about it. You have a nk.bin file
on
some storage device in the system (that's where the bootloader is loading
it
from!). It's just a file, once Windows CE is running, so you can delete
it,
replace it, do whatever you want to it.

Paul T.

<m...@xxxxxx> wrote in message

news:1176186408.808084.20600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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

  • Installing a Wireless Network Card With Linux (Its a disaster!!!)
    ... So tell me how Linux is easier than Windows? ... Using the NDIS Wrapper Device Driver ...
    (alt.os.linux)
  • Re: WARNING to potential LINUX users
    ... > One of my problems is that no-one pointed out that Linux actually only ... wouldn't invest in writing drivers for Windows 95 or Windows NT nearly a ... a generic SGA/XGA Vesa driver usually. ... >> will probably find in many cases, the SuSE install gets a lot farther ...
    (alt.os.linux.suse)
  • Re: Video editing in Linux?
    ... but the majority of windows based games were using the Directx ... >>that linux used to use for audio. ... the philosophy behind much of the linux kernel is to avoid putting large ... ALSA has a driver component and a library ...
    (alt.linux)
  • Re: Ive thought better of Linux
    ... >> mouse driver for the text consoles) and X. ... >> to do was follow advice from the gpm man pages on setting up gpm to ... > like Windows or MacOS is not to use the desktop software? ... Its one of the things I like about X and Linux, ...
    (comp.lang.lisp)
  • Re: Ive thought better of Linux
    ... > mouse driver for the text consoles) and X. ... > to do was follow advice from the gpm man pages on setting up gpm to ... So the best way to use Linux as a desktop machine that's ... like Windows or MacOS is not to use the desktop software? ...
    (comp.lang.lisp)