[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Bug with binfmt_flat.c ??? (was Problem with booting on a new board)
Hi Steve,
Kapp, Steve wrote:
> I am building everything under a Fedora 4 installation (albeit running in
> VMWare).
>
> The mb-flthdr utility works just fine, whether or not I have enabled ZFLAT
> support in the configuration - it reads/reports on both compressed and
> uncompressed user applications. BTW, loading the init process fails in both
> cases.
Hmm, your init runs OK for me, but there's something seriously wrong
with sh - details below.
Can you double check the archive you sent?
John
$ mb-flthdr init
init
Magic: bFLT
Rev: 4
Build Date: Wed Nov 2 10:03:45 2005
Entry: 0x50
Data Start: 0x7ec0
Data End: 0x8bc0
BSS End: 0x1a610
Stack Size: 0x1000
Reloc Start: 0x8bc0
Reloc Count: 0x1b9
Flags: 0x1 ( Load-to-Ram )
$ mb-flthdr sh
Cannot read header of sh
$ hexdump -C sh | head
00000000 69 6e 69 74 00 00 00 00 00 00 00 00 00 00 00 00
|init............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
(note it's missing the bFLT magic number, for starters)
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/