I am trying to emulate Ubuntu Core for Raspberry Pi 3 using QEMU but it does not work.
I found tutorials about emulating Raspbian using QEMU and tried to apply them to Ubuntu Core:
I could not find the right kernel so I used Raspbian Kernel. It did not work. Then I Mounted Ubuntu Core Image and extracted the kernel.img it also did not work.
I start qemu with this command
qemu-system-arm -kernel ./kernel.img \
-cpu arm1176 \
-m 256 \
-M versatilepb \
-no-reboot \
-serial stdio \
-append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" \
-drive "file=pi3.img,index=0,media=disk,format=raw" \
-redir tcp:2222::22
QEMU starts but does not load Ubuntu Core.
Does somebody emulated Ubuntu Core(for Raspberry Pi 3) with QEMU?
qemu-system-arm -M raspi2 -serial stdio -kernel kernel.img -initrd initrd.img -append "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty0 elevator=deadline snap_core=core_3750.snap snap_kernel=pi2-kernel_22.snap" -dtb bcm2709-rpi-2-b.dtb -sd ubuntu-core.qcow
– Rustam Isaev