Created attachment 3950 [details] elf failure "elf" image compression failed Steps to reproduce 1. Add the following variables to "conf/local.conf" IMAGE_FSTYPES += "elf" 2. Compile $ bitbake core-image-minimal Expected result: The compilation process should be performed successfully and the generated compressed image should be at: "~/tmp/deploy/images/machine/" Actual result: The compilation image process failed getting the following error message: Internal error convert_magic 00000000 != a5a5a5a5 Full log attached Bug previously opened about elf was Bug 11590
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d69a8766521c0cdac509cde61f5c201c92a9f8ba
Test done in current master and the problem is still present commit ed48e7b4f0d11bf20e0be44d8403fc16dd6d4411 | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_image_elf | Internal error convert_magic 00000000 != a5a5a5a5
It's actaully back because the binutils where updated again and the special header code needs to be fixed again. I will be completely removing the ELF image type as it's be deprecated by the upstream coreboot.
(In reply to comment #3) > It's actaully back because the binutils where updated again and the special > header code needs to be fixed again. > > I will be completely removing the ELF image type as it's be deprecated by > the upstream coreboot. Agree.. Test case is using all the available types defined on IMAGE_TYPES, so the ELF type should be removed, after that change the patch [1] with the test can be sent to the list. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=jperez/bug10745-full&id=fc68679515bf0a4f71344074a84f4b8e0e902742
Patches posted to remove ELF Image type!
Set of 4 patches that accomplished removal of the ELF support http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c27f5dc245f4aa4f7df96075222e06d3fd49c835 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9de82270e4b2706429c02679ba4ff61690ac5328 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=233be758030172df971e868468ceb2714c06fbf0 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a77b6ee767ced8d181e95c3662fa9584bf1bacba