Grant Edwards | 25 May 00:03
Picon

Does NetBSD IPv6 honor rmx_expire?

Does the NetBSD IPv6 implementation honor the  rtm_rmx.rmx_expire
field in an rt_msghdr structure when IPv6 routes are added?

IOW, if the rmx_expre field is non-zero, will the network stack
automatically delete the route after the specified number of seconds?

-- 
Grant Edwards               grant.b.edwards        Yow! !  Everybody out of
                                  at               the GENETIC POOL!
                              gmail.com            

--

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

Christophe Coutand | 24 May 19:57

RE: Test microwindows nano-x

Are you sure this is the correct config file? You have a lot of conflict
in it to be resolved. I might remember wrong but I don't think MW will
compile with LWIP stack.

Christophe

-----Original Message-----
From: medamine [mailto:medamine.ecos <at> gmail.com] 
Sent: 24. mai 2012 15:06
To: Christophe Coutand
Cc: ecos-discuss <at> ecos.sourceware.org
Subject: Re: [ECOS] Test microwindows nano-x

No, I didn't try to compile for synthetic target, but i develop a driver
Frame buffer for STM3240G-EVAL and I add the nano-x library and try to
compile

this is here the config file

--

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

Elad Yosef | 24 May 17:27
Picon

Help with LwIP in ecos-3.0

Hi all I get the following Trace by GDB

(gdb) bt
#0  ~Cyg_Mboxt (this=0x80046e10) at
/localhome/cc-views/elady_Mars_SW/vobs/Mars-eCos/Mars-eCos_OS/Mars_eCos_Config_install/include/cyg/kernel/mboxt.inl:105
#1  0x80017255 in ~Cyg_Mbox (this=0x80046e10) at
/localhome/eCos/ecos-3.0/packages/kernel/v3_0/src/sync/mbox.cxx:92
#2  0x80014409 in cyg_mbox_delete (mbox=2147773968) at
/localhome/eCos/ecos-3.0/packages/kernel/v3_0/src/common/kapi.cxx:851
#3  0x80022a41 in sys_mbox_free (mbox=2147773968) at
/localhome/eCos/ecos-3.0/packages/net/lwip_tcpip/v3_0/src/ecos/sys_arch.c:108
#4  0x800282bd in netconn_delete (conn=0x80049b98) at
/localhome/eCos/ecos-3.0/packages/net/lwip_tcpip/v3_0/src/api/api_lib.c:304
#5  0x800222b5 in lwip_close (s=<value optimized out>) at
/localhome/eCos/ecos-3.0/packages/net/lwip_tcpip/v3_0/src/api/sockets.c:268

