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

Re: [microblaze-uclinux] Porting help



Hi Richard,

The mailing list server is pretty slow at the moment, it makes an 
interactive email discussion a bit difficult, but anyway...

Richard Klosinski wrote:

> Still debugging the spartan3 port. The system halts at
> mbvanilla.c/mach_halt. Tracing the stack:
> 
> Bug.c/__bug
> Bootmem.c/free_bootmem_core

Can you give us the rest of the stack unwind ("info stack" within gdb 
should do it)?

> It seems to fail at the statement (in bootmem.c)
> if (end > bdata->node_low_pfn)
>       BUG();

Whenever this happens, it's always a sign that there's a problem in the 
arch/platform dependent code, in terms of setting memory size, or 
offset, or something.

Today's been megahectic - if I get a chance tonight or tomorrow I'll 
shrink a stock mbvanilla_net down to 8MB and see if I can duplicate your 
problem.

Once we solve this, it really, really, really needs to be a FAQ!

Sorry you're having such a hard time of it - you're probably 2 lines of 
code/changes/typos away from a clean boot...

Rgds,

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/