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

Re: [microblaze-uclinux] ZFLAT bug



Hi Luca,

At Thu, 15 Apr 2004 16:52:06 +0200,
Luca Pizzamiglio wrote:
[...]
> ~       for i in $(RAM_FILES) ; do \
> ~               [ ! -f $(ROMFSDIR)/$$i ] || $(CROSS)flthdr -r
> $(ROMFSDIR)/$$i ; \
> ~       done
> 
> ~       for i in $(ROMFSDIR)/bin/* ; do \
> ~              $(CROSS)flthdr -z $$i; \
> ~       done
> 
> The first flthdr say to load in ram these flat apps.
> The second one compresses all apps.
> To support these features, we must enable Kernel support for flat
> binaries and ZFLAT in General setup menu.
> With this configuration a bug arised. My workaround is to disable ZFLAT
> support and comment the second for loop in Makefile (flthdr -z)
> 
> Any comment? John, do you think this problem is related to the new
> toolchain (with the old one everything worked fine)?

% file romfs/bin/*
romfs/bin/basename: BFLT executable - version 4 ram gzip
romfs/bin/busybox:  BFLT executable - version 4 ram gzip
   :
   :

what is your toolchain version number? zflat works just fine here.

% mb-gcc -v
Reading specs from /opt/microblaze/bin/../lib/gcc-lib/microblaze/2.95.3-4/specs
gcc version 2.95.3-4 Xilinx EDK 6.1 Build EDK_G.11

microblaze-elf-tools-20040315.tar.gz

this is, I believe, the latest toolchain form John, which I'm using
right now.

regards,
--
              yashi
___________________________
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/