Unable to compile ML with CONFIG_QEMU=y

Started by morgan20, August 25, 2018, 11:35:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

morgan20

Hi there!

As per this instruction I followed the steps to compile ML. I succeed and then proceed with CONFIG_QEMU=y, but failed on that.

I have successfully compiled ML for 550d and Qemu as the instruction said and then tried to compile ML again, but compilation aborted with the following reason:

[ AR       ]   dietlibc.a
[ AR       ]   newlib-libc.a
[ LD       ]   magiclantern
boot-hack.o: In function `my_init_task':
boot-hack.c:(.text+0x2dc): undefined reference to `ml_gui_main_task'
make[1]: *** [../../src/Makefile.src:197: magiclantern] Error 1
make[1]: Leaving directory '/home/morgan/magic-lantern/platform/50D.109'


I'm using Fedora 28 and gcc-arm-none-eabi-7-2018-q2-update.

Could anyone please give some hints on this error?

Thanks!

a1ex

That's the old implementation of CONFIG_QEMU. Try it in the experimental branches (qemu, lua_fix etc).

morgan20

Thank you kindly for your response.

I tried the qemu branch, but it seem to have an issue with 7D. Now I'm trying out the digic6_dumper branch because anyway I'm going to play around with DIGIC7 and 6D2 and this branch seem to have some stuff related to DIGIC7 cameras.

a1ex

7D is quite difficult to emulate, because of the dual processor configuration. Will revisit it at some point, alongside with 7D2, 5DS and 5D4, but for now it's on the back burner. Most of the QEMU tests are failing currently on these cameras; only the very basics are working (bootloader and a tiny part of the startup process).

The digic6_dumper branch is fine for QEMU experiments, too.