On 6 April 2016 at 18:50, Emilio G. Cota <c...@braap.org> wrote: > I might be doing something wrong, but aarch64-softmmu @ master only works for > me > after reverting 94f02c5ea94 "ARM: Virt: Use gpio_key for power button". > Bisect log > appended. > > This is what I get when booting aarch64 as per [1]: > $ aarch64-softmmu/qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine > type=virt \ > -nographic -smp 1 -m 2048 -kernel > img/aarch64/aarch64-linux-3.15rc2-buildroot.img \ > --append "console=ttyAMA0" > > qemu-system-aarch64: Unknown device 'gpio-key' for default sysbus > Aborted (core dumped)
Your tree isn't building right (this is a dependency bug in our makefiles somewhere) -- it hasn't built the new object file with the gpio-key device in it, which means a runtime failure when the device can't be found. You should be able to fix this by deleting the aarch64-softmmu/config-devices.mak file from your build tree and then doing a rebuild. (One day I may get round to figuring out what happens here. The oddity is that it doesn't cause problems for an incremental rebuild, only for a build after a 'make clean'.) thanks -- PMM