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

Re: [microblaze-uclinux] uClinux Dhrystone option




I have no idea how it got so messed up maybe I should delete all the files and start from scratch.  Also I am using EDK 7.1  and yes I got the tools from your website.  I had the same issue though with 6.3 I tried it with both 6.3 and 7.1.  Also I did select the option under the make menuconfig I went under misc apps and selected it.  Other then that all I did was jsut remove all the network options and the gpio driver.  I left everything else alone.  Would you recommend I try deleting the dist and the kernel and the tools and redownload all of them and reset up everything from scratch on that end?  Also what i am doing is running make menuconfig set all the settings stated above and then I run make dep and then make.  THe dhryston is listed under bin when I do run everything on the board.  I then copy the images folder over to the pc I have the EDK installed on and then down load the bin file using dow -data images/image.bin 0x80000000 and then con 0x80000000.  

When I run which mb-ld I get : /root/Microblaze-elf-tools/bin/mb-ld


And from what I can tell initd is no selected under busybox  and Network Applications  so to me it seems I have not selected it at all so how can I get rid of that message if it seems to not be selected at all.  Also I am using the minix-shell since that was the default.

So I am at a lost other then deleting everything and redownloading the dist and kernel and replacing the aut-config file again and trying to rebuild it.
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/