[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH for-QEMU-4.1 v5 10/29] hw/arm: Expr
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH for-QEMU-4.1 v5 10/29] hw/arm: Express dependencies of stellaris with Kconfig |
Date: |
Thu, 25 Apr 2019 23:41:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi Thomas,
On 4/18/19 8:00 PM, Thomas Huth wrote:
> This patch is slightly based on earlier work by Ákos Kovács (i.e.
> his "hw/arm/Kconfig: Add ARM Kconfig" patch).
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> default-configs/arm-softmmu.mak | 7 +------
> hw/arm/Kconfig | 10 ++++++++++
> 2 files changed, 11 insertions(+), 6 deletions(-)
>
> diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
> index b7ed3c530b..3f82d635e4 100644
> --- a/default-configs/arm-softmmu.mak
> +++ b/default-configs/arm-softmmu.mak
> @@ -16,6 +16,7 @@ CONFIG_MUSCA=y
> CONFIG_CHEETAH=y
> CONFIG_SX1=y
> CONFIG_NSERIES=y
> +CONFIG_STELLARIS=y
>
> CONFIG_VGA=y
> CONFIG_NAND=y
> @@ -24,16 +25,10 @@ CONFIG_SERIAL=y
> CONFIG_MAX7310=y
> CONFIG_TMP421=y
> CONFIG_PCA9552=y
> -CONFIG_STELLARIS=y
> -CONFIG_STELLARIS_INPUT=y
> -CONFIG_STELLARIS_ENET=y
> -CONFIG_SSD0303=y
> -CONFIG_SSD0323=y
> CONFIG_DDC=y
> CONFIG_SII9022=y
> CONFIG_ADS7846=y
> CONFIG_MAX111X=y
> -CONFIG_SSI_SD=y
> CONFIG_SSI_M25P80=y
> CONFIG_ALLWINNER_EMAC=y
> CONFIG_IMX_FEC=y
> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> index 71126254ff..b91503f5a6 100644
> --- a/hw/arm/Kconfig
> +++ b/hw/arm/Kconfig
> @@ -91,6 +91,16 @@ config REALVIEW
>
> config STELLARIS
> bool
> + select ARM_V7M
> + select I2C
> + select PL011 # UART
> + select PL022 # Serial port
> + select PL061 # GPIO
> + select SSD0303 # OLED display
> + select SSD0323 # OLED display
> + select SSI_SD
> + select STELLARIS_INPUT
> + select STELLARIS_ENET # ethernet
This one misses CMSDK_APB_WATCHDOG:
$ qemu-system-aarch64 -M lm3s811evb
qemu-system-aarch64: Unknown device 'luminary-watchdog' for default sysbus
Aborted (core dumped)
(gdb) bt
#1 0x00007fbee955d895 in abort () at /lib64/libc.so.6
#2 0x0000560905068f6a in qdev_create (bus=0x0, name=0x5609053b9e5a
"luminary-watchdog") at /source/qemu/hw/core/qdev.c:131
#3 0x0000560904ec1afc in stellaris_init (ms=0x560906d82c00,
board=0x5609056e79e0 <stellaris_boards>) at
/source/qemu/hw/arm/stellaris.c:1344
#4 0x0000560904ec22ff in lm3s811evb_init (machine=0x560906d82c00) at
/source/qemu/hw/arm/stellaris.c:1468
#5 0x000056090507326a in machine_run_board_init
(machine=0x560906d82c00) at /source/qemu/hw/core/machine.c:1030
It works with the following snippet:
-- >8 --
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
@@ -200,6 +200,7 @@ config STELLARIS
select SSI_SD
select STELLARIS_INPUT
select STELLARIS_ENET # ethernet
+ select CMSDK_APB_WATCHDOG # Luminary
---
>
> config STRONGARM
> bool
>
- Re: [Qemu-block] [Qemu-devel] [PATCH for-QEMU-4.1 v5 06/29] hw/arm: Express dependencies of integratorcp with Kconfig, (continued)
[Qemu-block] [PATCH for-QEMU-4.1 v5 07/29] hw/arm: Express dependencies of the fsl-imx31 machine with Kconfig, Thomas Huth, 2019/04/18
[Qemu-block] [PATCH for-QEMU-4.1 v5 08/29] hw/arm: Express dependencies of musicpal with Kconfig, Thomas Huth, 2019/04/18
[Qemu-block] [PATCH for-QEMU-4.1 v5 09/29] hw/arm: Express dependencies of the OMAP machines with Kconfig, Thomas Huth, 2019/04/18
[Qemu-block] [PATCH for-QEMU-4.1 v5 10/29] hw/arm: Express dependencies of stellaris with Kconfig, Thomas Huth, 2019/04/18
- Re: [Qemu-block] [Qemu-devel] [PATCH for-QEMU-4.1 v5 10/29] hw/arm: Express dependencies of stellaris with Kconfig,
Philippe Mathieu-Daudé <=
[Qemu-block] [PATCH for-QEMU-4.1 v5 11/29] hw/arm: Express dependencies of realview, versatile and vexpress with Kconfig, Thomas Huth, 2019/04/18
[Qemu-block] [PATCH for-QEMU-4.1 v5 12/29] hw/arm: Express dependencies of the PXA2xx machines with Kconfig, Thomas Huth, 2019/04/18
[Qemu-block] [PATCH for-QEMU-4.1 v5 13/29] hw/arm: Express dependencies of xilinx-zynq with Kconfig, Thomas Huth, 2019/04/18
[Qemu-block] [PATCH for-QEMU-4.1 v5 15/29] hw/arm: Express dependencies of the aspeed boards with Kconfig, Thomas Huth, 2019/04/18