[Qemu-devel] [PATCH v2 0/3] Raspberry Pi 3 support

Pekka Enberg posted 3 patches 6 years, 2 months ago
Failed in applying to current master (apply log)
hw/arm/bcm2836.c         | 17 ++++++++-------
hw/arm/raspi.c           | 57 +++++++++++++++++++++++++++++++++++++++---------
include/hw/arm/bcm2836.h |  1 +
3 files changed, 57 insertions(+), 18 deletions(-)
[Qemu-devel] [PATCH v2 0/3] Raspberry Pi 3 support
Posted by Pekka Enberg 6 years, 2 months ago
This patch series adds support for Raspberry Pi 3 as a new machine model
"raspi3", which is an extension of the "raspi2" model with the following
differences:

  - Default CPU type is "cortex-a53"
  - Firmware is at address 0x80000
  - Board ID is 0xc44 and board revision is 0xa02082

The patches were written by me but I used Zoltán Baldaszti's previous
work as a reference (with permission from the author):
    
  https://github.com/bztsrc/qemu-raspi3

Also available from:

  git@github.com:penberg/qemu.git raspi3/v2

Changes from v1 to v2:

- Wrap Raspberry Pi 3 machine definition with TARGET_AARCH64 (Peter
  Maydell)

Pekka Enberg (3):
  bcm2836: Make CPU type configurable
  raspi: Raspberry Pi 3 support
  raspi: Add "raspi3" machine type

 hw/arm/bcm2836.c         | 17 ++++++++-------
 hw/arm/raspi.c           | 57 +++++++++++++++++++++++++++++++++++++++---------
 include/hw/arm/bcm2836.h |  1 +
 3 files changed, 57 insertions(+), 18 deletions(-)

-- 
2.14.3


Re: [Qemu-devel] [PATCH v2 0/3] Raspberry Pi 3 support
Posted by Peter Maydell 6 years, 2 months ago
On 16 February 2018 at 07:01, Pekka Enberg <penberg@iki.fi> wrote:
> This patch series adds support for Raspberry Pi 3 as a new machine model
> "raspi3", which is an extension of the "raspi2" model with the following
> differences:
>
>   - Default CPU type is "cortex-a53"
>   - Firmware is at address 0x80000
>   - Board ID is 0xc44 and board revision is 0xa02082
>
> The patches were written by me but I used Zoltán Baldaszti's previous
> work as a reference (with permission from the author):
>
>   https://github.com/bztsrc/qemu-raspi3
>
> Also available from:
>
>   git@github.com:penberg/qemu.git raspi3/v2
>
> Changes from v1 to v2:
>
> - Wrap Raspberry Pi 3 machine definition with TARGET_AARCH64 (Peter
>   Maydell)

Hi. Patches 1 and 2 for this are already in master, and I have
patch 3 queued -- it's just dependent on a bugfix (patch posted)
that's needed for big-endian host systems.

thanks
-- PMM