From patchwork Thu Jun 17 16:56:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre IOOSS X-Patchwork-Id: 12328913 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFB20C2B9F4 for ; Thu, 17 Jun 2021 17:01:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 686C7610CD for ; Thu, 17 Jun 2021 17:01:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 686C7610CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crans.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:56698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltvOw-0000ZK-IZ for qemu-devel@archiver.kernel.org; Thu, 17 Jun 2021 13:01:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltvKK-0000s1-UW; Thu, 17 Jun 2021 12:57:12 -0400 Received: from zamok.crans.org ([185.230.79.1]:34450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltvKG-0005tz-1z; Thu, 17 Jun 2021 12:57:12 -0400 Received: by zamok.crans.org (Postfix, from userid 11692) id 2F449E0154; Thu, 17 Jun 2021 18:56:56 +0200 (CEST) From: Alexandre Iooss To: "open list : All patches CC here" Subject: [PATCH v3 0/4] STM32VLDISCOVERY Machine Model Date: Thu, 17 Jun 2021 18:56:43 +0200 Message-Id: <20210617165647.2575955-1-erdnaxe@crans.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Received-SPF: pass client-ip=185.230.79.1; envelope-from=erdnaxe@crans.org; helo=zamok.crans.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , "open list : STM32VLDISCOVERY" , =?utf-8?q?Philippe_Ma?= =?utf-8?q?thieu-Daud=C3=A9?= , Alistair Francis , Alexandre Iooss Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This patch series adds the STM32VLDISCOVERY Machine to QEMU Information on the board is available at: https://www.st.com/en/evaluation-tools/stm32vldiscovery.html v3: - Add test for STM32VLDISCOVERY USART1 v2: - Add documentation of STM32 boards - Fixed number of interrupts - Fixed Cortex-M3 name Alexandre Iooss (4): stm32f100: Add the stm32f100 SoC stm32vldiscovery: Add the STM32VLDISCOVERY Machine docs/system: arm: Add stm32 boards description tests/boot-serial-test: Add STM32VLDISCOVERY board testcase MAINTAINERS | 13 ++ default-configs/devices/arm-softmmu.mak | 1 + docs/system/arm/stm32.rst | 66 +++++++++ docs/system/target-arm.rst | 1 + hw/arm/Kconfig | 10 ++ hw/arm/meson.build | 2 + hw/arm/stm32f100_soc.c | 182 ++++++++++++++++++++++++ hw/arm/stm32vldiscovery.c | 66 +++++++++ include/hw/arm/stm32f100_soc.h | 57 ++++++++ tests/qtest/boot-serial-test.c | 37 +++++ 10 files changed, 435 insertions(+) create mode 100644 docs/system/arm/stm32.rst create mode 100644 hw/arm/stm32f100_soc.c create mode 100644 hw/arm/stm32vldiscovery.c create mode 100644 include/hw/arm/stm32f100_soc.h