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

Re: [microblaze-uclinux] uClinux Dhrystone option




John,
Well I deleted everything and redownloaded the files,toolchaing and patch and reset it all up and rebuilt the kernel with the dhrystones enabled and it works.  I ahve no idea how my system got so messed up but it really did but it all works now.
Thanks for the help
Brett



John Williams <jwilliams@itee.uq.edu.au>
Sent by: owner-microblaze-uclinux@itee.uq.edu.au

04/27/2005 05:52 PM

Please respond to
microblaze-uclinux@itee.uq.edu.au

To
microblaze-uclinux@itee.uq.edu.au
cc
Subject
Re: [microblaze-uclinux] uClinux Dhrystone option





Hi Brett,

mcnernbm@notes.udayton.edu wrote:
>

> Ok I fixed my makefiel to amtch your posted one below but now when I
> build everythign goes ok but when I type dhrystone once I login I get
> the following message:

I really don't understand how your makefile got broken - do you have any
idea?

> BINFMT_FLAT: bad magic/rev (0x1010100, need 0x4)
> BINFMT_FLAT: bad magic/rev (0x1010100, need 0x4)
> ELF: not found
>
> So what am I doing wrong now?  

Your dhrystone application is compiled as an ELF executable, not a flat
binary required by uClinux.  This is all handled automatically by the
uClinux-dist bulid process - I really don't understand why you
environment is so broken.

A couple of questions:

1. What version of EDK do you have installed
2. Have you installed the customised mb-uclinux gcc tools, available
from the website?
3. When you execute `which mb-ld` on your development machine, what is
the result?
4. Have you selected the dhrystone app to from within the menuconfig
system?  Or did you just type "make" from within the user/dhrystone
directory?

> Also I have been getting the follwoing message to while it is running:
> init: /bin/inetd respawning too fast

the init process is trying to launch /bin/inetd, but it is failing.
That could be because it simply isn't there, or it is, but is failing
somehow.  Again, if you want inetd, it must be selected in the
menuconfig settings, under vendors/user settings.

Regards,

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/