This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Clock problem with eCos 1.3.1 using uITRON compatibility


Hello,

I am using eCos 1.3.1 with uITRON compatibility on the i386 pc target. The
kernel is almost default. It was created by:

> ecosconfig new pc uitron
> ecosconfig resolve
> ecosconfig check
> ecosconfig tree

The only thing that I changed is the memory layout. Anyhow, here is the
problem.

It seems that the clock is not working at all. Any call to dly_tsk() and to
tslp_tsk() will not return even when supplied with a positive argument. I
also tried the supplied uITRON compatibility tests. test1 hangs after the
first call to dly_tsk(), and testintr fails with the following:

[65] phoenix% i386-elf-gdb testintr 
GNU gdb 5.1.0.1
Copyright 2001 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=sparc-sun-solaris2.6
--target=i386-elf"...
(gdb) set remotebaud 38400
(gdb) target remote /dev/sts/ttyN09
Remote debugging using /dev/sts/ttyN09
0x00007f38 in ?? ()
    at
/medusa/disk8/os/ecos-1.3.1/packages/kernel/v1_3_1/src/sync/cnt_sem2.cxx:216
216         return result;
Current language:  auto; currently c++
(gdb) loa
Loading section .text, size 0xae50 lma 0x110000
Loading section .rodata, size 0xe8b lma 0x11ae50
Loading section .data, size 0x268 lma 0x11bce0
Start address 0x110000, load size 48963
Transfer rate: 8902 bits/sec, 74 bytes/write.
(gdb) cont
Continuing.
INFO:<Calling cyg_uitron_start()>
INFO:<Task 1 running>
hal_arch_default_isr: 32 (data: 0)
INFO:<Testing masking of clock interrupt>
FAIL:<No first tick> Line: 366, File:
/medusa/disk8/os/ecos-1.3.1/packages/compat/uitron/v1_3_1/tests/testintr.cxx

I believe that these are all symptoms of the same problem. Any help with
this is greatly appreciated.

Thank you

Jiri


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