Spring on ARM: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
Abma (talk | contribs)
Line 9: Line 9:
         --password ubuntu \
         --password ubuntu \
         --imagesize 3G \
         --imagesize 3G \
         --seed ubuntu-minimal,build-essential,openssh-server \
         --seed ubuntu-minimal,build-essential,openssh-server,linux-image-omap \
         --notarball \
         --notarball \
         --copy-package-cache \
         --copy-package-cache \

Revision as of 21:16, 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 \
        --copy-package-cache \
        --restore-package-cache

if everything went fine, run

   rootstock --clean-package-cache
   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 arm-rootfs.img -m 256\
        -append "root=/dev/sda mem=256M devtmpfs.mount=0 rw"