Extracting Beaglebone Image to be developed into a VM

Hi all,

I have been trying to find a resource on how to extract the image I have on my BeagleBone Black’s eMMC to a micro SD card. I know that this can be done by using the script located at /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh, but I want to be able to take the extracted image and set up a virtual machine for remote testing of certain software packages.

Any help will be appreciated. Please let me know if the question is not clear enough or if I have misunderstood my problem and I will do my best to clarify anything.

Thank you,
Mitch

[…] I want to be able to take the extracted image and set up a virtual machine for remote testing of certain software packages.

What VM software do you plan on using that emulates ARM?

Stephane

On Tue, 13 Feb 2018 23:21:15 -0800 (PST), Mitch Martinez
<mjmartinez@tamu.edu> declaimed the following:

but I want to be able to take the extracted image and set up a virtual
machine for remote testing of certain software packages.

Any help will be appreciated. Please let me know if the question is not
clear enough or if I have misunderstood my problem and I will do my best to
clarify anything.

  Off-hand, I'd say you have "misunderstood <your> problem"

  Most VM systems do not emulate processors -- they only isolate an OS
from the host OS. That means running on an Intel type host (M$ Windows say)
requires the image running in the VM to also be native Intel instruction
set.

  So, on that criteria -- you would need an ARM host for the VM in order
to run Beaglebone images.

http://armsim.cs.uvic.ca/
https://www.crossware.com/arm/simulator Both of these focus on simulation
of single programs; I doubt an OS would be feasible.

https://www.qemu.org/ This is likely the closest match to what you
seek, though you'll likely have to configure it for the specific
peripherals of the Beagle https://wiki.qemu.org/Documentation/Platforms/ARM
(note that Beagle is not listed as a board; I do not know what is involved
in adding support for specific peripherals)
https://wiki.qemu.org/Documentation/TCG/frontend-ops