This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot on CF for x86 based target
- From: Iztok Zupet <iz at vsr dot si>
- To: Nick Garnett <nickg at ecoscentric dot com>, Narendra Hadke <narenh at intotoinc dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 11 Feb 2004 16:23:03 +0100
- Subject: Re: [ECOS] Redboot on CF for x86 based target
- Organization: VSR d.o.o.
- References: <5.1.0.14.0.20040211181247.00a9abe0@172.16.1.10> <m3ptclsnf4.fsf@miso.calivar.com>
- Reply-to: iz at vsr dot si
On Wednesday 11 of February 2004 15:25, Nick Garnett wrote:
> Narendra Hadke <narenh@intotoinc.com> writes:
> > Hi,
> > I am planning to put Redboot on a Compact Flash(CF) for an x86
> > compatible target. As per Redboot User Guide, only floppy is
> > supported for Redboot for x86 based PC. Is it still true ?
> > If support is not there, what needs to be done to add this
> > support?
>
> You could adapt the redboot floppy bootstrap code to work with a hard
> disk device. However, since hard disks have varying dimensions, this
> info needs to be fetched from the bootblock, which is not catered for
> in the eCos bootstrap mechanism. Booting RedBoot from a CF would also
> render the CF card unusable for other purposes.
>
> However, take a look at the GRUB support. This is intended to support
> the direct loading of eCos applications and does not support the
> booting of RedBoot at present, since using a bootloader to load a
> bootloader seemed silly. Take a look at:
>
> http://ecos.sourceware.org/docs-latest/user-guide/setup-i386-pc.html
>
> for details.
Hello
Last Year I did myself a DiskOnChip patch, which also has an option of booting
from generic PC disk and CF (someone alredy used it to boot from CF).
The patch may be outdated now (because of Nick's GRUB startup option), but it
might be useful because it uses a BIOS call to figure out the disk geometry.
If You're willing to try take a look at
<http://www.vsr.si/ecos/patches/redbootdoc.html>.
Regards
Iztok
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss