From mboxrd@z Thu Jan 1 00:00:00 1970 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=-17.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 81ADCC07E9A for ; Wed, 14 Jul 2021 09:29:46 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F2D96120A for ; Wed, 14 Jul 2021 09:29:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F2D96120A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1271381D88; Wed, 14 Jul 2021 11:29:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="WbMKQbey"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1599781D6C; Wed, 14 Jul 2021 11:29:41 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 668D280F0E for ; Wed, 14 Jul 2021 11:29:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=lokeshvutla@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 16E9TYM9026685; Wed, 14 Jul 2021 04:29:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1626254974; bh=3C1eW5X6k7o/VP6HVTo//zC4jHJO3dl0JX+E0OyqKRQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=WbMKQbeyKkUYbnwegs89Jok84fEGaSa8n5rNxEWBrA1QkW+eZ7f0Qcirk9hQLZO3W Nf/xrQ5sP+7NafLV953CEOyMc9MAxbWQ4Pv8XJBRFnulYmVPtcjaWS28fozM7aTj+Z R2EpsqnXyeS1UvTBHMd3bmTGK9r5k7xo1gSvh5h4= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 16E9TYfs098380 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Jul 2021 04:29:34 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 14 Jul 2021 04:29:34 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 14 Jul 2021 04:29:34 -0500 Received: from [10.24.69.20] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 16E9TVKg103559; Wed, 14 Jul 2021 04:29:32 -0500 Subject: Re: [PATCH v3 0/5] Add SIMATIC IOT2050 board support To: Jan Kiszka , U-Boot Mailing List CC: Le Jin , Bao Cheng Su , Nian Gao , Chao Zeng References: From: Lokesh Vutla Message-ID: Date: Wed, 14 Jul 2021 14:59:31 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi Jan, On 12/06/21 1:12 am, Jan Kiszka wrote: > This is the baseline support for the SIMATIC IOT2050 devices. > > Changes in v3: > - rebased > - addressed several checkpatch warnings > - a few #ifdef -> IS_ENABLED conversions > - comment marker for SPDK identifier in .S file > - trailing whitespaces > - factored out rti_wdt_load_fw (less #ifdef) I see that there is no conclusion yet for the Watchdog firmware support. But that can be split out from this series IMO. Can you repost with basic support so that I can merge the series. Watchdog support can be dealt separately. Thanks and regards, Lokesh > > Changes in v2: > - rebased > - sync with upstream-accepted DT > - add boot switch > - include watchdog support > > Allows to boot mainline 5.10 kernels, but not the original BSP-derived > kernel we currently ship as reference. This is due to the TI sysfw ABI > breakages between 2.x and 3.x. We will soon provide a transitional > kernel that allows booting both firmware ABIs - as long as full upstream > kernel support is work in progress. > > Note that this baseline support lacks Ethernet drivers. We are working > closely with TI to ensure that the to-be-upstreamed icssg-prueth driver > will work both with new SR2.0 AM65x silicon as well as with SR1.0 which > is used in the currently shipped IOT2050 devices. > > A staging tree for complete IOT2050 support can be found at [1]. Full > image integration is available via [2]. > > Jan > > [1] https://github.com/siemens/u-boot/commits/jan/iot2050 > [2] https://github.com/siemens/meta-iot2050 > > Jan Kiszka (5): > arm: dts: Add IOT2050 device tree files > board: siemens: Add support for SIMATIC IOT2050 devices > arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry > watchdog: rti_wdt: Add support for loading firmware > configs: iot2050: Enable watchdog support, but do not auto-start it > > arch/arm/dts/Makefile | 7 +- > arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 105 +++ > .../dts/k3-am65-iot2050-common-u-boot.dtsi | 103 +++ > arch/arm/dts/k3-am65-iot2050-common.dtsi | 655 ++++++++++++++++++ > arch/arm/dts/k3-am65-iot2050-spl.dts | 16 + > arch/arm/dts/k3-am65-mcu.dtsi | 9 + > arch/arm/dts/k3-am6528-iot2050-basic.dts | 67 ++ > arch/arm/dts/k3-am6548-iot2050-advanced.dts | 66 ++ > arch/arm/mach-k3/Kconfig | 1 + > board/siemens/iot2050/Kconfig | 32 + > board/siemens/iot2050/MAINTAINERS | 8 + > board/siemens/iot2050/Makefile | 10 + > board/siemens/iot2050/README | 65 ++ > board/siemens/iot2050/board.c | 278 ++++++++ > board/siemens/iot2050/config.mk | 8 + > configs/iot2050_defconfig | 146 ++++ > drivers/watchdog/Kconfig | 20 + > drivers/watchdog/Makefile | 5 + > drivers/watchdog/rti_wdt.c | 72 ++ > drivers/watchdog/rti_wdt_fw.S | 20 + > include/configs/iot2050.h | 60 ++ > 21 files changed, 1752 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi > create mode 100644 arch/arm/dts/k3-am65-iot2050-common-u-boot.dtsi > create mode 100644 arch/arm/dts/k3-am65-iot2050-common.dtsi > create mode 100644 arch/arm/dts/k3-am65-iot2050-spl.dts > create mode 100644 arch/arm/dts/k3-am6528-iot2050-basic.dts > create mode 100644 arch/arm/dts/k3-am6548-iot2050-advanced.dts > create mode 100644 board/siemens/iot2050/Kconfig > create mode 100644 board/siemens/iot2050/MAINTAINERS > create mode 100644 board/siemens/iot2050/Makefile > create mode 100644 board/siemens/iot2050/README > create mode 100644 board/siemens/iot2050/board.c > create mode 100644 board/siemens/iot2050/config.mk > create mode 100644 configs/iot2050_defconfig > create mode 100644 drivers/watchdog/rti_wdt_fw.S > create mode 100644 include/configs/iot2050.h >