Hi,
I met few week ago the same problem with ColdFire m5329. I found 2 solutions: 1) Reduce the memory space declared in the uclinux configuration (I use LTIB for the uclinux make), and address directly at a specified address. 2) Create a kernel module that allocate memory using function get_order() and __get_free_pages(). For buffer free, it is free_pages(). Note: In both case, debug with gdb server (with the eclipse IDE for gdb) was not possible. I hope it will help you Regards Philippe _____ De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Narasimha, Swaroop(IE10) Envoyé : mercredi 10 septembre 2008 11:13 À : [email protected] Objet : [uClinux-dev] Allocation of large memory block Hello all I am trying to run an application on uClinux ported on coldfire 5372 processor. Kernel version is 2.6.19 without any patches. Our board has 64MB ram. In our application I am trying to allocate 4 static buffers of 2MB each. But on running the program we get a message saying insufficient memory. While building the kernel I have also enabled the option to allocate memory greater than 1MB. Could anyone help me in this regard??? Regards Swaroop __________ Information NOD32 3430 (20080910) __________ Ce message a ete verifie par NOD32 Antivirus System. http://www.nod32.com
_______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
