-
Notifications
You must be signed in to change notification settings - Fork 64
emulation
Randall Maas edited this page Dec 23, 2019
·
3 revisions
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 you need. From Marcio Ota:
- diskimage.img (all partition, and root password to root) https://mega.nz/#!ZMt0zawB!VbH-f1bKWgEHftvT1mvZEQ6QwN_w7WciQ2ChYMttpko
- apq8009-robot-boot.img-ramdisk.gz (original) https://mega.nz/#!hR9SFCSB!Bo9f7fQ9WNnL1z7NBNDz4FZgbC9_WLOzB-hM2WzbrC4
- vmlinuz-3.18.66-vexpress (compiled) https://mega.nz/#!dJdBRATT!p7GHjDT_lV2_SAaAjRHHVQ67oiBr9KcgkEzL7HSwTEo
- vexpress-v2p-ca9.dtb (compiled, optional) https://mega.nz/#!xVMlnAIT!1Mt3fGao4PvXJAZk7vViX8a3Qc7QDTJdxkT4CbAtnTg
you can use apq8009-robot-sysfs.img directly (-append " ... root=/dev/mmcblk0")
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"