QEMU patches for Raspberry Pi emulation
https://github.com/Torlus/qemu-rpi
About
================================================================================
This project aims at providing a basic chipset emulation of the Raspberry Pi,
to help low-level programmers or operating system developers in their tasks.
[..]
Emulated chipset parts are at the time of this writing: - System Timer. - UART. - Mailbox system. - Framebuffer interface. - DMA. - eMMC SD host controller.
The emulation is quite incomplete for many parts, however it is advanced enough to boot a Pi-targetted Linux kernel, along with a SD image of a compatible Linux distribution.
Here is the new command line:
/path/to/qemu-system-arm -kernel kernel.img -cpu arm1176 -m 512
-M raspi -no-reboot -serial stdio -sd 2012-12-16-wheezy-raspbian.img
-device usb-kbd -device usb-mouse
-append "rw earlyprintk loglevel=8 panic=120 keep_bootcon rootwait dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708.boardrev=0xf bcm2708.serial=0xcad0eedf smsc95xx.macaddr=B8:27:EB:D0:EE:DF dhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1c000000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 gdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait"