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

Re: [microblaze-uclinux] Trouble installing uClinux on XUPV2P running microblaze



Hi,

Ashish Darbari wrote:

I've been trying to get uClinux to install on MicroBlaze running on Digilent's Virtex II Pro Dev System. In the past 2 weeks have tried using quite a few tutorials, including Xilinx App Notes (www.xilinx.com/bvdocs/appnotes/*xapp730*.pdf), John Williams "uClinux Ready MicroBlaze" tutorial and Digilent's own Quick Start distro (http://www.digilentinc.com/Data/Products/XUPV2P/uclinux-xupv2p_rev_1_1.zip).

Do any of these resources include pre-built binaries (bitstreams and kernel images)? If so, have you tried one of them, to rule out a physical HW problem?

In each of these am able to compile the hardware (upload and download) and compile uClinux as well. However when the moment of truth comes --- when I download the image.bin file and do a con, I get no response. If I stop the processor and get a dump of different registers, I see the values of many including the pc change from 0x00000000, different at different time depending on when I issue the stop command.

When connected with XMD, can you write directly to the uartlite TX FIFO to push characters to the serial port?

I'm using EDK 8.1 to build the hardware and compile uClinux under
linux running in Vmware. I suspect it may be my DDR RAM or its controller,
but am not sure if its definitely the case. In the beginning of last week it was mainly that I had not set up
the timer and the interrupt controller properly which I did later.

Have you tried building the XUP2VP reference designs pristine, as they are downloaded from the websites you mention? Or are you still trying to use the one you created?

When you are getting started with this stuff it's always better to work by increemntally modifying something that already works. Then when you break something, you'll know about it.

I was trying to get another project going without any external RAM, just use the block RAM, but don't know if I can get uClinux to run without external RAM. Besides what is going to be the value for
PARAMETER main_memory in system.mss file if I'm not using DDR RAM.

Nope - you must have off-chip memory. There is not enough on-chip RAM to boot a linux kernel. The very largest V4 devices have just enough, but at >$10,000 per chip that's a very expensive experiment!

I've included my system.mhs, and .mss files together with auto-config.in. If anyone can give me a clue
it would be very helpful, I've had a very frustrating last two weeks.

Go back to basics - can you read/write to and from external memory? Can you push chars out to the UART. Find a standard reference design and build it.

Any timing constraint violations?

Try to find a pre-built bitstream and kernel image to test on your board.

Regards,

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/