User Tools

Site Tools


armel

QEmu + Debian + Armel

Install qemu:

sudo pacman -S qemu

Prepare qemu networking

pacman -S bridge-utils
/etc/qemu-ifup
#!/bin/sh
echo "Executing /etc/qemu-ifup"
echo "Bringing up $1 for bridged mode..."
sudo /sbin/ifconfig $1 0.0.0.0 promisc up
echo "Adding $1 to br0..."
sudo /usr/sbin/brctl addif br0 $1
sleep 2

chmod 755 the script

chmod 755 /etc/qemu-ifup

Get an image from http://people.debian.org/~aurel32/qemu/armel/

wget http://people.debian.org/~aurel32/qemu/armel/debian_lenny_armel_small.qcow2
wget http://people.debian.org/~aurel32/qemu/armel/initrd.img-2.6.26-1-versatile
wget http://people.debian.org/~aurel32/qemu/armel/vmlinuz-2.6.26-1-versatile
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-1-versatile -initrd initrd.img-2.6.26-1-versatile -hda debian_lenny_armel_small.qcow2 -append "root=/dev/sda1"

reconfigure keymap:

dpkg-reconfigure console-data
  • choose from full list
armel.txt · Last modified: 2010/10/24 14:42 by 92.195.88.85