On Tuesday, 6 Nov, Goswin Brederlow wrote: > UNZIP: this is not a zipped file (which is true) > #######################################... > Oops: trying to close a non-open file!! (is that because of FAT?) > Expected 1, not 4 program headers
MILO has its own ELF handling code (not using libelf or BFD), which, I suppose, is the bare minimum sufficient to load Linux kernels (which have just one program header). I don't know why L4's image needs 4 headers; you could try stripping them with objstrip and then building a new ELF image with objcopy/ld - or something like that. Also, I remember that MILOs had the habit of ignoring load address in the ELF header, always loading at 310000 physical, fffffc0000310000 virtual. (I don't know if L4 cares, though.) Nikita

