[uClinux-dev] Problems with uClinux for ColdFire

2007-05-09 Thread Davide Devoti
Hi everyone, I just began doing some tests to see if uClinux could fit for my next projects based on ColdFire or ARM. I have to say that I'm not very skilled on Linux, I've used it in the past but in the last 7 years I worked on different platforms. In this moment I'm doing some tests with the

[uClinux-dev] uclinux with RAM size problem

2007-05-09 Thread will
Dear all, I have encoutered some problems with my coldfire m5272 board running uclinux of version 2.6.17-uc1. My board has 64M sdram and I configured the "CONFIG_RAMSIZE" with the value of 0x0400 instead of the default value 8M. When I increase the ramfs image from 128k default to 2048k,

[uClinux-dev] Library linking problem uCLinux, coldfire m68k-elf-gcc

2007-05-09 Thread santosh dwivedi
Hello Everybody, I am trying to compile and link an application with m68k-elf-gcc compiler for coldfore MCF5282, but getting linking error. Here is how I am compiling and linking : m68k-elf-gcc -I. -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/vb_zigbee_platform/Interface

Re: [uClinux-dev] uclinux with RAM size problem

2007-05-09 Thread Greg Ungerer
Hi Will, will wrote: I have encoutered some problems with my coldfire m5272 board running uclinux of version 2.6.17-uc1. My board has 64M sdram and I configured the CONFIG_RAMSIZE with the value of 0x0400 instead of the default value 8M. When I increase the ramfs image from 128k default

Re: [uClinux-dev] SLOB and binfmt_flat/do_mremap

2007-05-09 Thread Greg Ungerer
Hi John, John Williams wrote: With the SLOB allocator enabled, kobjsize() doesn't seem to match ksize(). This triggers a bug with binfmt_flat, where the do_mremap call is used to take up slack space in the allocated text/data segments. binfmt_flat calls ksize to get the allocated region

Re: [uClinux-dev] Problems with uClinux for ColdFire

2007-05-09 Thread Greg Ungerer
Hi David, Davide Devoti wrote: I just began doing some tests to see if uClinux could fit for my next projects based on ColdFire or ARM. I have to say that I'm not very skilled on Linux, I've used it in the past but in the last 7 years I worked on different platforms. In this moment I'm doing

Re: [uClinux-dev] Problems with uClinux for ColdFire

2007-05-09 Thread Greg Ungerer
Hi Davide, Davide Devoti wrote: Actually I was working with kernel version 2.6.x, kernel 2.4.x works, kernel 2.0.x gives errors while compiling ... Can you try 2.6.x again, setting the RAM configuration option to a fixed size? (The 2.6.x code uses a different RAM detection scheme, maybe it

Re: [uClinux-dev] enumerating busybox completely and automatically(wasRe: Busybox who Applet)

2007-05-09 Thread Per Hallsmark
Hi, eh, I simply can't resist throw in something to this discussion :) Attached is a glue-makefile for busybox. Previously, a glue-makefile had -build,-clean,-romfs additions. That means that in toplevel, snapgear, you could do like: make busybox-build - for test building a single app make

[uClinux-dev] net-snmp 5.2.1 with v3

2007-05-09 Thread Jay Kidd
I'm currently working with the 20051110 Coldfire distribution and building the net-snmp user app with v3 support. However, the agent does not recognize the createUser command in my snmp(d) config file. I have this working under Fedora 4 with the 5.4 version of net-snmp so I know my config file is

Re: [uClinux-dev] net-snmp 5.2.1 with v3

2007-05-09 Thread Jay Kidd
Doug, Thanks for the quick reply. I checked both of the defines and they are set correctly. I also tried your config file, but had the same warning from the agent that the createUser token is unknown. But it's good to know that it does work, so I'll keep digging. Jay --- Doug Kehn [EMAIL

[uClinux-dev] pthread link errors

2007-05-09 Thread chris brooke
Hi,I am trying to build a simple application to test pthreads on a custom 5272 target using the 2.6.x kernel. I have built the pthread library and I use the -lpthread option on the linker.I get the following link errors when I try to build the code:.elf2flt: In function

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] pthread link errors

2007-05-09 Thread Gavin Lambert
Quoth chris brooke: I am trying to build a simple application to test pthreads on a custom 5272 target using the 2.6.x kernel. I have built the pthread library and I use the -lpthread option on the linker. I get the following link errors when I try to build the code: .elf2flt: In function

Re: [uClinux-dev] Bad Frame Format

2007-05-09 Thread Greg Ungerer
Hi Praveen, Praveen Chandrasekharaiah wrote: The stack size is 256 k. I presume this i more than sufficient for my application. I did try increasing to 1Meg. Probably not stack size then. Are you sure you are compiling it for the correct CPU architecture varient (I don't recall what your

Re: [uClinux-dev] OKI ML675001

2007-05-09 Thread David McCullough
Jivin Per Hallsmark lays it down ... Dear nommu gurus! I'm back down the work-pile and trying porting linux 2.6 on a ARM nommu processor. The boot seems going farly well, but as soon as userland start, it goes to some parallell universe or something. Unfortunally this platform hasn't