Any example command lines for the RaspberryPi Models
Hi,
Someone was asking on IRC earlier and I realised we don't give any examples in the documentation of how to attach block devices. I found a reference in an out-of-tree repo that mentioned -sd which seems right but I assume you must be able to use -device sd-card as well?
Could we document some of the common boot examples in docs/system/arm/raspi.rst please?
Signature · 1 line
Alex Bennée
Quoted 9 lines
From: Alex Bennée <[email protected]>
Someone was asking on IRC earlier and I realised we don't give any examples in the documentation of how to attach block devices. I found a reference in an out-of-tree repo that mentioned -sd which seems right but I assume you must be able to use -device sd-card as well?
Could we document some of the common boot examples in
docs/system/arm/raspi.rstplease?
All the examples I have used -sd. Here's an invocation that worked back in 2016/17 (sorry I know this is not terribly helpful):
qemu-system-arm -M raspi2 -kernel raspbian-boot/kernel7.img -sd 2015-09-24-raspbian-jessie.vhd -append "rw earlyprintk loglevel=8 console=ttyAMA0 root=/dev/mmcblk0p2 rootwait" -serial stdio
Unfortunately I have not been keeping track of raspi support in QEMU. I'll send a patch to remove myself from MAINTAINERS.
Andrew