[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Any example command lines for the RaspberryPi Models
|
From: |
Andrew Baumann |
|
Subject: |
RE: Any example command lines for the RaspberryPi Models |
|
Date: |
Thu, 27 Jan 2022 17:30:26 +0000 |
> From: Alex Bennée <alex.bennee@linaro.org>
>
> 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?
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