Jump to content
  • entries
    652
  • comments
    2,629
  • views
    874,047

DPC+ARM - Part 4, Cloning

SpiceWare

1,025 views

NOTE: This blog series is obsolete.  Head on over to the Harmony/Melody Club where you'll find information on the new Linaro compiler and the new CDFJ coprocessor/bankswitch scheme that has many improvements over DPC+.

 

Cloning

 

Note: Cloning is optional, but will be useful to you in the future.

 

We have 4 different versions of the compiler available. Normally you'd want to use just the latest version; however, through experimentation, we've found that sometimes an older version will produce smaller code. That can be extremely useful when trying to fit everything into a 32K ROM file.

 

Instead of creating a bunch of new VMs and installing Linux and the Guest Additions, let's just make three clones of the one we've already made.

 

Start up Virtual Box. With your Linux VM powered down, right click on your Linux VM and select Clone...

 

 

select clone



blogentry-3056-0-62865300-1424538327_thumb.png

Give it a name. I'm going to name them after the versions of our compiler:

  • 2011.03-42
  • 2012.03-56
  • 2012.09-63
  • 2013.05-23

Also make sure you click on Reinitialize the MAC address of all network cards. If you don't select this, then you'll have networking problems if you run more than one of your VMs at the same time. Click Continue.

 

 

new name, reinitialize



blogentry-3056-0-89171800-1424619297_thumb.png

Make sure Full clone is selected, then click Clone. The cloning process will start.

 

 

cloning



blogentry-3056-0-93090800-1424538336_thumb.png

First clone finished

 

 

one clone



blogentry-3056-0-40863400-1424538356_thumb.png

Repeat two more times.

 

 

cloning complete



blogentry-3056-0-16897800-1424538332_thumb.png

Let's rename the first VM so it matches the rest. Right-click on it, then select Settings...

 

 

settings...



blogentry-3056-0-57176000-1424538374_thumb.png

And rename it

 

 

renamed



blogentry-3056-0-04863000-1424538365_thumb.png

The resulting order will be wrong (2013 should be after 2012).

 

 

wrong order



blogentry-3056-0-18092200-1424538361_thumb.png

Just click-hold on the first VM then drag it to the end of the list.

 

 

reordered



blogentry-3056-0-77308000-1424538369_thumb.png

On the off chance you forgot to reinitialize a MAC address, there's an easy fix. Bring up the settings for your VM and click on the Network tab. There's a small triangle next to Advanced, click it. To the right of the MAC Address is a green circling arrows icon, click it to generate a new MAC address.

 

 

new MAC address



blogentry-3056-0-45355700-1424538345_thumb.png

Here's my four VMs running. I've changed the background colors for each, it helps me to keep track of which version of the compiler I'm using.

 

 

four VMs



blogentry-3056-0-71346900-1424538342_thumb.png

To change the background:

  • right-click on the desktop
  • select Change Desktop Background
  • Select a Wallpaper image, and close the window
  • -or-
  • Click on Wallpapers and select Colors & Gradients
  • Select solid or gradient
  • set the color or colors(if gradient was selected) and close the window

setting background



blogentry-3056-0-77486400-1424538321_thumb.png


1 Comment


Recommended Comments

I noticed I used the wrong screenshot for new name, reinitialize, it didn't show reinitialize as checked. That's been corrected.

Share this comment


Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...