I reverted his commits and compiled using O3 and it worked, but: I get the same error on runtime:
relocation 0x2f is not implemented yet Aborted. Press any key to exit.bdev_dec_ref:242: last ref, So I guess the upstream GRUB is affected, too the error just happens at runtime. On Sun, Feb 1, 2015 at 1:36 PM, Michael Zimmermann <sigmaepsilo...@gmail.com> wrote: > Oh sry, I totally forgot that I picked patches for mkimage. > That's the point is where I started forking grub to add Ian's patches: > https://github.com/grub4android/grub/commits/master?page=7 > > On Sun, Feb 1, 2015 at 1:32 PM, Leif Lindholm <leif.lindh...@linaro.org> > wrote: >> On Sun, Feb 01, 2015 at 12:43:40PM +0100, Michael Zimmermann wrote: >>> mkimage: >>> grub-mkimage -c load.cfg -O arm-uboot -o uboot.img -d ./grub-core -T >>> 0x89000000 m list of modules >> >> Ok, so that command line tells me you are not using a plain upstream >> grub, but have added Ian Campbell's patches to relocate the image base >> address at mkimage time: >> http://lists.gnu.org/archive/html/grub-devel/2013-12/msg00421.html >> (This would have been useful to mention up front.) >> >> Did you get this source code from somewhere, or have you applied it >> yourself to a current version? >> >>> I add these cflags to get static tools(mkimage etc). If I remove it I >>> get the same result. >> >> OK. >> >> / >> Leif >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel