landley / mkroot

Simple Linux build, bootable under qemu for multiple architectures.
Other
456 stars 72 forks source link

QEMU v3 armv7l target pcie address conflict #7

Open SingingWind opened 5 years ago

SingingWind commented 5 years ago

qemu v2 worked with target armv7l but broke in v3 with pcie address conflict. Similar to this qemu issue: http://qemu.11.n7.nabble.com/Bug-1790975-NEW-arm-virt-ecam-pcie-conflict-td598251.html

I could not figure out exactly where the problem lies, host, qemu, or target. But I am able to get working with qemu v3.1.0, using machine: -machine virt,highmem=off

Or by adding KERNEL_CONFIG option: CONFIG_ARM_LPAE=y

landley commented 5 years ago

I'm testing with qemu 3.1.50? (Which is some random git snapshot from January, but it's 3.x.)

I could try to bisect for the qemu version that introduced this regression, but it sounds like a qemu bug?

SingingWind commented 5 years ago

Thanks for your response. I still have the same issue with qemu git head. Maybe host dependency issue?

For workaround with qemu v3, using machine type, instead of alias, as it seems to work. -machine virt-2.12

BTW, nice build root scripts.