./configure --target-list=arm-softmmu,aarch64-softmmu --prefix=/home/pop/work/qemu/qemu-out2 2>&1| tee log_configure2.txt
make 2>&1| tee log_build2.txt
make install 2>&1| tee log_install2.txt
qemu-system-arm virt 更改Image加载地址
编译原因
https://patchwork.ozlabs.org/project/qemu-devel/patch/1395718484-20424-1-git-send-email-joelf@ti.com/
我对arm 加载地址有要求
hw/arm/boot.c
* They have different preferred image load offsets from system RAM base.*/#defineKERNEL_ARGS_ADDR0x100-#define KERNEL_LOAD_ADDR 0x00010000+#define KERNEL_LOAD_ADDR 0x00208000#defineKERNEL64_LOAD_ADDR0x00080000typedefenum{
qemu-system-aarch64: Some ROM regions are overlapping
These ROM regions might have been loaded by direct user request or by default.
They could be BIOS/firmware images, a guest kernel, initrd or some other file loaded into guest memory.
Check whether you intended to load all this guest code, and whether it has been built to load to the correct addresses.
The following two regions overlap(in the cpu-memory-0 address space):
arch/arm64/boot/Image(addresses 0x0000000040000000-0x0000000042124200)bootloader(addresses 0x0000000040000000-0x0000000040000028)