Re: [uClinux-dev] short-load-bytes

2008-11-20 Thread Greg Ungerer
Hi Raj, pushparaj muthu wrote: I have installed the arm tool chain -3.4.2 When I try to cross compile kernel 2.6 What version? Patched of Linus original? Getting error message "invalid option `short-load-bytes' What changes have to make in the make file ? arch/arm/Makefile should con

Re: [uClinux-dev] [PATCH] elf2flt: ignore -s (strip) option

2008-11-20 Thread Mike Frysinger
On Fri, Nov 7, 2008 at 12:43, Mike Frysinger wrote: > It is somewhat common for people to use the -s (strip) option to the > compiler when linking. Currently this breaks FLAT generation. There's no > real reason that I can see that we would bother keeping this, so just filter > it out to make com

Re: [uClinux-dev] gdbserver on MMU-less boards (mini-HOWTO)

2008-11-20 Thread Jun Sun
On Thu, Nov 20, 2008 at 09:05:13AM +0100, Michael Schnell wrote: > Jun Sun wrote: > >I wasted some time on this and decided to save somebody else's some time to > >make it even. :) Enjoy. > Thanks for sharing this. > > Does your gdbserver work decently for dealing with a threaded application ? >

Re: [uClinux-dev] gdbserver on MMU-less boards (mini-HOWTO)

2008-11-20 Thread Jun Sun
If you looked at the my howto, you will know that is not enough to make gdbserver work. In my case, I used the same gdb version on the host side (6.8) as the one used in the distro. It worked fine. I can imagine if the versions mismatch, there might be some issues. Cheers. Jun On Fri, Nov 21,

RE: [uClinux-dev] Re: Methods to reduce latency?

2008-11-20 Thread Xin Xie
Hi, I don't think increase the HZ would improve the latency performance significantly in your case. The standard way to decrease the latency for embedded system is using a real-time kernel running alongside with uClinux and keeping the real-time task inside the real-time kernel. Not too sure if

RE: [uClinux-dev] gdbserver on MMU-less boards (mini-HOWTO)

2008-11-20 Thread Gavin Lambert
Quoth Michael Schnell: > I am using uCLinux for non-MMU NIOS2 processor and I was told that the > gdbserver in the uCllinux-distr for same does not support threads (gdb > does not show the threads when a threaded application is monitored). As > I will need this some day soon, we need to fix this is

[uClinux-dev] Re: Methods to reduce latency?

2008-11-20 Thread Grant Edwards
On 2008-11-20, Dave Meador <[EMAIL PROTECTED]> wrote: > Darn, that would have been too easy. Sometimes the easy solution works. >> Does the tick size matter? It's set to 10ms right now, so I >> guess I'll try changing it to 1ms to see what happens. > > Its worth a try, but be careful because re

Re: [uClinux-dev] Re: Methods to reduce latency?

2008-11-20 Thread Dave Meador
Grant Edwards wrote: > On 2008-11-20, Grant Edwards <[EMAIL PROTECTED]> wrote: > > >> I've been doing some performance tests comparing eCos and >> uClinux on a NIOS2 platform. TCP throughput is comparable >> (uClinux does a bit better with only 1 connection&thread, and >> eCos does a bit bette

[uClinux-dev] Re: Methods to reduce latency?

2008-11-20 Thread Grant Edwards
On 2008-11-20, Grant Edwards <[EMAIL PROTECTED]> wrote: > I've been doing some performance tests comparing eCos and > uClinux on a NIOS2 platform. TCP throughput is comparable > (uClinux does a bit better with only 1 connection&thread, and > eCos does a bit better at 32 connections&threads). But,

[uClinux-dev] Re: Methods to reduce latency?

2008-11-20 Thread Grant Edwards
On 2008-11-20, Dave Meador <[EMAIL PROTECTED]> wrote: > Have you tried to compile the kernel with low-latency + > preemtion option which is supposed to allow userspace > applications to react faster? So far, I'm using defaults as supplied by the uclinux-dist that's supplied by Altera for NIOS2.

Re: [uClinux-dev] Methods to reduce latency?

2008-11-20 Thread Dave Meador
Hi Grant, Have you tried to compile the kernel with low-latency + preemtion option which is supposed to allow userspace applications to react faster? I believe that the default is 'server' mode. I think 'Low-Latency Desktop' mode may give you better performance. Here is what your linux config o

[uClinux-dev] Methods to reduce latency?

2008-11-20 Thread Grant Edwards
I've been doing some performance tests comparing eCos and uClinux on a NIOS2 platform. TCP throughput is comparable (uClinux does a bit better with only 1 connection&thread, and eCos does a bit better at 32 connections&threads). But, latency on uClinux is much worse. The table below shows the tim

[uClinux-dev] Failed to build "cxxtest" in uclinux-dist-20080808 with arm-linux-tools-20061213

2008-11-20 Thread Arthur Wong
Hello all: I want to test the capability of c++ support in uClinux, but it's failed to build the "cxxtest" package: stdm++.cxx:1:18: stdm++: no such file or directory stdm++.cxx:4: error: `MATT' has not been declared stdm++.cxx:4: error: expected constructor, destructor, or type conversion before

Re: [uClinux-dev] gdbserver on MMU-less boards (mini-HOWTO)

2008-11-20 Thread Michael Schnell
Jun Sun wrote: I wasted some time on this and decided to save somebody else's some time to make it even. :) Enjoy. Thanks for sharing this. Does your gdbserver work decently for dealing with a threaded application ? I am using uCLinux for non-MMU NIOS2 processor and I was told that the gdbser