[uClinux-dev] Application compilation woes

2008-09-22 Thread Frédéric DUBOIS
Helllo, I am upgrading our uClinux distribution from 2.4.22 to 2.4.34, using the latest releases (or I think so: uClinux-dist-20080808.tar.gz and m68k-uclinux-tools-20061214.sh), for our 5272-based custom board. The kernel compilation finally went fine after I included the different bi

[uClinux-dev] Unhandled fault: vector exception (0x000) at 0x00000000

2008-09-22 Thread Arthur Wong
Hello everyone ! I have made a file system from uClinux-dist-20080808 basing busybox, but it can not be run correctly. The first program "init" is stopped at the "bsearch" function ( in file busybox/libbb/appletlib.c ) when booting. If i use some constant to instead of the "bsearch" function, the

[uClinux-dev] how to run the app was compiled with option "-fpic" option in uclinux?

2008-09-22 Thread vincen
dear sir If I compile this helloworld app with option "-D__PIC__ -fpic -msingle-pic-base",It run ok in uclinux,but why only add the option "-fpic ",the app can not be run? Because I have compiled a library file when only added " -fpic" option and i have not the source code,so i don't

Re: [uClinux-dev] pthreads, vfork and signals

2008-09-22 Thread Allon Stern
On Sep 20, 2008, at 12:20 PM, Jamie Lokier wrote: Allon Stern wrote: Never mind NPTL - I just want Linux Threads, which don't seem to be working for my on my NOMMU M5282 target, using 888. I'm using uClibc 20060608 Anybody have it working? A simple example causes an illegal instruction. I

Re: [uClinux-dev] Application compilation woes

2008-09-22 Thread Allon Stern
On Sep 22, 2008, at 7:56 AM, Frédéric DUBOIS wrote: The bigger one either won't pass the compilation step or won't run: * if I append the -msep-data flag, the program can be built. However when I run it, I get "BINFMT_FLAT: reloc outside program" errors, followed by a SIGSEGV * if I don't us

[uClinux-dev] Re: How to enable serial console on SnapGear PRO?

2008-09-22 Thread Grant Edwards
On 2008-09-21, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2008-09-21, Grant Edwards <[EMAIL PROTECTED]> wrote: > >> Now I'm trying to figure out how to get a serial console >> enabled (for both the kernel and a shell once things are >> started up)... > > I'm a bit stumped. I've done everything

[uClinux-dev] Re: How to enable serial console on SnapGear PRO?

2008-09-22 Thread Grant Edwards
On 2008-09-22, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2008-09-21, Grant Edwards <[EMAIL PROTECTED]> wrote: >> On 2008-09-21, Grant Edwards <[EMAIL PROTECTED]> wrote: >> >>> Now I'm trying to figure out how to get a serial console >>> enabled (for both the kernel and a shell once things are >

[uClinux-dev] ping fails the 2nd time

2008-09-22 Thread Matt Waddel
Hello, I've encountered an interesting problem with ping (both busybox and the regular ping) on the Coldfire platforms. After typing to end ping the 1st time, running ping the 2nd time only lets one packet get through. Ping seems to hang after the first packet. So the following sequence: # pi

Re: [uClinux-dev] ping fails the 2nd time

2008-09-22 Thread Greg Ungerer
Hi Matt, Matt Waddel wrote: I've encountered an interesting problem with ping (both busybox and the regular ping) on the Coldfire platforms. After typing to end ping the 1st time, running ping the 2nd time only lets one packet get through. Ping seems to hang after the first packet. So the fol

Re: [uClinux-dev] pthreads, vfork and signals

2008-09-22 Thread Greg Ungerer
Hi Allon, Allon Stern wrote: On Sep 20, 2008, at 12:20 PM, Jamie Lokier wrote: Allon Stern wrote: Never mind NPTL - I just want Linux Threads, which don't seem to be working for my on my NOMMU M5282 target, using 888. I'm using uClibc 20060608 Anybody have it working? A simple example cause

Re: [uClinux-dev] Application compilation woes

2008-09-22 Thread Greg Ungerer
Hi Frederic, Frédéric DUBOIS wrote: Helllo, I am upgrading our uClinux distribution from 2.4.22 to 2.4.34, using the latest releases (or I think so: uClinux-dist-20080808.tar.gz and m68k-uclinux-tools-20061214.sh), for our 5272-based custom board. The kernel compilation finally went

Re: [uClinux-dev] ping fails the 2nd time

2008-09-22 Thread Erwin Authried
Am Montag, den 22.09.2008, 17:28 -0600 schrieb Matt Waddel: > Hello, > > I've encountered an interesting problem with ping (both > busybox and the regular ping) on the Coldfire platforms. > After typing to end ping the 1st time, > running ping the 2nd time only lets one packet get > through. Pi

Re: [uClinux-dev] how to run the app was compiled with option "-fpic" option in uclinux?

2008-09-22 Thread Erwin Authried
Am Montag, den 22.09.2008, 23:32 +0800 schrieb vincen: > dear sir > If I compile this helloworld app with option "-D__PIC__ -fpic > -msingle-pic-base",It run ok in uclinux,but why only add the option > "-fpic ",the app can not be run? >Because I have compiled a library file when only

Re: [uClinux-dev] Re: How to enable serial console on SnapGear PRO?

2008-09-22 Thread Greg Ungerer
Hi Grant, Grant Edwards wrote: On 2008-09-22, Grant Edwards <[EMAIL PROTECTED]> wrote: On 2008-09-21, Grant Edwards <[EMAIL PROTECTED]> wrote: On 2008-09-21, Grant Edwards <[EMAIL PROTECTED]> wrote: Now I'm trying to figure out how to get a serial console enabled (for both the kernel and a s