RT-Hypervisor: A real-time hypervisor for automotive embedded system
qemu-system-aarch64 -M virt,gic-version=3 -cpu cortex-a53 -machine virtualization=on -kernel rtthread.elf -nographic \
-device loader,file=./qemu/rtthread-std-.bin,addr=0x45000000 \
-device loader,file=./dump.dtb,addr=0x46000000
rtthread.elf
:编译出的虚拟化镜像文件./qemu/rtthread-std-.bin
:Guest OS
镜像文件,按需修改./dump.dtb
: 系统设备树数据文件,按需修改
- QEMU导出设备树:
qemu-system-aarch64 -M virt,gic-version=3 -cpu cortex-a53 -machine virtualization=on,dumpdtb=dump.dtb
- dtb反编译生成dts:
dtc -I dtb -O dts -o dump.dts dump.dtb
- dts编译生成dtb:
dtc -I dts -O dtb -o dump.dtb dump.dts