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

Re: [microblaze-uclinux] ZFLAT bug



Hi Pizza

At Mon, 19 Apr 2004 09:07:20 +0200,
Luca Pizzamiglio wrote:
[...]
> > % 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
>      :
>      :

that just be magic file. what version of file command are you using?

debian sid, distro I'm using, has bFLT entry in /usr/share/misc/file/magic

put the following in /etc/magic if you don't have it.

#------------------------------------------------------------------------------
# bFLT: file(1) magic for BFLT uclinux binary files
#
# From Philippe De Muyter <phdm@macqel.be>
#
0       string          bFLT            BFLT executable
>4      belong          x               - version %ld
>4      belong          4
>>36    belong&0x1      0x1             ram
>>36    belong&0x2      0x2             gotpic
>>36    belong&0x4      0x4             gzip
>>36    belong&0x8      0x8             gzdata


> > 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....

so it seems toolchain and dist are the same. any chance you have
multiple flthdr in your system? have you checked what John suggested?

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/