[ECOS] Boot from DOS?(!)

Chris Paulson-Ellis chris@edesix.com
Wed Aug 14 12:05:00 GMT 2002


It is a 386 (phew!). I have the floppy boot working fine on an old 386 PC,
but the board in question has no fd controller, just DOS loaded from a flash
filesystem by a stripped down BIOS in ROM! You get DOS programs onto the
board with Xmodem.

I guess I could write a simple DOS program that loads the floppy image into
the right place in RAM and then long jumps to the start (+512 to skip the
floppy boot sector). I would have to change the memory layout of the floppy
image so that the start address is above the DOS stuff (say 128k).

Chris.

----- Original Message -----
From: "Gary Thomas" <gthomas@ecoscentric.com>
To: "Chris Paulson-Ellis" <chris@edesix.com>
Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Sent: Wednesday, August 14, 2002 3:32 PM
Subject: Re: [ECOS] Boot from DOS?(!)


> On Wed, 2002-08-14 at 08:15, Chris Paulson-Ellis wrote:
> > Hi,
> >
> > Is there an easy way to boot eCos from DOS?
> >
> > I have a customer that wants to move an old system from DOS to eCos, but
we
> > don't have enough boards to be able to flash redboot onto one of them.
> > Therefore, I would like to keep the existing DOS boot for the time being
and
> > somehow bootstrap eCos from a DOS exe. Does anyone have any ideas?
>
> Booting from floppy isn't good enough?
>
> Reminder: eCos is only set up to run on 80386 and newer CPUs
> (just in case we're talking about some old 80286 or worse)
>
> --
> ------------------------------------------------------------
> Gary Thomas                  |
> eCosCentric, Ltd.            |
> +1 (970) 229-1963            |  eCos & RedBoot experts
> gthomas@ecoscentric.com      |
> http://www.ecoscentric.com/  |
> ------------------------------------------------------------
>
>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list