Hi Cristoph,
have you tried to increase the application stack during compiling phase.
If you use a gcc-like compiler, you should use the flag -Wl,-elf2flt="-s
8192", where 8192 stands for 8KB stack.
In my case, it worked.
Bye
Salvatore
Il 08/04/2010 10.23, Christoph Baumann ha scritto:
Hello all,
working on an application for an ARM target (no MMU!) with uClinux I ran
into a strange problem. When I try to allocate 4MB of RAM the allocation
fails. If I then try to allocate 4MB minus 4k (one page) it works. But
then no other application can allocate memory until the first
application either frees its memory again or gets killed by the kernel
to make more RAM available. /proc/meminfo shows that there are ~10MB of
free RAM.
Meanwhile I checked the value of MAX_ORDER which is set to 13.
So any ideas out there?
Thanks and Regards,
Christoph
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
Salvatore Frizzoli
Software Developer
Research& Development Department
IMS srl
Via Sagittario, 5
Fraz. Pontecchio Marconi
40037 Sasso Marconi (BO)
Italy
Tel. ++39 051 846851
Fax ++39 051 846856
http://www.imsitaly.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev