[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] ZFLAT bug
Yasushi SHOJI wrote:
> 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
> :
> :
Hi Yasushi
I tried both with and without flthdr -z and I always obtain:
bin/agetty: data
bin/busybox: data
bin/cat: data
:
:
I also tried without using flthdr at all, but I always obtain the same
messages.
Sob, sigh :-(
> 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
>
my mb-gcc -v is:
Reading specs from
/home/edasrv/ric/pizzamig/prj/mb-uclinux/experimental/toolchain/bin/../lib/gcc-lib/microblaze/2.95.3-4/specs
gcc version 2.95.3-4 Xilinx EDK 6.1 Build EDK_G.11
I'm using the last toolchain I find on John's site
(microblaze-elf-tools-20040315.tar.gz) and I'm currently using the
latest cvs updated uCL-dist....
cheers,
Pizza
-----------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 Milano
e-mail pizzamiglio@cefriel.it
Tel. 02 2395 4236
ICQ 5046978
-----------------------------------------
___________________________
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/