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

RE: [microblaze-uclinux] can't mount root fs...!?



Erik,

I just got it working! Thanks for the tips.

-Stephen

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Erik
Hansen
Sent: Saturday, November 15, 2003 2:48 PM
To: microblaze-uclinux@itee.uq.edu.au
Subject: RE: [microblaze-uclinux] can't mount root fs...!?

Stephen,

>I recently built the mbvanilla_net hardware and compiled the kernel.
>However, I experienced the exact error as Flavius when downloading the
>image.elf file. So I tried the workaround below, however this time I
>received no response on the console, and the following XMD errors.
>
>Unable to Read register : R1
>Unable to Read register : R1
>Unable to Read register : R1
>XMD Continue: Error in single step
>Unable to Read register : R1
>Cannot read from target
>
>Any ideas? Please forgive me if this problem is obvious, as I am
>somewhat new to this.

I expierienced the same problem with xmd several times.
It seems as if xmd / xmdstub can not handle large amounts
of data beeing transfered. Which is quite anoying after
downloading for aprox. 5 minutes. Nevertheless things work
out quite OK for me, when I issue a reset command after
downloading and before starting Linux.

Issuing the command as below should help you avoiding
this error:

xmd> dow -data image.bin 0x80000000
xmd> rst
xmd> rwr pc 0x80000000
xmd> con

Of course you can use stp instead of con.
I mostly do so in order to check that I have
typed in the 0x80000000 correctly (much to
many '0's in there) and mb starts at to
correct address.

In order to make things more comfortable. You might
write a litte funktion, i.e. runlin, in TCL which executes these
commands and then add 'source mycommands.tcl'
to your xmd.ini, so you can start linux with
your runlin command.

Erik  

___________________________
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/