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

Re: [microblaze-uclinux] Problem downloading kernel



On Apr 8, 2005 8:38 PM, Kristian Chaplin <kristian.chaplin@xilinx.com> wrote:
> Hi Bertrand,
> 
> If the memory test passes, that's great - odds are that the memory is
> ok.  However, please do check your PAR report to ensure that all
> constraints are met.

I checked it. It makes a warning saying that some contraints have not
been met. Should I worry about them if it's just a warning?

> 
> Can you confirm, you just use dow -data <file> <address> and then you
> cannot mwr and mrd?  You are not running "run" or "con" before the
> mrd's?

Yes, I'm sure it's directly after the "dow" command because I already
tried to read memory in order to compare with the content of
image.bin, but I couldn't access it.

> 
> How big is the memory, and how big is the binary image?
> 

image.bin is 1,4MB, and I have 32MB of DDR SDRAM.

> It would be worth extending the memory test to exercise all of the
> memory that is going to be accessed by the download, just to be
> thorough.

I should check in the documentation if 
XUtil_MemoryTest32((Xuint32*)XPAR_DDR_SDRAM_16MX16_MEM0_BASEADDR,
1024, 0xAAAA5555, XUT_ALLMEMTESTS) (one of the executed tests) cover
all the memory or just a part of it. I'll try to test this asap
(unfortunately I have no access to the board until sunday).

Thanks for your help!

Bertrand

> 
> Best regards
> 
> Kris
> 
> --
> ------------------------------------------------------------------------
> ----
> / /\/ Kris Chaplin
> \ \   Application Engineer - Embedded Processors
> / /   Xilinx Europe
> \_\/\ +44 (0)870-7356-563
> 
> -----Original Message-----
> From: owner-microblaze-uclinux@itee.uq.edu.au
> [mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Bertrand
> Rousseau
> Sent: 08 April 2005 10:46
> To: microblaze-uclinux@itee.uq.edu.au
> Subject: Re: [microblaze-uclinux] Problem downloading kernel
> 
> On Apr 8, 2005 5:28 PM, Kristian Chaplin <kristian.chaplin@xilinx.com>
> wrote:
> > Hello Bertrand,
> >
> > It is vital to ensure that the system is "known good" before starting
> > out trying to run uclinux on the board.
> >
> > Have you tried the testapp application that gets built when you run
> the
> > Base System Builder?
> 
> Yes I did, it tests the memory and return "PASSED" to every test, so I
> supposed it is alright. Do you have advise concerning the testing of
> the platform? Until now I only made use of theses "builtin" tests.
> 
> >
> > I see you are running at 100 MHz.  It would be worth checking that the
> > timing is met also.
> 
> Maybe I should try to lower the frequency. I just used the default
> value provided by BSB.
> 
> >
> > Once you download the binary to the target, does the memory contents
> > look reasonable when you command XMD with the MRD and MWR commands?
> 
> Well, when the binary (I mean the "testapp" application) is first
> downloaded, I can use the mrd and mrw commands on my systems, and it
> works fine. But once the kernel has been downloaded with the 'dow
> -data ...' command, I'm unable to use these commands anymore, xmd
> always answer "operation not supported", so I suspect that the
> download corrupts my hardware design, even I don't have any proof of
> that.
> 
> Bertrand.
> 
> >
> > Best regards
> >
> > Kris
> 
> ___________________________
> 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/