[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] "BUG: wrong zone alignment, it will crash"



Lancer Evo wrote:
2007/3/12, John Williams <jwilliams@xxxxxxxxxxxxxx>:


This error message is generated usually if the base address of your
system memory is not some reasonable-sized power of 2.  You are more
likely to get this error when you enable large allocs.

The solution is to rebase your system memory at a nice power of 2, like
0x20000000

I hope this helps,


Uhm, ok, in fact my base address is 0x20100000, but can I change this
without problem?
Can I change it from edk or from uClinux source?

Change it in EDK, rebuild your hardware project then run the petalinux-copy-autoconfig script to update your kernel. Rebuild the kernel, and off you go.

Cheers,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/