element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Trying out the Raspberry Pi Developer VM v0.8
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 14 replies
  • Subscribers 668 subscribers
  • Views 1320 views
  • Users 0 members are here
  • gcc
  • Ubuntu
  • virtualbox
  • vm
  • raspberry_pi
  • rpi
  • scratchbox
  • linux
Related

Trying out the Raspberry Pi Developer VM v0.8

fustini
fustini over 13 years ago

Howdy,

 

Russell Davis (aka ukscone) released the new Raspberry Pi Development VM v0.8 on Sunday, so I downloaded and gave it a try.  It can be downloaded here on element14 at:

 

http://downloads.element14.com/downloads/RaspberryPi-Development-VM-v0.8.ova

 

However, it is 8.2 GB, so you may find the torrent to be a better option:

 

http://downloads.raspberrypi.org/tools/ukscone/RaspberryPi-Development%20VM%20v0.8/RaspberryPi-Development%20VM%20v0.8.torrent

 

It is a .ova file which is an exported VirtualBox virtual machine for developing software for the Raspberry Pi.  It contains configured targets for Fedora Remix, Debian & Arch.  There is plenty more info in Russell's readme:

 

http://downloads.raspberrypi.org/tools/ukscone/RaspberryPi-Development%20VM%20v0.8/README.txt

 

However, he does caution "as things currently stand this VM does not actually emulate any of the RaspberryPi hardware" and "it is only meant to help build/port software using desktop tools".

 

Well, now, let me give a quick look at what I did:

 

1) I'm running Ubuntu 11.04 and did not have VirtualBox, so I installed it this way:

 

apt-get install virtualbox-ose-qt

If you are on another OS, then check out the VirtualBox website to download and install the correct version for you:

 

https://www.virtualbox.org/https://www.virtualbox.org/wiki/Downloads

 

 

2) Then I had to import the downloaded .ova file into VirtualBox which I did via:

VBoxManage import RaspberryPi-Development-VM-v0.8.ova

I hadn't used VirtualBox before so please comment if there is a better way to do this.  It did take a noticable amount of time to finish (~15 min), and I pretty much couldn't do anything else on my system during it due to the load.  Here's a screenshot of my terminal:

image

 

3) Finally I was ready to fire up VirtualBox which I did via Applications->Accessories->VirtualBox OSE in my GNOME desktop (consult the VirtualBox website for details on other OSes).  I clicked ok through a couple dialogs about configuration and then finally the VirtualBox manager window opened:

image

4) I happily clicked the Start button and the VM booted.  It is an Ubuntu system running LXDE.  To do a quick test of the cross-compliation, I typed up a quick C program and compiled it for the ARM target:

image

 

And that's all I've done so far.  I'm thankful that Russell put in the hard work to make it easier for everyone else.  He mentioned that he will release updates as just tarballs, so folks will be spared having to do the massive download again.  I'm very curious to see if some clever people get emulation working in the VM, so that the executables could be tested out.  I also think this VM could be useful once I eventually get a Pi and want to take advantage of my laptop's Intel horsepower to compile additional software I may need.

 

Has anyone tried this VM (or others)?  I'd be interested to hear what your experience was like and what you are using it for.

 

 

Cheers,

Drew

  • Sign in to reply
  • Cancel
  • bodgy
    bodgy over 13 years ago

    Looks like torrent is the way to go, twice I tried to download the complete file and each time it bombed out at 248MB.

     

    Maybe it was the 8 hour download time ti didn't like.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bodgy
    bodgy over 13 years ago

    With the Windows based version of Virtualbox, you only need to double click on the OVA file and VBox will auto import it and have it ready to run. Assuming the latest version of Vbox.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 13 years ago in reply to bodgy

    Good to know.  An alternate direct download is:

     

    http://files.velocix.com/c1410/RaspberryPi-Development%20VM%20v0.8/RaspberryPi-Development%20VM%20v0.8.ova

     

    But I agree that this file really begs for BitTorrent.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 13 years ago

    FYI - I've been following Andy Taylor who has been tweeting about his experience with a beta RPi and Russell's VM:

     

    https://twitter.com/#!/andytuk/status/179722467655421952

    I've been SSHing from Pi to VM to run the build. Then copying files via SCP. Worked fine. Get 1Mb per second SFTP from VM to USB HDD

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to fustini

    he actually didn't use my VM as it was too large image but he followed the instructions I wrote up on my blog on how to set one up. For those that know which distro they are going to use when they get their RPi then rolling their own might be the way to go especially as they don't have to put up with the defaults I used.

     

    The only difficulty that you might have rolling your own is that now all three currently released rootfs's come as sd card images rather than tarballs of the directory tree so there is an extra step required to turn the image into a directory tree but that's not a big deal as it's just calculate an offset and mount the image from that offset.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 13 years ago in reply to Former Member

    Thanks for the correction (and the VM).  That's interesting to know about mounting the SD card image - not sure why I had been thinking about as being opaque.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 13 years ago in reply to fustini

    Another way to get at the files is to prepare your SD card like you would if your 'pi could be in the mail tomorrow. i.e. dd the image to the SD card. Then take it out, and reinsert it (to reread the partition table. you can also blockdev --rereadpt /dev/....). Now you can mount the root partition on the SD card. The kernel will read the partition table to figure out the offset.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • ukonline2000
    ukonline2000 over 13 years ago

    login in need a password???

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 13 years ago in reply to ukonline2000

    From the readme, the logins for the VM should be:

    Two accounts have been created:

     

    root/toor

    raspberrypi/password

     

    Cheers,

    Drew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ukonline2000
    ukonline2000 over 13 years ago in reply to fustini

    Tks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube