Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Spring on ARM: Difference between revisions

From FIGHTORDER
imported>Abma
imported>Abma
Line 10: Line 10:
         --imagesize 3G \
         --imagesize 3G \
         --seed ubuntu-minimal,build-essential,openssh-server,linux-image-omap \
         --seed ubuntu-minimal,build-essential,openssh-server,linux-image-omap \
         --notarball \
         --notarball


if everything went fine, run
  mv qemu-armel-*.img qemu-armel.img
    rootstock --clean-package-cache
  sudo mkdir tmp &&\
      mount -o loop qemu-armel.img tmp &&\
      cp tmp/vmlinuz tmp/initrd . &&\
      umount tmp &&\
      rmdir tmp


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


start with:
start with:

Revision as of 20:22, 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
 sudo mkdir tmp &&\
      mount -o loop qemu-armel.img tmp &&\
      cp tmp/vmlinuz tmp/initrd . &&\
      umount tmp &&\
      rmdir tmp


start with:

   qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel \
        ./vmlinuz -hda arm-rootfs.img -m 256\
        -append "root=/dev/sda mem=256M devtmpfs.mount=0 rw"