Spring on ARM: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
Abma (talk | contribs)
Line 15: Line 15:
   mkdir tmp
   mkdir tmp
   sudo mount -o loop qemu-armel.img tmp
   sudo mount -o loop qemu-armel.img tmp
  echo "auto eth0
iface eth0 inet dhcp" >> tmp/etc/network/interfaces
   sudo cp tmp/boot/initrd.img* initrd.img
   sudo cp tmp/boot/initrd.img* initrd.img
   sudo umount tmp
   sudo umount tmp
Line 26: Line 28:


login with ubuntu:ubuntu
login with ubuntu:ubuntu
==install required build tools==
apt-get install libglew1.6-dev


since here it should be possible to follow the [[Building_Spring_on_Linux#Ubuntu|linux build instructions]].
since here it should be possible to follow the [[Building_Spring_on_Linux#Ubuntu|linux build instructions]].


[[Category:development]]
[[Category:development]]

Revision as of 23:17, 2 March 2012

Setting up a virtualized environment for arm on ubuntu

see https://wiki.ubuntu.com/ARM/RootfsFromScratch

  sudo apt-get install qemu-system rootstock
  sudo rootstock \
        --fqdn ubuntu \
        --login ubuntu \
        --password ubuntu \
        --imagesize 3G \
        --seed ubuntu-minimal,build-essential,openssh-server,linux-image-omap \
        --notarball
 mv qemu-armel-*.img qemu-armel.img
 mkdir tmp
 sudo mount -o loop qemu-armel.img tmp
 echo "auto eth0

iface eth0 inet dhcp" >> tmp/etc/network/interfaces

 sudo cp tmp/boot/initrd.img* initrd.img
 sudo umount tmp
 rmdir tmp

wget http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/versatile/netboot/vmlinuz

start with:

   qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel ./vmlinuz \
       -hda qemu-armel.img -m 256 -append "root=/dev/sda" 

login with ubuntu:ubuntu


install required build tools

apt-get install libglew1.6-dev

since here it should be possible to follow the linux build instructions.