The University of Queensland Homepage
School of ITEE ITEE Main Website

 Troubleshooting

Troubleshooting

Things never work out the way they should.  These pages are a collection of acquired knowledge about things that go wrong, and how to fix them.  It is broken up into several sections.

Very little here yet[1], if you have something to add then please let me know!

Q:

I've build the kernel, build the mbvanilla target, and configured my FPGA board, but I'm unable to connect with XMD.
 

A:

If you are using the Insight Virtex2 system board, make sure that DIP switch 1 is in the on (up) position.  Otherwise, you are holding the MicroBlaze in reset and XMD will never be able to connect.

 

Q:

I upload image.elf file, but then when I boot the board it says "Unable to mount root filesystem".
 

A:

This is a problem with the ELF loader built into XMD.  The solution is to use the image.bin file instead, and upload it in XMD with the command

dow -data image.bin 0x80000000

or whatever kernel link address you have.

 

Q:

I try to build the kernel but I get the error "In function `__xchg': /home/uClinux-dist/linux-2.4.x/include/asm/system.h:108: unknown register name `r12' in `asm'
make[1]: Leaving directory `/home/uClinux-dist/user'
make: *** [subdirs] Error 1

A:

This problem arises when trying to build uClinux under RedHat7.x.  Upgrade to RH 8.0 or greater.  If that is impossible, install gcc 3.2 on your existing system.

 

Q:

When the kernel boots, I get the error "Warning: Unable to open initial console"

A:

Greg Ungerer writes: The most common cause of this problem is using an old version of genromfs (or even just having an old version first in your PATH). Older version did not support the inline creation of device nodes from file names starting with "@".

So, use the command "which genromfs" to make sure that you are executing the genromfs that is distributed with the MicroBlaze gcc tools.

[1] I boycott the expression "Under Construction", and so should you!  You will not find any animated bulldozers on this web site!


Home


Last updated 08-May-2006   
© 2003-2006 John Williams unless otherwise stated