Re: [uClinux-dev] Bad Frame Format

2007-05-11 Thread Praveen Chandrasekharaiah
Phil Greg, Attached is the verbose output of the make command. Please rename .piz to .zip. Greg Ungerer wrote: Hi Praveen, Praveen Chandrasekharaiah wrote: :) I am compiling with the correct CPU architecture. A snap shot of my logs are below: If you send your build command lines I

Re: [uClinux-dev] Bad Frame Format

2007-05-10 Thread Praveen Chandrasekharaiah
Greg, :) I am compiling with the correct CPU architecture. A snap shot of my logs are below: -- /var/tmp tftp 192.168.10.80 tftp binary tftp get rrh Received 793780 bytes in 14.2 seconds tftp /var/tmp chmod 777 rrh /var/tmp ./rrh [22] /var/tmp bad

Re: [uClinux-dev] Bad Frame Format

2007-05-09 Thread Praveen Chandrasekharaiah
The stack size is 256 k. I presume this i more than sufficient for my application. I did try increasing to 1Meg. Greg Ungerer wrote: Hi Praveen, What is the stack usage of the program that crashes? A common cause of application crashes is over runing the stack. The default is 4k, so it is not

Re: [uClinux-dev] Bad Frame Format

2007-05-07 Thread Praveen Chandrasekharaiah
I did double check on the application looking for null pointers memory leaks. It runs perfectly fine on a linux machine but fails to run on uClinux when cross compiled for m68k. Gavin Lambert wrote: Bad Frame Format usually means your app is accessing invalid memory, whether through a null

[uClinux-dev] Bad Frame Format

2007-05-04 Thread Praveen Chandrasekharaiah
While executing an application on a custom M5272C3 board with 16 Meg SDRAM, i get a Bad Frame Format error as soon as i execute the application. The RAMFS is configured to 1024K. The application size is 793780 bytes. I transfer the application onto the board using tftp. However when i try to

[uClinux-dev] Bad Frame Format

2007-05-04 Thread Praveen Chandrasekharaiah
While executing an application on a custom M5272C3 board with 16 Meg SDRAM, i get a Bad Frame Format error as soon as i execute the application. The RAMFS is configured to 1024K. The application size is 793780 bytes. I transfer the application onto the board using tftp. However when i try to

Re: [uClinux-dev] Page Allocation Failure

2007-05-01 Thread Praveen Chandrasekharaiah
bytes. Even with only Allow allocating large blocks ( 1MB) of memory and the stack size 4K, i am unable to execute the application. Gavin Lambert wrote: Quoth Praveen Chandrasekharaiah : I am trying to solve this page allocation failure. order:8, mode:0x40d0 error but some how all

Re: [uClinux-dev] BINFMT error: C++ Application

2007-04-24 Thread Praveen Chandrasekharaiah
I am using Cogent CSB360. It has 8 meg of Flash and 8 meg of ram. I boot of uMon and then load the uClinux image and execute. Then transfer (tftp) the c++ application to execute. Memory is ample to run a 506344 bytes (0.5 meg) application. By default -fPIC is enable and i also tried explicitly

Re: [uClinux-dev] BINFMT error: C++ Application

2007-04-23 Thread Praveen Chandrasekharaiah
: Praveen Chandrasekharaiah [EMAIL PROTECTED] writes: I downloaded Sourcery G++ Lite 4.1-32 for coldfire uClinux and compiled. But i still get the same error: BINFMT_FLAT: reloc outside program Exactly what command line are you using? Was it the same as David's: m68k-uclinux

Re: [uClinux-dev] BINFMT error: C++ Application

2007-04-23 Thread Praveen Chandrasekharaiah
The m68-elf command is a link to m68k-uclinux in my current setting. *lrwxrwxrwx 1 root root 16 Mar 15 06:24 m68k-elf-g++ - m68k-uclinux-g++ lrwxrwxrwx 1 root root 16 Mar 15 06:24 m68k-elf-gcc - m68k-uclinux-gcc* I just download the toolchain binary from

Re: [uClinux-dev] BINFMT error: C++ Application

2007-04-23 Thread Praveen Chandrasekharaiah
I still get *BINFMT_FLAT: reloc outside program* on executing on the M5272C3 Cogent board. Praveen Chandrasekharaiah wrote: The m68-elf command is a link to m68k-uclinux in my current setting. *lrwxrwxrwx 1 root root 16 Mar 15 06:24 m68k-elf-g++ - m68k-uclinux-g++ lrwxrwxrwx 1 root

[uClinux-dev] BINFMT error: C++ Application

2007-04-20 Thread Praveen Chandrasekharaiah
Hi, I am trying to run a simple C++ application on uClinux 2.6.16 on a M5272C3 board. The program is: *#include iostream using namespace std; int main(int argc, char **argv) { cout Hello this is my First uClinux C++ Application\n endl; return 0; } * The following command was used to

Re: [uClinux-dev] BINFMT error: C++ Application

2007-04-20 Thread Praveen Chandrasekharaiah
, Praveen Chandrasekharaiah [EMAIL PROTECTED] wrote: Hi, I am trying to run a simple C++ application on uClinux 2.6.16 on a M5272C3 board. The program is: *#include iostream using namespace std; int main(int argc, char **argv) { cout Hello this is my First uClinux C++ Application\n endl

Re: [uClinux-dev] BINFMT error: C++ Application

2007-04-20 Thread Praveen Chandrasekharaiah
I increased from 4k to 128k in steps of 2k and still got the same error. At 699359 i got the new error. David Wu wrote: On Fri, 20 Apr 2007 18:35:11 -0400, Praveen Chandrasekharaiah [EMAIL PROTECTED] wrote: Hi David, I increased the stack size all the way to 69 using the below command