How to run yocto qemux86-64 image with HVF acceleration and SSH access on MacOS

https://gist.github.com/aabdelfattah/d6d252d38fb1bb07744ff43f4794affd

-kernel , -drive should be populated with build artifacts

-accel=hvf enables hardware acceleration for faster execution of QEMU

-hostfwd=tcp::5555-:22 forward guest port 22 to host 5555

Then it shall be possible to SSH to qemu using

ssh -p 5555 root@localhost

To copy a file

scp  -P 5555 root@localhost:/path/to/src/file /path/to/destination/file

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *