All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Gilles Grimaud <gilles.grimaud@univ-lille.fr>
Cc: qemu-devel@nongnu.org,  qemu-arm@nongnu.org,  peter.maydell@linaro.org
Subject: Re: [PATCH RFC v2 30/30] docs/system/arm: document Raspberry Pi Pico
Date: Wed, 02 Sep 2026 13:01:11 +0100	[thread overview]
Message-ID: <87tso7rhfc.fsf@draig.linaro.org> (raw)
In-Reply-To: <20260830061601.52136-16-gilles.grimaud@univ-lille.fr> (Gilles Grimaud's message of "Sun, 30 Aug 2026 08:16:01 +0200")

Gilles Grimaud <gilles.grimaud@univ-lille.fr> writes:

> From: gilles grimaud <gilles.grimaud@univ-lille.fr>
>
> Document the RP2040 machine lineage, supported and shallow devices, boot ROM profiles, ELF/UF2/raw loading, persistent flash, serial backends, machine properties, flash policy, Pico SDK exit compatibility, and known limitations.
>
> Add the board page to the Arm system manual and its ownership entry to MAINTAINERS.
>
> Signed-off-by: gilles grimaud <gilles.grimaud@univ-lille.fr>
> ---
>  MAINTAINERS                    |   1 +
>  docs/system/arm/raspi-pico.rst | 641 +++++++++++++++++++++++++++++++++
>  docs/system/target-arm.rst     |   1 +
>  3 files changed, 643 insertions(+)
>  create mode 100644 docs/system/arm/raspi-pico.rst
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 41494eff2a..0fa93d28c8 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1043,6 +1043,7 @@ F: hw/*/rp2040*
>  F: include/hw/*/rp2040*
>  F: hw/arm/raspi_pico.c
>  F: scripts/uf2-to-flash.py
> +F: docs/system/arm/raspi-pico.rst
>  F: tests/qtest/rp2040*
>  F: tests/tcg/arm/system/rp2040*
>  
> diff --git a/docs/system/arm/raspi-pico.rst b/docs/system/arm/raspi-pico.rst
> new file mode 100644
> index 0000000000..d28cd20af8
> --- /dev/null
> +++ b/docs/system/arm/raspi-pico.rst
> @@ -0,0 +1,641 @@
> +.. SPDX-License-Identifier: GPL-2.0-or-later
> +
> +Raspberry Pi Pico board (``raspi-pico``)
> +========================================
> +
> +The ``raspi-pico`` machine models a minimal Raspberry Pi Pico 1 board based
> +on the RP2040 microcontroller.  The current model is intended for bare-metal
> +bring-up and tests that execute code from the RP2040 external flash XIP
> +window.
> +
> +RFC lineage
> +-----------
> +
> +This machine starts from Alex Bennee's 2022 RP2040/Pico RFC patch series.
> +The RP2040 SoC skeleton, Pico machine, and memory map are adapted from that
> +series to the current QEMU tree.  The RFC ``pc-bios/pipico.rom`` image was
> +used for bring-up experiments, but it is not installed as a QEMU firmware
> +blob by this machine.
> +
> +RFC patch 0005's mask ROM loading logic is adapted for the current machine:
> +an external boot ROM can be supplied explicitly with ``-bios``.  QEMU still
> +uses a small synthetic boot ROM for direct XIP bring-up, so existing firmware
> +tests remain stable without requiring an external firmware image.

I don't think you need to document the lineage in the user facing docs.
You can add Based-on: <msgid> tags to the individual commits where the
patch started out from one of mine if you wish.

The rest is a lot but I can't really complain about comprehensive
documentation. I do wonder how much is repeating stuff that could just
be pointing as RaspberryPi's extensive and good documentation?

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  reply	other threads:[~2026-09-02 12:01 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-29 23:42 [PATCH RFC v2 00/30] arm: add Raspberry Pi Pico/RP2040 machine Gilles Grimaud
2026-08-29 23:42 ` [PATCH RFC v2 01/30] target/arm: support Cortex-M0+ MPU Gilles Grimaud
2026-09-01 17:52   ` Alex Bennée
2026-09-01 19:23     ` Peter Maydell
2026-08-29 23:42 ` [PATCH RFC v2 02/30] hw/char/pl011: expose DMA request outputs Gilles Grimaud
2026-08-29 23:42 ` [PATCH RFC v2 03/30] hw/misc: add RP2040 diagnostic helpers Gilles Grimaud
2026-09-01 18:30   ` Alex Bennée
2026-09-01 22:12     ` gilles grimaud
2026-08-29 23:42 ` [PATCH RFC v2 04/30] hw/arm: add RP2040 SoC and Raspberry Pi Pico machine Gilles Grimaud
2026-09-01 18:33   ` Alex Bennée
2026-09-01 22:33     ` gilles grimaud
2026-08-29 23:42 ` [PATCH RFC v2 05/30] tests/tcg/arm: add Raspberry Pi Pico smoke tests Gilles Grimaud
2026-09-01 18:35   ` Alex Bennée
2026-08-29 23:42 ` [PATCH RFC v2 06/30] hw/misc: add RP2040 SYSINFO and SYSCFG Gilles Grimaud
2026-09-01 18:44   ` Alex Bennée
2026-09-01 23:29     ` gilles grimaud
2026-09-02 10:13       ` Alex Bennée
2026-08-29 23:42 ` [PATCH RFC v2 07/30] hw/misc: add RP2040 TBMAN and voltage regulator Gilles Grimaud
2026-09-02 10:23   ` Alex Bennée
2026-09-04  9:33     ` gilles grimaud
2026-08-29 23:42 ` [PATCH RFC v2 08/30] hw/misc: add RP2040 crystal and ring oscillators Gilles Grimaud
2026-09-02 10:25   ` Alex Bennée
2026-09-04  9:36     ` gilles grimaud
2026-08-29 23:42 ` [PATCH RFC v2 09/30] hw/misc: add RP2040 PLL and clock controller Gilles Grimaud
2026-09-02 10:30   ` Alex Bennée
2026-09-04 14:46     ` gilles grimaud
2026-08-29 23:42 ` [PATCH RFC v2 10/30] hw/misc: add RP2040 reset and power state controllers Gilles Grimaud
2026-08-29 23:42 ` [PATCH RFC v2 11/30] hw/misc: add RP2040 watchdog Gilles Grimaud
2026-08-29 23:42 ` [PATCH RFC v2 12/30] hw/misc: add RP2040 pad controls Gilles Grimaud
2026-08-29 23:42 ` [PATCH RFC v2 13/30] hw/misc: add RP2040 IO_BANK0 Gilles Grimaud
2026-08-29 23:42 ` [PATCH RFC v2 14/30] hw/misc: add RP2040 IO_QSPI Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 15/30] hw/char: integrate RP2040 UART pinmux Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 16/30] hw/misc: add RP2040 SIO and multicore support Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 17/30] tests/tcg/arm: test RP2040 SIO and multicore Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 18/30] hw/timer: add RP2040 timer and alarms Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 19/30] tests/tcg/arm: test RP2040 timer alarm interrupt Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 20/30] hw/ssi: add RP2040 XIP flash controller Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 21/30] tests/tcg/arm: test RP2040 flash and XIP behavior Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 22/30] hw/dma: add RP2040 DMA controller Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 23/30] tests/tcg/arm: test RP2040 DMA transfers Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 24/30] hw/ssi: load RP2040 UF2 flash images Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 25/30] hw/misc: add RP2040 bus controller Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 26/30] hw/arm: add shallow RP2040 USB controller Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 27/30] hw/arm: add RP2040 synthetic boot ROM service tables Gilles Grimaud
2026-08-30  6:15 ` [PATCH RFC v2 28/30] hw/arm: add RP2040 synthetic boot ROM accelerated helpers Gilles Grimaud
2026-08-30  6:16 ` [PATCH RFC v2 29/30] hw/arm: add optional Pico SDK exit handling Gilles Grimaud
2026-08-30  6:16 ` [PATCH RFC v2 30/30] docs/system/arm: document Raspberry Pi Pico Gilles Grimaud
2026-09-02 12:01   ` Alex Bennée [this message]
2026-09-02 13:20 ` [PATCH RFC v2 00/30] arm: add Raspberry Pi Pico/RP2040 machine Alex Bennée

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tso7rhfc.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=gilles.grimaud@univ-lille.fr \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.