This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
New to eCos, struggling with RedBoot
- From: "Michael Trozzo" <trozzo at arcor dot de>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 11 Oct 2003 00:49:14 +0200
- Subject: [ECOS] New to eCos, struggling with RedBoot
Hello,
I´ve just started learning eCos and am using the book "Embedded Software
Development with eCos" by Anthony J. Massa. I´m trying to set up a
RedBoot floppy on an i386 PC target.
I´m working on a laptop that does not have a floppy drive, and am trying
to use a floppy drive that resides on a network share. The laptop has a
dual boot system with XP and Linux. I´ve been able to mount the drive
using Cygwin under XP, and also under Linux. However, when I run the
command to install to the floppy, it doesn´t work. Below are the steps I
have taken, copied from the Cygwin window.
I may be missing something obvious, but I don´t know. If anyone has
advice, I´d definitely appreciate it!
TIA,
Mike Trozzo
Mike@LAPTOP /cygdrive/d
$ mount -f -b //./h: /dev/fd0 <<<--- h: is the local mapping of the
floppy
Mike@LAPTOP /cygdrive/d
$ dd conv=sync if=redboot1_install/bin/redboot.bin of=/dev/fd0
dd: opening `/dev/fd0': No such file or directory
Mike@LAPTOP /cygdrive/d
$ mount
C:\cygwin\bin on /usr/bin type system (textmode)
C:\cygwin\lib on /usr/lib type system (textmode)
C:\cygwin on / type system (textmode)
\\.\h: on /dev/fd0 type system (binmode) <<<<--- no such file or
dir???
c: on /ecos-c type user (textmode)
c: on /ecos-c type system (binmode)
d: on /cygdrive/d type user (textmode,noumount)
g: on /cygdrive/g type user (textmode,noumount)
h: on /cygdrive/h type user (textmode,noumount)
Mike@LAPTOP /cygdrive/d
$ umount /dev/fd0
Mike@LAPTOP /cygdrive/d
$ mount -f -b //office/a /dev/fd0 <<<<--- the path to the share; same
destination as h:
Mike@LAPTOP /cygdrive/d
$ dd conv=sync if=redboot1_install/bin/redboot.bin of=/dev/fd0
dd: opening `/dev/fd0': No such file or directory
Mike@LAPTOP /cygdrive/d
$ ls
System Volume Information redboot1_build redboot1_mlt
redboot1.ecc redboot1_install test <<<--- I made a dir
called test to attempt to install tthere
Mike@LAPTOP /cygdrive/d
$ dd conv=sync if=redboot1_install/bin/redboot.bin of=test
dd: opening `test': File exists <<-----but nothing else happens!
Mike@LAPTOP /cygdrive/d
$ dd conv=sync if=redboot1_install/bin/redboot.bin of=h:
dd: opening `h:': File exists <<-----but nothing else happens!
Mike@LAPTOP /cygdrive/d
$ cd ..
Mike@LAPTOP /cygdrive
$ cd h
Mike@LAPTOP /cygdrive/h
$ ls
etst.txt <<<---test file
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss