Quoth Praveen Chandrasekharaiah <>:
> I am trying to solve this "page allocation failure. order:8,
> mode:0x40d0" error but some how all the suggested solutions don't
> seem to work.  
> 
> I am using 2.6.16 uClinux on M5272C3. I selected Allow allocating
> large blocks (> 1MB) of memory and increased the RAMFS size to 1024K
> and also increased the stack size for 4k to 20K. The size of the
> application itself is 793780 bytes. The board has a ROM and RAM of 5
> Meg each.    

Are you using XIP and running from ROM or is the kernel and ROMFS
running from RAM?

With an all-in-RAM setup and 8MB of RAM, I found there was only ~5MB
free on initial boot, and about ~2MB free once it reached the shell.
Unless you've got a very constrained system that means once you've
loaded a 1MB app there's precious little room to move around in
afterwards.

(Incidentally, those steps you describe [apart from the first] would
actually make the problem *worse* for an all-in-RAM setup.)

_______________________________________________
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

Reply via email to