RE: [uCLinux-dev] cannot open root devide "rom0" of 1f:00

2007-08-22 Thread Sylvain Chouleur
Thans for your answer, how can I setup my flash device correctly? I have found something which seams to "resolve" the problem: There was no entries in the arena[] tab so I've added one, with the address of my filesystem in memory. I don't have the error of mounting but I have an error when it t

Re: [uClinux-dev] [PATCH] m68k(nommu): Add missing syscalls

2007-08-22 Thread Greg Ungerer
Hi Geert, Geert Uytterhoeven wrote: m68k(nommu): Add missing syscalls Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- Does this look OK? It fixes all but one of: Yes, looks good to me. I notice too that in asm-m68knommu/unistd.h it looks like we need to change the __NR_pread and __

Re: [uClinux-dev] Confessions of a Cut and Compile Application Builder

2007-08-22 Thread Bob Grimes
Yes, of course David is right. In my original example, I failed to clarify that myapp is the application root directory, not a file. Hopefully, this will clarify my example: user +-- mydir +-- myapp +-- Makefile +-- anotherapp +--Makefile This is what I

Re: [uClinux-dev] Regarding Snapgear Software Release Notes

2007-08-22 Thread Greg Ungerer
Hi Saurav, Saurav Kumar Barik wrote: Could anybody point me where can I find the release notes for Snapgear Software? There are no release notes for the source code packages. Is that what you are asking? Regards Greg I googled and found the link, http://my.securecomputing.com/releases.c

[uClinux-dev] __NR_restart_syscall

2007-08-22 Thread Geert Uytterhoeven
I noticed m68knommu has in include/asm-m68knommu/unistd.h: #define __NR_restart_syscall 0 and in arch/m68knommu/kernel/signal.c: regs->d0 = __NR_restart_syscall; while m68k doesn't have __NR_restart_syscall and handles syscall restarts differently. Furthermore, both arch/m68knomm

Re: [uClinux-dev] Help

2007-08-22 Thread David McCullough
Jivin Johan Jacobs lays it down ... > Hi, > > I am currently trying to cross-compile syslogd of Inetutels to run on my arm > xScale platform. I try to link it to the uClibc directory but when I run it > on my embedded platform it still depends on thelibc.so.6 library witch is > part of glibc. Is

Re: [uClinux-dev] Confessions of a Cut and Compile Application Builder

2007-08-22 Thread David McCullough
Jivin [EMAIL PROTECTED] lays it down ... > Bob > > Thanks! Now I see the entry point. > > "make user/cdl/cdl" You need to use: make user/cdl_only or it will not get the compile options right. Cheers, Davidm > Cdl is my "main(void)". I am seeing the correct compiler it's not quite

[uClinux-dev] [PATCH] m68k(nommu): Add missing syscalls

2007-08-22 Thread Geert Uytterhoeven
m68k(nommu): Add missing syscalls Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- Does this look OK? It fixes all but one of: CALLlinux-m68k-2.6/scripts/checksyscalls.sh :101:2: warning: #warning syscall restart_syscall not implemented :1061:2: warning: #warning syscall sched_seta

Re: [uClinux-dev] Confessions of a Cut and Compile Application Builder

2007-08-22 Thread John . Jeffers
Bob Thanks! Now I see the entry point. "make user/cdl/cdl" Cdl is my "main(void)". I am seeing the correct compiler it's not quite getting all the symlinks but with the entry point found I can fix it. Cheers John [EMAIL PROTECTED] wrote on 2007-08-22 12:44:10 PM: > Hi John, > > I had the

[uClinux-dev] (no subject)

2007-08-22 Thread Darwin Chen
Dear all, I got a crash with the same binary code. When I press the RESET button or power ON/OFF on my W90N740 board, I got the two following errors. This board doesn't any problems because Linux 2.4 can be ran in this board. Is there anyone help me? BTW, the source code is downloaded from uClinux

Re: [uClinux-dev] Help

2007-08-22 Thread Erwin Authried
Am Mittwoch, den 22.08.2007, 08:51 +0200 schrieb Johan Jacobs: > Hi, > > I am currently trying to cross-compile syslogd of Inetutels to run on > my arm xScale platform. I try to link it to the uClibc directory but > when I run it on my embedded platform it still depends on thelibc.so.6 > library

RE: [uCLinux-dev] cannot open root devide "rom0" of 1f:00

