[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 5/7] hw/arm/bcm2836: Add the BCM2711 which uses a GICv2
From: |
Alex Bennée |
Subject: |
Re: [PATCH v1 5/7] hw/arm/bcm2836: Add the BCM2711 which uses a GICv2 |
Date: |
Mon, 04 Oct 2021 16:43:50 +0100 |
User-agent: |
mu4e 1.7.0; emacs 28.0.60 |
Alex Bennée <alex.bennee@linaro.org> writes:
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
>
> The BCM2711 is improvement of the BCM2837:
> - Cortex-A72 instead of the A53
> - peripheral block and local soc controller are mapped differently,
> - GICv2
> - PCIe block
> - exhanced MMU to address over 4GiB of SDRAM
>
<snip>
> ---
> vAJB:
<snip>
> - move peri_base/ctrl to locations pointed to by DTB (0x7e000000/0x40000000)
<snip>
> +
> +static void bcm2711_class_init(ObjectClass *oc, void *data)
> +{
> + DeviceClass *dc = DEVICE_CLASS(oc);
> + BCM283XClass *bc = BCM283X_CLASS(oc);
> +
> + bc->cpu_type = ARM_CPU_TYPE_NAME("cortex-a72");
> + bc->core_count = BCM283X_NCPUS;
> + bc->peri_base = 0x7e000000;
> + bc->ctrl_base = 0x40000000;
> + bc->clusterid = 0x0;
> + bc->gic_base = 0x40000,
> + dc->realize = bcm2836_realize;
> +}
It turns out I was misreading the way you calculate addresses from DTS
files. Reverted to:
bc->peri_base = 0xfe000000;
bc->ctrl_base = 0xff800000;
--
Alex Bennée
- [PATCH v1 0/7] enabling RasperryPi 4 emulation - WIP state, Alex Bennée, 2021/10/04
- [PATCH v1 2/7] hw/misc/bcm2835_property: Handle the 'domain state' property, Alex Bennée, 2021/10/04
- [PATCH v1 4/7] hw/arm/bcm2835_peripherals: Map various BCM2711 blocks, Alex Bennée, 2021/10/04
- [PATCH v1 7/7] hw/arm/raspi: Add the Raspberry Pi 4B board, Alex Bennée, 2021/10/04
- [PATCH v1 1/7] hw/misc/bcm2835_property: Add FIXME comment for uninitialized memory, Alex Bennée, 2021/10/04
- [PATCH v1 3/7] hw/arm: fix the position of vcram for raspi, Alex Bennée, 2021/10/04
- [PATCH v1 6/7] hw/arm/bcm2838: Map the PCIe memory space, Alex Bennée, 2021/10/04
- [PATCH v1 5/7] hw/arm/bcm2836: Add the BCM2711 which uses a GICv2, Alex Bennée, 2021/10/04
- Re: [PATCH v1 5/7] hw/arm/bcm2836: Add the BCM2711 which uses a GICv2,
Alex Bennée <=