elf2flt questions

Denys Vlasenko vda.linux at googlemail.com
Thu Jun 5 03:43:06 UTC 2008


On Thursday 05 June 2008 02:34, Bernd Schmidt wrote:
> > elf binaries, it says "BINFMT_FLAT: bad magic/rev (0x1010100, need 0x5)".
> 
> One thing I just remembered is that we used to have non-standard flat 
> files.  Version 5 doesn't exist in any tools/kernels other than ancient 
> Blackfin distributions.  Our tools were fixed long ago to generate 
> version 4 flat binaries.  With a modern toolchain you can't actually 
> produce binaries that will run on the 2005 kernel you're using (never 
> mind that it's totally bug-infested anyway), so please upgrade that 
> first.  There's a u-boot installed on your board, surely?

Yes.

U-Boot 1.1.6-svn1226 (ADI-2008R2-pre) (May 29 2008 - 15:54:06)

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2)
Board: ADI BF537 stamp board
       Support: http://blackfin.uclinux.org/
Clock: VCO: 500 MHz, Core: 500 MHz, System: 100 MHz
RAM:   64 MB
Flash:  4 MB
In:    serial
Out:   serial
Err:   serial
Net:   Blackfin EMAC
MAC:   00:E0:22:FE:47:CC
Hit any key to stop autoboot:  0

The board has one image:

bfin> imls
Image at 20100000:
   Image Name:   uClinux Kernel Image
   Created:      2005-09-30   3:03:16 UTC
   Image Type:   Blackfin Linux Kernel Image (gzip compressed)
   Data Size:    1429678 Bytes =  1.4 MB
   Load Address: 00001000
   Entry Point:  00001000
   Verifying Checksum ... OK



More information about the uClibc mailing list