Last active
March 29, 2023 11:21
-
-
Save aabdelfattah/d6d252d38fb1bb07744ff43f4794affd to your computer and use it in GitHub Desktop.
Run yocto qemux86-64 image with HVF acceleration and SSH access on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-system-x86_64 \ | |
-kernel bzImage--5.15.96+git0+509f4b9d68_001e2930e6-r0-qemux86-64-20230327112333.bin \ | |
-enable-kvm \ | |
-machine q35,accel=hvf \ | |
-device virtio-net-pci,netdev=net0 \ | |
-netdev user,id=net0,hostfwd=tcp::5555-:22,net=192.168.7.0/24,host=192.168.7.1,dhcpstart=192.168.7.2 \ | |
-drive file=core-image-minimal-qemux86-64-20230327162556.rootfs.ext4,if=virtio,format=raw \ | |
-append "root=/dev/vda console=ttyS0 ip=dhcp" \ | |
-serial stdio \ | |
-m 2048M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment