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 (an old p150 I had lying around). 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 (SuSE 8.2). I´ve been able to mount the drive using Cygwin under XP, and also under Linux, and am able to read and write to it.
My problem is this: I have not been able to get the target to boot properly. I´ve done the eCos compile under both XP and Linux, but still get the same problems. When I attempt to install the image to the floppy as per the instructions, this is what happens:
mht@linux:~/work> dd conv=sync if=redboot_install/bin/redboot.bin of=/dev/floppy dd: opening `/dev/floppy': Is a directory
and nothing else happens. When I set the of to /dev/floppy/redboot.img, I get the success message:
linux:/home/mht/work # dd conv=sync if=redboot_install/bin/redboot.bin of=/dev/floppy/redboot.img
174+1 records in 175+0 records outI then copied it to the HD on the computer that has the floppy, and used rawrite to install to the floppy. When I boot up, a little more than two rows of dots come on the screen, and then a blinking cursor. Nothing else happens after that...no boot message or anything else, even though I set it up in eCos to output to the monitor.
Does anyone have any possible solutions, or ideas as to what I might be doing wrong? I´d appreciate any help!
Thanks, Mike Trozzo
mht@linux:~> mount /dev/hda7 on / type reiserfs (rw) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/hda8 on /home type reiserfs (rw) /dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=iso8859-1) /dev/hda5 on /windows/D type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=iso8859-1,code=437) shmfs on /dev/shm type shm (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) //192.168.0.1/a on /dev/floppy type smbfs (0) mht@linux:~> bash mht@linux:~> cd work mht@linux:~/work> ls redboot.ecc redboot_install untitled_build untitled_mlt redboot_build redboot_mlt untitled_install mht@linux:~/work> dd conv=sync if=redboot_install/bin/redboot.bin of=/dev/floppy dd: opening `/dev/floppy': Is a directory mht@linux:~/work> dd conv=sync if=redboot_install/bin/redboot.bin of=/dev/floppy/redboot.img dd: opening `/dev/floppy/redboot.img': Permission denied mht@linux:~/work> su Password: linux:/home/mht/work # dd conv=sync if=redboot_install/bin/redboot.bin of=/dev/floppy/redboot.img
174+1 records in 175+0 records out linux:/home/mht/work # dd conv=sync if=redboot_install/bin/redboot.bin of=/dev/floppy/redboot.bin 174+1 records in 175+0 records out linux:/home/mht/work #