[uClinux-dev] elf2flt patch on mingw

2011-01-15 Thread Stanislav Meduna
Hi, the attached patch is needed for the recent elf2flt on MinGW builds. The stat() cannot cope with directories ending with the directory separator. Regards -- Stano diff -uNr elf2flt-orig/ld-elf2flt.c elf2flt/ld-elf2flt.c --- elf2flt-orig/ld-elf2flt.c 2010-08

[uClinux-dev] Weak symbols problem

2009-10-17 Thread Stanislav Meduna
Hi, This is a repost from last year - in the hope that someone can help or direct me where to dig for the solution. Tried to use current elf2flt now with no change. I am trying to compile a C++ program using templates for uClinux. I get massive problems with weak symbols - it looks like the elf2

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Stanislav Meduna
Mike Frysinger wrote: >>> Due to shell portability issues (which is to say shell scripts are not >>> portable -- think Windows), convert elf2flt to C code. Actually I did this a year ago - however, only for the subset of the functionality our company internally needs, so it is not really ready fo

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread Stanislav Meduna
rwarner wrote: You are aware that the ARM Ltd site has MMU based kernels with XIP? What core/processor are you using? # cat /proc/cpuinfo Processor : ARM7TDMI rev 0 (v4l) BogoMIPS: 20.28 Features: swp 26bit CPU implementer : 0x41 CPU architecture: 3 CPU variant : 0x00

Re: [uClinux-dev] execute in place - yes or no?

2008-04-17 Thread Stanislav Meduna
Jamie Lokier wrote: Have you seen this paper on why an mmu might not be wanted in a embedded system? Perhaps. The biggest problem with not having an MMU is memory fragmentation. Basically, you can't keep allocating large contiguous segments, but you need that to run ordinary executables and

[uClinux-dev] Re: Wago distribution?

2007-11-28 Thread Stanislav Meduna
[EMAIL PROTECTED] wrote: > which linux kernel version do you use? > Are you using "Wago-Linux-Dist V3"? Out of curiosity, what is Wago-Linux-Dist V3 and how does it relate to uclinux? Is there a changelog (or even better a svn or git repository) somewhere? I am using the BSP CD I got with the 75

Re: [uClinux-dev]problem of communicating between uClinux & uC/OS-II

2007-10-11 Thread Stanislav Meduna
SIE wrote: > S3C4510B,a little different from the page you mentioned,does not have a > fifo for uart. Ahh.. ok. Right, it is there only for HDLC... Anyway, the datasheet http://www.datasheetcatalog.com/datasheets_pdf/S/3/C/4/S3C4510B.shtml mentions that the serial port is able to do DMA, effecti

Re: [uClinux-dev]problem of communicating between uClinux & uC/OS-II

2007-10-11 Thread Stanislav Meduna
SIE wrote: > We have a project that will communicate with two different OS(uClinux > and uC/OS-II) through UART. What speed are you using,what receive FIFO size does the S3C4510B's UART have and what serial driver are you using? I can't read http://www.mculand.com/sub1/mcu/arm7tdmi_device/s3c4510

[uClinux-dev] sendto does not work, send and sendmsg do

2007-10-09 Thread Stanislav Meduna
Hi, are there known problems with the (UDP) sendto method and/or with ABI accessing syscalls with more arguments? The following gives back EINVAL: int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); struct sockaddr_in sock_addr; memset(&sock_addr, 0, sizeof(sock_addr)); sock_addr.sin_

[uClinux-dev] Weak symbols problem

2007-10-09 Thread Stanislav Meduna
Hi, I am trying to compile a C++ program using templates for uClinux. I get massive problems with weak symbols - it looks like the elf2flt and/or ld is not able to use the weak symbols. The toolchain is a self-compiled binutils 2.17, gcc 4.2.1-based one. Compiling and linking the files in attach

[uClinux-dev] C++ exceptions, STLPort?

2007-10-04 Thread Stanislav Meduna
Hi, did anyone succeed compiling C++ exception support and the STLport library for a MMU-less ARM7 architecture? If yes, please advise what toolchain and settings you have used. Actually what I need are the basic classes such as vector or list - I don't need the exception support as I found the e

Re: [uClinux-dev] boa ssi,please advise

2007-09-24 Thread Stanislav Meduna
advan wrote: > Now I'm use the 'thttpd' server that's ablet ot support SSI , then I may > use static configure.html ,May I ? Please you give me some advise . I never used thttpd - sorry. -- Stano ___ uClinux-d

Re: [uClinux-dev] Can't get simple C++ "Hello world" application to work - BINFMT_FLAT: reloc outside program error

2007-09-24 Thread Stanislav Meduna
Gavin Lambert wrote: > Another thing you'll need to be careful of is where you're getting your C++ > library from -- sometimes the toolchain library gets picked up instead of > the uClinux library, which may have been compiled with different settings. In my setup there is something most probably

Re: [uClinux-dev] boa ssi,please advise

2007-09-21 Thread Stanislav Meduna
advan wrote: > configure test > IP test ... > in configure.html part context: > > > > > ... > test "configure.html" ,that should be shown "mydev01" in "devname" > edit-text, how to load the value to client page from in stored file > .please you tell me a method . The

Re: [uClinux-dev] boa ssi,please advise

2007-09-19 Thread Stanislav Meduna
advan wrote: > seem that Boa didn't support the SSI . so I have to use CGI (common > gateway interface) . Right > How to load a variable value into index.html from boa server > to client when a client clicks http://xxx.xxx.xxx.xxx/index.html . Redirect the index.html to your cgi and do a proces

Re: [uClinux-dev] gdbserver in SkyEye?

2007-09-18 Thread Stanislav Meduna
Stanislav Meduna wrote: > are there known problems with ptrace and similar stuff on SkyEye? > > I am trying to remote debug the same application on both SkyEye > and real hardware (unfortunately not the same uClinux, as the > target hardware came preconfigured I don't want t

[uClinux-dev] gdbserver in SkyEye?

2007-09-18 Thread Stanislav Meduna
Hi, are there known problems with ptrace and similar stuff on SkyEye? I am trying to remote debug the same application on both SkyEye and real hardware (unfortunately not the same uClinux, as the target hardware came preconfigured I don't want to mess with it yet). = Hardware dev

[uClinux-dev] Fixed RTL8019AS for 2.6.x/AT91

2007-09-16 Thread Stanislav Meduna
Hi, Attached is a patch that integrates my fixed RTL 8019 2.4.x driver to the current 2.6.x tree, including the Kconfig configurability. I've left the s3c440bx copy in arch/arm there, as I don't know whether it is safe to move it out; however, it cannot compile due to MOD_INC_USE_COUNT and uses th

[uClinux-dev] Re: [Skyeye-developer] [Patch 1/1] SkyEye: fix the hang in linux-2.6.x when select GDB/SkyEye vendor

2007-09-16 Thread Stanislav Meduna
Michael.Kang wrote: > The patch in the attachment is to fix the hang in linux-2.6.x of > uClinux-20070130 distribution when run it on svn head or latest > release of SkyEye. Oh - many thanks, it works :) So disregard my lookup_machine_type hacking.. > I guess your failure is that you probabl

[uClinux-dev] Re: Non-MMU 2.6 in SkyEye fails early detecting the processor type

2007-09-16 Thread Stanislav Meduna
Stanislav Meduna wrote: > Trying to debug it looks like this ends very soon - the > code stepped through __lookup_machine_type and proceeded > to __error_p - looks like the kernel is not happy with what > skyeye looks like. For uclinux-dev list: I'd like to use uclinux 2.6 fo