[PATCH v2 0/2] Add support for STM32G0 SoC family

2024-03-20 Thread Felipe Balbi
num-prio-bits (Samuel Tardieu) - Correct num-irqs (Found reviewing RM0444) - Patch 2: - Convert tabs to spaces (checkpatch.pl) Felipe Balbi (2): hw/arm: Add support for stm32g000 SoC family hw/arm: Add nucleo-g071rb board MAINTAINERS| 13 ++ hw/arm/Kconfig

[PATCH v2 1/2] hw/arm: Add support for stm32g000 SoC family

2024-03-20 Thread Felipe Balbi
Minimal support with USARTs and SPIs working. This SoC will be used to create and nucleo-g071rb board. Signed-off-by: Felipe Balbi --- Changes since v1: - Convert tabs to spaces (checkpatch.pl) - Correct lines longer than 80 characters (checkpatch.pl) - Correct num-prio-bits (Samuel

[PATCH v2 2/2] hw/arm: Add nucleo-g071rb board

2024-03-20 Thread Felipe Balbi
This board is based around STM32G071RB SoC, a Cortex-M0 based device. More information can be found at: https://www.st.com/en/product/nucleo-g071rb.html Signed-off-by: Felipe Balbi --- Changes since v1: - Convert tabs to spaces (checkpatch.pl) MAINTAINERS| 6 hw/arm

[PATCH 1/2] hw/arm: Add support for stm32g000 SoC family

2024-03-20 Thread Felipe Balbi
From: Felipe Balbi Minimal support with USARTs and SPIs working. This SoC will be used to create and nucleo-g071rb board. Signed-off-by: Felipe Balbi --- hw/arm/Kconfig | 6 + hw/arm/meson.build | 1 + hw/arm/stm32g000_soc.c | 246

[PATCH 2/2] hw/arm: Add nucleo-g071rb board

2024-03-20 Thread Felipe Balbi
From: Felipe Balbi This board is based around STM32G071RB SoC, a Cortex-M0 based device. More information can be found at: https://www.st.com/en/product/nucleo-g071rb.html Signed-off-by: Felipe Balbi --- hw/arm/Kconfig | 6 hw/arm/meson.build | 1 + hw/arm/nucleo-g071rb.c

[PATCH 0/2] Add support for STM32G0 SoC family

2024-03-20 Thread Felipe Balbi
From: Felipe Balbi Hi all, These two patches add support for STM32G0 family and nucleo-g071rb board. Patches have been tested with minimal embedded rust examples. Felipe Balbi (2): hw/arm: Add support for stm32g000 SoC family hw/arm: Add nucleo-g071rb board hw/arm/Kconfig

[PATCH v2 0/2] hw/arm: Add support for STM32 H405 and fix STM32F405 memory layout

2022-12-30 Thread Felipe Balbi
Hi, The following patches pass checkpatch.pl and have been tested against 55745005e90a. Felipe Balbi (2): hw/arm/stm32f405: correctly describe the memory layout hw/arm: Add Olimex H405 MAINTAINERS | 6 +++ configs/devices/arm-softmmu/default.mak | 1 + docs

[PATCH v2 1/2] hw/arm/stm32f405: correctly describe the memory layout

2022-12-30 Thread Felipe Balbi
STM32F405 has 128K of SRAM and another 64K of CCM (Core-coupled Memory) at a different base address. Correctly describe the memory layout to give existing FW images a chance to run unmodified. Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Felipe Balbi

[PATCH v2 2/2] hw/arm: Add Olimex H405

2022-12-30 Thread Felipe Balbi
Olimex makes a series of low-cost STM32 boards. This commit introduces the minimum setup to support SMT32-H405. See [1] for details [1] https://www.olimex.com/Products/ARM/ST/STM32-H405/ Signed-off-by: Felipe Balbi --- Changes since v1: - Add a note in stm32.rst - Initialize

Re: [PATCH 2/2] hw/arm: Add Olimex H405

2022-12-19 Thread Felipe Balbi
Hi, Philippe Mathieu-Daudé writes: > On 18/12/22 08:12, Felipe Balbi wrote: >> Olimex makes a series of low-cost STM32 boards. This commit introduces >> the minimum setup to support SMT32-H405. See [1] for details >> >> [1] https://www.olimex.com/Products/ARM/ST/ST

Re: [PATCH 1/2] hw/arm/stm32f405: correctly describe the memory layout

2022-12-19 Thread Felipe Balbi
Hi, Philippe Mathieu-Daudé writes: > On 18/12/22 08:12, Felipe Balbi wrote: >> STM32F405 has 128K of SRAM and another 64K of CCM (Core-coupled >> Memory) at a different base address. Correctly describe the memory >> layout to give existing FW images have a cha

[PATCH 0/2] hw/arm: Add support for STM32 H405 and fix STM32F405 memory layout

2022-12-18 Thread Felipe Balbi
Hi, The following patches pass checkpatch.pl and have been tested against today's HEAD (55745005e90a). Felipe Balbi (2): hw/arm/stm32f405: correctly describe the memory layout hw/arm: Add Olimex H405 MAINTAINERS | 6 +++ configs/devices/arm-softmmu/defaul

[PATCH 1/2] hw/arm/stm32f405: correctly describe the memory layout

2022-12-18 Thread Felipe Balbi
STM32F405 has 128K of SRAM and another 64K of CCM (Core-coupled Memory) at a different base address. Correctly describe the memory layout to give existing FW images have a chance to run unmodified. Signed-off-by: Felipe Balbi --- hw/arm/stm32f405_soc.c | 8 include/hw/arm

[PATCH 2/2] hw/arm: Add Olimex H405

2022-12-18 Thread Felipe Balbi
Olimex makes a series of low-cost STM32 boards. This commit introduces the minimum setup to support SMT32-H405. See [1] for details [1] https://www.olimex.com/Products/ARM/ST/STM32-H405/ Signed-off-by: Felipe Balbi --- MAINTAINERS | 6 +++ configs/devices/arm