public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] New to eCos, struggling with RedBoot
@ 2003-10-13 11:56 Michael Trozzo
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Trozzo @ 2003-10-13 11:56 UTC (permalink / raw)
  To: ecos-discuss

Hello Denis,

I've also tried to do this under SuSE Linux. In Linux, I mounted the
floppy that's on the other box as follows: 
mount -t smbfs //192.168.0.1/a /dev/floppy 
and I can see the drive and its contents. I attempted to mount it to
/dev/fd/0, but it wouldn't let me because it's not a directory.

When I run the dd command, it just says that /dev/floppy (which is a
folder I made) is a directory. I've also set of=/dev/floppy/redboot.img,
and get the success message (174+1 records in, 175+1 records out), but
when I put the floppy into the target machine, it wouldn't boot, giving
me a non-system disk error). 

I've rechecked my settings in eCos, and believe that they're right
(importing redboot_FLOPPY.ecm, etc.). I'm at a loss for ideas..is there
any possibility that the problem is that the floppy drive isn't local to
this machine, but a network share? Since I'm also not getting it working
under Linux, I doubt that the cause is strictly Cygwin.

Thanks,
Mike

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Denis
Rouleau
Sent: Samstag, 11. Oktober 2003 01:25
To: Michael Trozzo; ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] New to eCos, struggling with RedBoot

Hi Mike,
I just went through these steps a few days ago and found out that the
problem is with cygwin. It is actually a FAQ (sorry I don't have the
reference)
I circumvented the problem by using a win utility called rawwritewin
that I found on the net instead of dd and it worked just fine.
(http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm)
You might want to find another one for XP though.
Good luck.
Denis Rouleau


-----Message d'origine-----
De : ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] De la part deMichael
Trozzo
Envoyé : Friday, October 10, 2003 6:49 PM
À : ecos-discuss@sources.redhat.com
Objet : [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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/03
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/03

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



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] New to eCos, struggling with RedBoot
  2003-10-10 23:25 ` Denis Rouleau
@ 2003-10-13 16:40   ` Michael Trozzo
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Trozzo @ 2003-10-13 16:40 UTC (permalink / raw)
  To: ecos-discuss

Thanks for the link. Their latest version does run on XP.

I downloaded it, wrote to the floppy, and put the floppy in the target
machine. What´s happening now is this: I get slightly more than two rows
of dots out to the screen, and then it sits there with a blinking
cursor. I did this with the binary I compiled in eCos under Linux and
also with the precompiled binary I downloaded from RedHat. 

Also, I´m not clear on one other thing: Do I need BOTH a serial cable
AND an Ethernet link, or will just the serial link on COM1 do the trick?



-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Denis
Rouleau
Sent: Samstag, 11. Oktober 2003 01:25
To: Michael Trozzo; ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] New to eCos, struggling with RedBoot


Hi Mike,
	I  just went through these steps a few days ago and found out
that the problem is with cygwin. It is actually a FAQ (sorry I don't
have the
reference)

I circumvented the problem by using a win utility called rawwritewin
that I found on the net instead of dd and it worked just fine.
(http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm)

You might want to find another one for XP though.

Good luck.

Denis Rouleau



 -----Message d'origine-----
De : 	ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]  De la part deMichael
Trozzo
Envoyé :	Friday, October 10, 2003 6:49 PM
À :	ecos-discuss@sources.redhat.com
Objet :	[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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/03

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/03


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




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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] New to eCos, struggling with RedBoot
  2003-10-10 22:49 Michael Trozzo
@ 2003-10-10 23:25 ` Denis Rouleau
  2003-10-13 16:40   ` Michael Trozzo
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Rouleau @ 2003-10-10 23:25 UTC (permalink / raw)
  To: Michael Trozzo, ecos-discuss

Hi Mike,
	I  just went through these steps a few days ago and found out that the
problem is with cygwin. It is actually a FAQ (sorry I don't have the
reference)

I circumvented the problem by using a win utility called rawwritewin that I
found on the net instead of dd and it worked just fine.
(http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm)

You might want to find another one for XP though.

Good luck.

Denis Rouleau



 -----Message d'origine-----
De : 	ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]  De la part deMichael Trozzo
Envoyé :	Friday, October 10, 2003 6:49 PM
À :	ecos-discuss@sources.redhat.com
Objet :	[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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/03

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/03


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] New to eCos, struggling with RedBoot
@ 2003-10-10 22:49 Michael Trozzo
  2003-10-10 23:25 ` Denis Rouleau
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Trozzo @ 2003-10-10 22:49 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-13 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-13 11:56 [ECOS] New to eCos, struggling with RedBoot Michael Trozzo
  -- strict thread matches above, loose matches on Subject: below --
2003-10-10 22:49 Michael Trozzo
2003-10-10 23:25 ` Denis Rouleau
2003-10-13 16:40   ` Michael Trozzo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).