[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 2/6] hw/arm: add boilerplate for machines based on the RP
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [RFC PATCH 2/6] hw/arm: add boilerplate for machines based on the RP2040 |
Date: |
Mon, 17 Jan 2022 13:23:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
On 1/10/22 18:51, Alex Bennée wrote:
> Currently we are only targeting the official RaspberryPi Pico although
> I suspect most RP2040 based boards will look broadly the same.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> configs/devices/arm-softmmu/default.mak | 1 +
> hw/arm/raspi_pico.c | 77 +++++++++++++++++++++++++
> hw/arm/Kconfig | 3 +
> hw/arm/meson.build | 1 +
> 4 files changed, 82 insertions(+)
> create mode 100644 hw/arm/raspi_pico.c
> +static void pipico_machine_class_init(ObjectClass *oc, void *data)
> +{
> + MachineClass *mc = MACHINE_CLASS(oc);
> +
> + mc->desc = g_strdup_printf("Raspberry Pi Pico");
> + mc->init = pipico_machine_init;
> + mc->block_default_type = IF_PFLASH;
> + mc->no_parallel = 1;
> + mc->no_floppy = 1;
> + mc->no_cdrom = 1;
:)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> + mc->no_sdcard = 1;
> + mc->min_cpus = 2;
> + mc->default_cpus = 2;
> + mc->max_cpus = 2;
> +};
- [RFC PATCH 0/6] Basic skeleton of RP2040 Raspbery Pi Pico, Alex Bennée, 2022/01/10
- [RFC PATCH 2/6] hw/arm: add boilerplate for machines based on the RP2040, Alex Bennée, 2022/01/10
- Re: [RFC PATCH 2/6] hw/arm: add boilerplate for machines based on the RP2040,
Philippe Mathieu-Daudé <=
- [RFC PATCH 5/6] hw/arm: add mask boot ROM logic, Alex Bennée, 2022/01/10
- [RFC PATCH 1/6] hw/arm: arm initial boilerplate for RP2040 SoC, Alex Bennée, 2022/01/10
- [RFC PATCH 3/6] hw/arm: wire-up memory from the Pico board and the SoC, Alex Bennée, 2022/01/10
- [RFC PATCH 4/6] pc-bios: add pipico mask rom (!upstream), Alex Bennée, 2022/01/10
- [RFC PATCH 6/6] docs/devel: add some clarifying text for aliases, Alex Bennée, 2022/01/10