This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pb installing RedBoot on AT91EB40


Hi Gary,

   thank you for the answer,

> On Sun, 2005-12-11 at 01:52 +0100, Olivier Kaloudoff wrote:
>> Hello all,
>>
>>  	following the Redboot user guide, I'm trying the
>> rdi mode with gdb, using a KeySpan USB to Serial converter;
>>
>> (gdb) imac:~ kalou$ ls -l /dev/*Key*
>> crw-rw-rw-   1 root  wheel    9,   5 Dec 11 01:42 /dev/cu.KeySerial1
>> crw-rw-rw-   1 root  wheel    9,   4 Dec 11 01:34 /dev/tty.KeySerial1
>>
>> imac:~ kalou$  /usr/local/bin/arm-elf-gdb
>> Desktop/redboot_RAM.elf
>> GNU gdb 6.0
>> Copyright 2003 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you
>> are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for
>> details.
>> This GDB was configured as "--host=powerpc-apple-darwin6.8
>> --target=arm-elf"...
>> (gdb) tar rdi s=/dev/tty.KeySerial1
>> Could not open device "s=/dev/tty.KeySerial1"
>> (gdb) tar rdi s=/dev/cu.KeySerial1
>> Could not open device "s=/dev/cu.KeySerial1"
>> (gdb)
>>
>>
>>  	Am I doing something obviously wrong ?
>> I checked that the Serial is ok, using zTerm, I get the Angel debug
>> monitor fine;
>>
>
> GDB often (for reasons known only to the past) is picky about what the
> name of the serial device is.  Try making an alias (hard or soft link)
> for the device, e.g. /dev/ttyS0
>
> What system (OS) is this that uses such arcane names?

I'm using OSX 10.4;

imac-g5-de-olivier-kaloudoff:/dev root# uname -a
Darwin imac-g5-de-olivier-kaloudoff.local 8.3.0 Darwin Kernel Version
8.3.0: Mon Oct  3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
Power Macintosh powerpc


Unfortunatelly, neither symbolic nor hard link did the trick with gdb.




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]