[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] Machine_Halt on Spartan 3 Starter Kit
Ok, I added 32MB SDRAM and it seems to test ok, well, the first 10MB that I
did test tested ok.
But I still end up with this:
#0 machine_halt () at machine.c:235
#1 0x300062ec in __bug (file=0x1d "\b¼ ", line=1, data=0x1cf) at bug.c:30
#2 0x30089a54 in find_bootmap_pfn (node=0, mi=0x3008eea8, bootmap_pages=1)
at init.c:463
#3 0x30089ac4 in bootmem_init (mi=0x3008eea8) at init.c:492
#4 0x30089ac4 in bootmem_init (mi=0x0) at init.c:492
#5 0x30089ac4 in bootmem_init (mi=0x0) at init.c:492
#6 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#7 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#8 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#9 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#10 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#11 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#12 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
#13 0x30089ac4 in bootmem_init (mi=0xaaaa5555) at init.c:492
Does this look familiar to anybody?
Thank you,
Errol
-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Errol
Terblanche
Sent: Wednesday, May 25, 2005 2:33 PM
To: microblaze-uclinux@itee.uq.edu.au
Subject: RE: [microblaze-uclinux] Machine_Halt on Spartan 3 Starter Kit
Thanks Steve
I have looked at the config file that you posted, and I did model my kernel
after it, although I use uclinux_auto and not mbvanilla. My kernel is around
600KB and romfs is 150KB though.
But I think I should add ram to the board, get it up and running, then cut
it down to fit in the 1MB again.
I did get the stack out of the board last night and it is:
Bootmem_init
Bootmem_init
Bootmem_init
<and lots more Bootmem_init>
Find_bootmap_pfn
__bug
Machine_halt
What worries me is that the __bug function should print on the console where
it happened, but I get nothing. CONFIG_NO_KERNEL_MSG is not set...
But I'll add more ram and start again...
Thank you,
Errol
South Africa
-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Steve Sanders
Sent: Tuesday, May 24, 2005 6:04 PM
To: microblaze-uclinux@itee.uq.edu.au
Subject: Re: [microblaze-uclinux] Machine_Halt on Spartan 3 Starter Kit
You need to make the kernel MUCH smaller to be able to run in 1MB of
RAM. It can be done, but it'll take some work. Check out some of my
posts from a few months back.
Steve
--- Errol Terblanche <rince@necsa.co.za> wrote:
> Hi,
>
> Im trying to get uClinux running on the Spartan 3 Starter Kit with
> only its
> base 1MB ram.
>
> I have run the basic memory test app that EDK generated, and that was
> successful.
>
> My image.bin is just under 800KB, must it be smaller still?
>
> I can't figure out how to do a trace in the Xilinx Software Debugger,
> all I
> know is that it ends up in Machine_Halt before it prints anything on
> the
> console.
>
> Can anyone tell me how to do a trace? The help says that StartTrace
> is only
> supported on the PPC.
>
> I really have no idea where to start looking for the problem.
>
> Caches are disabled, 16KB of LMB ram, hardware multiply on.
>
> Any advice would help.
>
> Thank you,
> Errol
> South Africa
>
>
>
> ___________________________
> 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/
>
>
___________________________
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/
___________________________
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/
___________________________
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/