[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] [patch] boot memory allocator cleanup 3
Hi Yashi,
I'm having some problems with this one. When I boot with this patch
applied I get a BUG in open()... which almost certainly means
something's broken in the memory mapping. see my comments below:
Yasushi SHOJI wrote:
> * arch/microblaze/kernel/mbvanilla.c: finally used _ramstart
> fixed: _ramstart definition
OK
> * arch/microblaze/mbvanilla.ld: remove unsed bootmap section
>
> * arch/microblaze/mm/init.c: reserve memory from start of bss to
> _ramstart, which is the end of romfs.
> removed: _bootmap fixed:
> fixed: finally use _ramstart
Here's where it seems to break.
Specifically, if I just use bootmap=_ramstart it works OK, but as soon
as I actually remove the bootmap region from the link script, it breaks.
The .bss section comes afterimmediately the bootmap, so it's probably
related. I'm still trying to work out why...
Any thoughts? I'll keep looking for a bit longer.
Thanks,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/