[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Hello World
Hi Shamus,
McCarthy, Shamus wrote:
> I am trying to compile a simple hello world application for an Insight/Memec
> Virtex2 board. I have read the out of tree compile and am even using the
> MAKEFILE from this page; however, when I run the compiled program I receive
> a garbled mess in the telnet screen. Here is my testing procedure:
>
> 1) Get to a working shell prompt (telnet into the board)
> 2) Mount a NFS file system (Mandrake 10)
> 3) cd /mnt
> 4)./hello
That's very strange - a couple of questions:
After you run ./hello, can you recover the login? ie is the system
crashing, or is it just getting the terminal into a funny state? Can
you execute "stty sane" (even if you can't see the characters as you
type them)?
Does the same happen if you do an in-tree compile (basically create a
uClinux-dist/user/hello diurectory, put your source and Makefile in
there, and adjust the /user/Makefile to build your app)?
What if you do the out of tree compile, but remove the printf call (ie
just have the program do effectively nothing)?
John
___________________________
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/