[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] uClinux finally works
John Williams wrote:
> >>How big is your busybox executable (it's in uClinux-dist/romfs/bin/busybox)?
> >>
> > Is about 221 Kbytes... is very big!!! :)
>
> Yes, that does seem very big. In my current setup, the busybox app is
> about 88Kbyte...
>
> What was the result of running mb-flthdr on busybox? I doubt very much
> whether it is compressed, at that size...
# ls -lah busybox
-rwxr--r-- 24 ivan ivan 217K 2004-03-04 19:17 busybox
# mb-flthdr busybox
busybox
Magic: bFLT
Rev: 4
Build Date: Thu Mar 4 13:22:06 2004
Entry: 0x50
Data Start: 0x2dc80
Data End: 0x32ad0
BSS End: 0x33dc0
Stack Size: 0x4e20
Reloc Start: 0x32ad0
Reloc Count: 0xd8f
Flags: 0x1 ( Load-to-Ram )
> If have this in my /vendors/Insight/mbvanilla_net/Makefile, under the
> "image:" target:
>
> for i in $(ROMFSDIR)/bin/* ; do \
> $(CROSS)flthdr -z $$i; \
> done
>
> It just goes through and compresses all of the binaries, usually down to
> about 50%. The kernel automatically uncompresses them at load time.
>
# mb-flthdr -z busybox
zflat busybox --> busybox
# ls -lah busybox
-rwxr--r-- 24 ivan ivan 83K 2004-03-04 23:40 busybox
# mb-flthdr busybox
busybox
Magic: bFLT
Rev: 4
Build Date: Thu Mar 4 13:22:06 2004
Entry: 0x50
Data Start: 0x2dc80
Data End: 0x32ad0
BSS End: 0x33dc0
Stack Size: 0x4e20
Reloc Start: 0x32ad0
Reloc Count: 0xd8f
Flags: 0x5 ( Load-to-Ram Gzip-Compressed )
Great!!!
> Yesterday, just for an experiment, I tried building the Samba supprt and
> applications. It worked immediately, I was able to mount our intranet
> Samba share on my microblaze uClinux box! This sort of interoperability
> is what makes uClinux so powerful.
>
Ohhhhh!!! Incredible!!! Then is possible to design applications for
uClinux-MicroBlaze on a PC and mounting the work directory, the
MicroBlaze can execute them... as a hard remote disk :P
> Of those that have been "ported" to uClinux, they usually work just fine
> on Microblaze. Just enable them in the user config, make dep, and make.
>
> This is for "normal" tools - low level ones like gdbserver for example
> are strongly architecture dependent, so more work is required there. But
> the standard file system stuff, web server, networking apps etc - they
> work fine.
>
Great!!! Great!!!
Regards,
Ivan
___________________________
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/