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

Re: [microblaze-uclinux] uClinux finally works



Hi John,

finally I incresase the RAM memory of my board to 4 MBytes (my board has
8 MBytes but I use 4 MBytes to share data with the host), and uClinux
works fine!!! 

Many thanks, John

John Williams wrote:
> > The problem
> > was the use or hardware multiplier. Virtex-E don't
> > have embedded multipliers, so... :)
> 
> ahh, of course.  I remember now that troubled someone else as well - 
> time to add it to the FAQ!
> 

:)

> > When i compile the kernel the following warning
> > message appear: 
> > "BFD:
> > /home/ivan/Aplicaciones/MicroBlaze/uClinux/uClinux-dist-20030909/images/image.elf:
> > warning: the asigned .romfs section is not in the
> > segment"  :P
> > 
> > Is normal, isn't it?
> 
> Yes, just a bug/feature of objcopy.
> 

Ok

> you don't have a single memory block big enough to load the busybox 
> application.  Busybox rolls all of these common utils into a single 
> executable, which saves disk space overall, but increases the memory 
> requirements any specific execution.
> 
> How big is your busybox executable (it's in uClinux-dist/romfs/bin/busybox)?
> 

Is about 221 Kbytes... is very big!!! :)

> These all fail because /var didn't mount.
> 
> What's the solution?  A couple of ideas - first of all I'd go into the 
> vendor/user config, and strip out all but the bare essentials.  In 
> network apps, unselect boa, inetd and telnetd.  In busybox, remove as 
> much as you can.  Unselect the "support for NFS mounts" option as well.
> 
> Basically, you need to free up memory, and make busybox smaller.
> 
> Also, on your linux dev host, cd into uClinux-dist/romfs/bin, and execute
> 
> $ mb-flthdr busybox
> 
> At the end of the listing, the "flags" line should say that it is marked 
> as compressed, and load-to-RAM.  If not, let us know - it's easy to do.
> 
> You aren't far from a working uClinux system now!
> 

Your asnswer is very interesting for me, because I have another small
platform based on Spartan II with 2MB of RAM memory and 2MB of flash
memory, and i want to use uClinux on it.

Now, i try to design a basic Ethernet board, because my platforms don't
have it. The network capability of uClinux is needed for me :)

John, all the tools available in the uClinux-dist works over MicroBlaze
or is neccesary to port them???

	Ivan

P.D.: Of course... if i can help you or collaborate on your work, you
know where to look for me :)

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