All pastes #2124786 Raw Edit

Miscellany

public text v1 · immutable
#2124786 ·published 2012-03-06 07:36 UTC
rendered paste body
# Debian
HDA=debian6-17-02-2012/debian6-17-02-2012.img
# Boots in QEMU, but has no modules to support the USB devices
KERNEL=zImage_3.1.9
# vmlinuz-3.2.0-1-versatile has modules but won't boot, fails with unrecgnoized processor type
# KERNEL=vmlinuz-3.2.0-1-versatile
ARMCORE=arm11mpcore
# USB Thermometers (TEMPerHID)
USBDEVICES="-usbdevice host:0403:6001 -usbdevice host:0c45:7402"

# QEMU built from Git/Trunk on March 6, 2012 to get past arp network fault crashes
QEMU=$(pwd)/qemu/arm-softmmu/qemu-system-arm

sudo echo # escalate privliedges with sudo before attempting to background our process
sudo ${QEMU} -M versatilepb -cpu ${ARMCORE} \
     -m 256 -hda ${HDA} \
     -kernel ${KERNEL} -append "root=/dev/sda2" \
     -vnc :2 -serial pty -monitor pty \
     -usb ${USBDEVICES} \
     -redir tcp:2222::22 &