All of lore.kernel.org
 help / color / mirror / Atom feed
* Any example command lines for the RaspberryPi Models
@ 2022-01-27 13:55 Alex Bennée
  2022-01-27 17:30 ` Andrew Baumann
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2022-01-27 13:55 UTC (permalink / raw)
  To: Peter Maydell, Andrew Baumann, Philippe Mathieu-Daudé; +Cc: qemu-devel

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?

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Any example command lines for the RaspberryPi Models
  2022-01-27 13:55 Any example command lines for the RaspberryPi Models Alex Bennée
@ 2022-01-27 17:30 ` Andrew Baumann
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Baumann @ 2022-01-27 17:30 UTC (permalink / raw)
  To: Alex Bennée, Peter Maydell, Philippe Mathieu-Daudé; +Cc: qemu-devel

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-27 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 13:55 Any example command lines for the RaspberryPi Models Alex Bennée
2022-01-27 17:30 ` Andrew Baumann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.