My connect fails (due to wrong IP, but that's O.k by me) so I close
the TCP socket and get the ASSERT from mboxt.inl:105
deleting mbox with messages.

How bad is it? can I ignore it?

Elad

--

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

Martin Laabs | 22 May 20:01
Picon

DSR interruptible by scheduler + memory barriers

Hello,

unfortunately I couldn't find the answer in the documentation. If the 
scheduler runs a DSR. Can this DSR become interrupted by an other thread or 
another DSR? (Of cause an ISR can interrupt it)

The background is that I wanna share data between a thread an a DSR and 
want to know whether I have to call cyg_(un)lock_scheduler when changing 
the data.

And another question about that - how are memory barriers implemented in 
eCos? (Are they implemented at all?)
Background: I have - for example - a status bit field that is copied to a 
(ISR/DSR) shared variable in the ISR. Now - if the compiler decides to put 
this variable into a register (in the ISR function) the DSR will get the 
wrong data. I could of cause declare the variable as volatile but this 
might be a performance issue in other cases where more data is affected.

Best regards,
  Martin Laabs

--

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

medamine | 22 May 12:58
Picon

Test microwindows nano-x

Hello every one,

I'm a new user of the microwindows library.
I used the STM3240G-EVAL. I added the framebuffer driver and it's work 
correctly

So, i try to test the nano-x librairie. I followed the procedure in this 
link. I added the framebuffer driver, linux netand the microwindows 
library in the configuration with the corresponding changes.

http://www.open-etech.com/RTOS/Debugging/index.php?page=mw

and I tried to build eCos and test the tetris demo but I got these errors

make[1]: Entering directory 
`/home/st/config_Fatfs/mw_config_build/language/c/libc/setjmp/current'
arm-eabi-gcc -c -I/home/st/config_Fatfs/mw_config_install/include 
-I/home/st/ecos/ecos-3.0/packages/language/c/libc/setjmp/current 
-I/home/st/ecos/ecos-3.0/packages/language/c/libc/setjmp/current/src 
-I/home/st/ecos/ecos-3.0/packages/language/c/libc/setjmp/current/tests 
-I. 
-I/home/st/ecos/ecos-3.0/packages/language/c/libc/setjmp/current/src/ 
-finline-limit=7000 -Wall -Wpointer-arith -Wundef -Woverloaded-virtual 
-Wno-write-strings -mcpu=cortex-m3 -mthumb -g -O2 -ffunction-sections 
-fdata-sections -fno-rtti -fno-exceptions -Wp,-MD,src/longjmp.tmp -o 
src/language_c_libc_setjmp_longjmp.o 
/home/st/ecos/ecos-3.0/packages/language/c/libc/setjmp/current/src/longjmp.cxx
make[1]: Leaving directory 
`/home/st/config_Fatfs/mw_config_build/language/c/libc/setjmp/current'
In file included from 
(Continue reading)

cramer | 21 May 19:50
Picon
Favicon

cine castiga


http://www.youtube.com/watch?feature=youtu.be&hl=ro&v=_Sl3Ox7RMnE
 To unsubscribe please send email to unsubscribe <at> cc.psd-prahova.ro

--

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

Mukund | 16 May 15:18
Favicon

zImage write from Busybox

Hello All,

I am facing some issue when I flash kernel from busybox and try to boot 
from redboot console.
The same kernel work correctly when I write it using "fis write" 
command. Below are the steps:

1.load kernel + ramdisk from tftp by using below commands :
 > load -r -b 0x100000 zImage -h 10.100.4.78
2.Boot with above kernel using 'exec' command
3.Write zImage from busybox console by using below commands:
 > dd if=zImage of=/dev/block/mtdblock0 bs=128k
4. reboot busybox
5. Stop on redboot
6. load kernel with the help of following command :
 > fis load nx1
 > exec

Redboot stuck while uncompressing linux.
================================================
RedBoot> fis load qnx1
... Read from 0x07ee0000-0x07eff000 at 0x0ffa0000: ..
... Read from 0x00100000-0x00900000 at 0x00540000: 
.................................................................
RedBoot> exec
entry=0x80008000, target=0x80008000
Using base address 0x00100000 and length 0x00800000
Uncompressing Linux.............
================================================

(Continue reading)

Picon
Favicon

Help with pthread_cond_timedwait

Hello,

I've been developing some communication software that needs to wait for a message over a serial port.  I
implemented it using pthread_cond_timedwait under Linux using 2.6.34 kernel.  Basically when a
message comes over the serial port the pthread_cond_timedwait is signaled.  It waits for 200ms if it is
not signaled in time.  This code has worked really well in Linux, but I needed to port it over to eCos.  At
that point the exact same code would timeout immediately even though the serial messages were signaling
it on time.  The error 360 for ETIMEDOUT was reporting and it was clear that it wasn't waiting long
enough.  As a last desperate attempt to get this to work I changed the code to use cyg_cond_timed_wait and
cyg_cond_mutex from eCos.  That worked for me and timeouts were no longer occurring.  However, I would
like to know what is wrong with pthread_cond_timedwait, because it seems like there is a bug.  But after
looking at the code for each function they both basically end up calling Cyg_Condition_Variable's wait
methods.  Below is a snippet of the code I'm referring to.  I've searched through this mailing list for
any similar topics.  There was one but that one focused on clock_gettime.  Unfortunately I do not know
which version of eCos I'm using as I have just joined the project where we're using eCos.  I will try to find
that out.

.....
  struct timespec waittime;
  struct timeval abstime;
.....

    gettimeofday(&abstime,NULL);
   //we want to wait 200 msec before declaring timeout
    abstime.tv_usec += 2000000;

    if(abstime.tv_usec >= 1000000)
    {
      abstime.tv_sec += 1;
      abstime.tv_usec = abstime.tv_usec % 1000000;
(Continue reading)

Picon
Favicon

Re: simple redboot package donot build for i386!

hi

i had renamed it to my name as file-->save as-->abhi. then build-->libraries
still got the similar error. please check the same at your end,if possible.
 
Abhishek kumar Srivastava

--

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

Jianmei Guo | 4 May 16:02
Picon
Picon

Tools or commands for eCos to test footprint, startup time, and response time

Hi,

Is there any tool or command available for ECOS to test footprint, 
startup time, and response time (or any other performance metrics) 
conveniently when eCos is running on different hardware platforms (e.g., 
i386 vs. Powerpc) and/or different software configurations (e.g., 2 cpu 
vs. 4 cpu)?

Another question is about the simulation of many different hardware 
platform. Now I just have several i386 PC and Apple MacBook...

Any help or suggestion would be appreciable. Thanks!

Best Regards,

Jianmei Guo, PhD
Postdoctoral Fellow
University of Waterloo
http://gsd.uwaterloo.ca/gjm

--

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

Picon
Favicon

simple redboot package donot build for i386!


hi
it seems that in my last post i was not clear with my question so no one responded !
just repeating the question with detailed error

i am trying to generate package "redboot" for i386 (vmware) hardware.
i have also imported "redboot_FLOOPY.ecm", made no change and tried to build library.
i got error !!! why?

the output i got after building library--

make -j4 --directory "/opt/ecos/ecos-3.0/work/redboot_build"

make: Entering directory `/opt/ecos/ecos-3.0/work/redboot_build'
make -r -C hal/i386/arch/v3_0 headers
make[1]: Entering directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/arch/v3_0'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/arch/v3_0'
make -r -C hal/i386/generic/v3_0 headers
make[1]: Entering directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/generic/v3_0'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/generic/v3_0'
make -r -C hal/i386/pc/v3_0 headers
make[1]: Entering directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/pc/v3_0'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/pc/v3_0'
make -r -C hal/i386/pcmb/v3_0 headers
make[1]: Entering directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/pcmb/v3_0'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/opt/ecos/ecos-3.0/work/redboot_build/hal/i386/pcmb/v3_0'
(Continue reading)


Gmane