2007-08-22 Thread Crane, Matthew
It likely means you have no /dev/rom0 configured. Ensure you have correctly setup your flash device. Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sylvain Chouleur Sent: Wednesday, August 22, 2007 2:16 AM To: uclinux-dev@uclinux.org Subject: [

[uClinux-dev] ORTP, ELF format

2007-08-22 Thread Pello Otxandiano
Hi all, I have compiled ORTP in uClinux. The problem is that the binary file format generated is ELF. I need a FLAT file. I`m using Microblaze. I'have compiled simple programs like "hello word" without problems, but with ORTP the compiler generates an ELF file. Why? How can I get a FLAT file autom

Re: [uClinux-dev] Confessions of a Cut and Compile Application Builder

2007-08-22 Thread Bob Grimes
Hi John, I had the same question 5-6 months ago! Try make user/mydir/myapp_only If you want to build the image and romfs too, do this: make user/mydir/myapp_only romfs image These examples assume you have created a directory mydir under user, and your actual applications live in folders und

[uClinux-dev] Help

2007-08-22 Thread Johan Jacobs
Hi, I am currently trying to cross-compile syslogd of Inetutels to run on my arm xScale platform. I try to link it to the uClibc directory but when I run it on my embedded platform it still depends on thelibc.so.6 library witch is part of glibc. Is there a way of statically linking the libraries o

[uClinux-dev] Confessions of a Cut and Compile Application Builder

2007-08-22 Thread John . Jeffers
My thanks to all who have allowed me to get to this stage. I can only compile my application with the correct "uClib Coldfire" libraries by executing "make" at the "uClinux-dist" (20070130) top level and thus observe the errors of my code "uClinux-dist/user/cdl/*" (make has to walk all the tree

Re: [uClinux-dev] RESOLVED: Can't link C++ app - missing __cxa_guard_XXX - Help!

2007-08-22 Thread Bob Grimes
On 8/21/07, Gavin Lambert <[EMAIL PROTECTED]> wrote: > Quoth Bob Grimes: > > I'm still hoping someone knows the magic I'm missing. I can't believe > > nobody uses C++ under uClinux! > > Well, I do, but I'm using a much older toolchain (I don't have ucfront, for > example). And I'm not using -msep

[uClinux-dev] Regarding Snapgear Software Release Notes

2007-08-22 Thread Saurav Kumar Barik
Hi, Could anybody point me where can I find the release notes for Snapgear Software? I googled and found the link, http://my.securecomputing.com/releases.cfm But the link discusses on the firmware release notes. I would be interested in the release notes of http://ftp.snapgear.org/pub/snapgea

[uClinux-dev] Re: Updated patches for libgpg-error, libgcrypt, gnutls, gsasl

2007-08-22 Thread Simon Josefsson
Greg Ungerer <[EMAIL PROTECTED]> writes: > Hi Simon, > > Simon Josefsson wrote: >> Hi! Quite some time ago, I posted the following: >> >> http://mailman.uclinux.org/pipermail/uclinux-dev/2005-August/034484.html >> >> For some reason, this was never integrated into uClinux CVS. A customer >> rece

[uClinux-dev] how to get IP provided by DHCP

2007-08-22 Thread wang9736
Hi all now I have two networkcards on a ARM + linux machine. one connected to internet,the other connected to pravite net. this machine support DHCP ,but how can I get the IP provided by DHCP ? I guess DHCP will write it to a file,really? th

[uClinux-dev] problem with romfs system after applying the new patch (uClinux-dist-20070130-20070820.patch.gz)

2007-08-22 Thread Sebastiaan Pierrot
Hello list, I recently applied the new patch and after building my uClinux (2.6) and uploading it to my board I stubled onto a problem. Linux seems to be unable to mount my root romfs included in my image. This is the log of my starting linux before applying the patch: Linux version 2.6.19-uc

Re: [uClinux-dev] disabling a serial port - how to number?

2007-08-22 Thread Wolfgang Wegner
Hi Greg, On Wed, Aug 22, 2007 at 05:09:40PM +1000, Greg Ungerer wrote: > Hi Wolfgang, > > Wolfgang Wegner wrote: [...] > >initalisation, I have to disable UART1 completely in the driver. [...] > >- give the UARTs their "hardware number" > > UART0 -> ttyS0 > > UART2 -> ttyS2 > > Like this, I co

Re: [uClinux-dev] disabling a serial port - how to number?

2007-08-22 Thread Greg Ungerer
Hi Wolfgang, Wolfgang Wegner wrote: I am quite new to uClinux and have a question if there is any common practice for such a case... I have a Coldfire MCF5373L in an embedded design where I want to use the SSI lateron. However, as the SSI shares pins with the second serial port (UART1) and the