Skip to content

emulation

Randall Maas edited this page Dec 23, 2019 · 3 revisions

Emulating Vector's firmware and software

QEMU based.

Status: This requires a modified (non-Vector) kernel to launch. At present the services do not launch: they exit with error code. There is no emulation of the spine protocol or syscon (base-board firmware) features.

Files

Files you need. From Marcio Ota:

you can use apq8009-robot-sysfs.img directly (-append " ... root=/dev/mmcblk0")

Command line

Marcio Ota's qemu command:

qemu-system-arm.exe" \
	-machine vexpress-a9 -cpu cortex-a7 -smp 4,sockets=1,cores=4,threads=1 \
	-m 512M \
        -rtc clock=host,base=localtime \
	\
	-parallel null \
	-serial null \
	\
	-audiodev id=dsound,driver=dsound \
	\
	-drive if=sd,driver=raw,file=diskimage_SD.img \
	\
	-kernel vmlinuz-3.18.66-vexpress \
	-initrd apq8009-robot-boot.img-ramdisk.gz \
	-dtb vexpress-v2p-ca9.dtb \
	-append "anki.dev noinitrd ro androidboot.hardware=qcom ehci-hcd.park=3 lpm_levels.sleep_disabled=1 rootwait androidboot.bootdevice=7824900.sdhci mem=511M root=/dev/mmcblk0p1"