qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make bootable RPi4B model


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] Make bootable RPi4B model
Date: Mon, 3 Apr 2023 08:51:11 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

Hi Sergey,

On 2/4/23 18:53, Sergey Kambalin wrote:
Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com>
---
  configs/devices/aarch64-softmmu/default.mak |   1 +
  hw/arm/Kconfig                              |   7 +
  hw/arm/bcm2835_peripherals.c                | 218 ++++++----
  hw/arm/bcm2836.c                            | 129 +++---
  hw/arm/bcm2838.c                            | 294 ++++++++++++++
  hw/arm/bcm2838_pcie.c                       | 300 ++++++++++++++
  hw/arm/bcm2838_peripherals.c                | 262 ++++++++++++
  hw/arm/meson.build                          |   6 +
  hw/arm/raspi.c                              | 128 +++---
  hw/arm/raspi4b.c                            | 232 +++++++++++
  hw/arm/trace-events                         |   6 +
  hw/gpio/bcm2838_gpio.c                      | 395 ++++++++++++++++++
  hw/gpio/meson.build                         |   1 +
  hw/misc/bcm2835_property.c                  | 318 ++++++++++++---
  hw/misc/bcm2838_rng200.c                    | 421 ++++++++++++++++++++
  hw/misc/bcm2838_thermal.c                   |  97 +++++
  hw/misc/meson.build                         |   4 +
  hw/misc/trace-events                        |  10 +
  include/hw/arm/bcm2835_peripherals.h        |  29 +-
  include/hw/arm/bcm2836.h                    |  30 +-
  include/hw/arm/bcm2838.h                    |  26 ++
  include/hw/arm/bcm2838_pcie.h               |  67 ++++
  include/hw/arm/bcm2838_peripherals.h        |  56 +++
  include/hw/arm/raspi4b_platform.h           |  54 +++
  include/hw/arm/raspi_platform.h             |  34 ++
  include/hw/display/bcm2835_fb.h             |   2 +
  include/hw/gpio/bcm2838_gpio.h              |  45 +++
  include/hw/misc/bcm2838_rng200.h            |  77 ++++
  include/hw/misc/bcm2838_thermal.h           |  24 ++
  include/hw/misc/raspberrypi-fw-defs.h       | 169 ++++++++
  30 files changed, 3175 insertions(+), 267 deletions(-)

The patch subject sounds promising! However 3175 lines of
code to review is a bit hardcore... Could you split your
patch per device (at least)?

Ideally one patch should contain a single logical change.

Also, can you provide how you tested your patch?

Thanks,

Phil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]