Run your Intel's Yocto hddimg in Virtual Box


If you want to test your hddimg generated by bitbake on Virtual Box.

Step 1: Convert the hddimg into VMDK using the VBoxManage utility

VBoxManage convertfromraw D:\Yocto\Testing\core-image-sato-20181108045541.hddimg D:\Yocto\Testing\core-image-sato.vmdk --format VMDK 

Another option is to add IMAGE_FSTYPES += vmdk in your local.conf file

I then followed the below link to start the VMDK image


Step2:

Create a new Virtual Machine by clicking on New

Step 3: Type the name of the Virtual Machine , Type: Linux, Version: Other Linux(64-bit)

Step4: Set the Memory size to "1024"

Step 5: Hard Disk: Do not add a virtual hard disk , Select "Create" and then "Continue"

Step 6: Click on "Settings" and Under Storage: Add New Storage Controller -> Add SATA Controller

Step 7: Select: Choose Existing Disk , and then pass the VMDK Generated in the above step

Step 8: Click OK and start the VM

Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig