From patchwork Tue Apr 23 11:53:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schilling, Benjamin" X-Patchwork-Id: 13639919 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18512C4345F for ; Tue, 23 Apr 2024 11:53:32 +0000 (UTC) Received: from EUR02-DB5-obe.outbound.protection.outlook.com (EUR02-DB5-obe.outbound.protection.outlook.com [40.107.249.74]) by mx.groups.io with SMTP id smtpd.web11.16368.1713873211276125309 for ; Tue, 23 Apr 2024 04:53:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=e0Lh5svf; spf=pass (domain: siemens.com, ip: 40.107.249.74, mailfrom: schilling.benjamin@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eAesAN+6owCjwDUHo8gXewXk/j8JocXHfELrO/CdlHpJC/9M2ge/oqhPEciS44c21pXIzw3nOgUjaezbhrutd4PhQ5lSP1rBlpnhUW51esFe709L1hD645X3ZQKM0nh44IVGjOQ7UQeSMIoQaxlJyMgOcJNgXZTwPjHOXrD5TY8+F4o/fUSvKmoqzeHsjPvkrNO4Vrq7p53l8ZKiMwyEB8V2xJDsHUCb4wDDGwIOh5NR7hLV8NqkFNkk8+UvYSFaQhMMJSHK0vVaZ8d7IKG2+7wbImPMYOJGUO49Ykd9U2d8N3OLgddblau0lMY9Y/YD4wZC3naGXwf5XNAJREEN0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=N2PxRSvSstWn2FQ9XZhBtR/H6leE+L24pVM+eduKePQ=; b=efS0jEkyUzejJw4195wtVWDfmZmDjjdKu1FYJ31AXwv1By7uDW8t5G556wNRMRaXvnafNLyw0Y4uNn7iJT7xYGEYZkUg6PNMnBr2mcQXIWx2vyChP6ncj5Zu5ZEMmtqGfzn/NmPi/JwOebSFwG7Div+kf6HLXks3cBMyKaXEob05YI0U2fBR2FOmBeVn8BOPmzzMyHbDC9kGTRSQNY7Mu5xAoV69sDWXF8KcSXdmMAndnBq/j/dL0JS6i77G8varHHsrzFL53cI7yvZTW12CJStrX88kPkuj47YwrE95HF/5J0maSi7FOEELNrHEGOutHrWldbaFOyQ/Bh1lAcphdA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N2PxRSvSstWn2FQ9XZhBtR/H6leE+L24pVM+eduKePQ=; b=e0Lh5svfTDuwgaY+3gUiNhjTM04ISgTXs+b6I/julzxSARNc6qHB8c8K8FhICGk9ipR7V2DhvvO5lEOlwiy2UH8Je4Frk7+tr5Ao6gchSCh8Cf6311SBjAY4D/CF2+o+7DCVC/iJHHF0xdog5v27aCSOA+Gtbx5lpFaA2ikb8vrW+Ew9pP0pswokZhoID+m3xQkBDsgiJ8pY4wtplfy4MmaQm4jWW6tX6XoiR2VZHgTnts6L8QY8RCoz/C4Xv4nEtwHMennLp2Oxo0M8VVJ3cF/0SesxPA2J2ixmVw8kHb7Hlw5uj+d6/QjOua6UsHOe3qZUnMEgu4GOwVTUwNIX+Q== Received: from GVXPR10MB5837.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:6d::17) by AM8PR10MB4113.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:1ee::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 11:53:28 +0000 Received: from GVXPR10MB5837.EURPRD10.PROD.OUTLOOK.COM ([fe80::8e3f:ee20:5b20:8a7b]) by GVXPR10MB5837.EURPRD10.PROD.OUTLOOK.COM ([fe80::8e3f:ee20:5b20:8a7b%5]) with mapi id 15.20.7472.044; Tue, 23 Apr 2024 11:53:28 +0000 From: "Schilling, Benjamin" To: "cip-dev@lists.cip-project.org" Subject: [isar-cip-core] [PATCH] HW: add basic M-COM x86 support Thread-Topic: [isar-cip-core] [PATCH] HW: add basic M-COM x86 support Thread-Index: AdqVdNUVlEu9uZKuRRmK1w/6/rn/Ng== Date: Tue, 23 Apr 2024 11:53:28 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ActionId=1891e4bd-18a5-4559-9f56-85bc61c79f22;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ContentBits=0;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Enabled=true;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Method=Standard;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Name=restricted;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SetDate=2024-04-23T11:32:32Z;MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: GVXPR10MB5837:EE_|AM8PR10MB4113:EE_ x-ms-office365-filtering-correlation-id: c0fcde46-5d5a-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kX0WwBY5MHW0S6oStAAkgdVeDVk579H/xam9CqT3d7Ws6O43WQJ0aumzs7bJkLOpzJQePCpRxoDCr2Gt38GWBRbOJnNxdFxmfzfpe71cknGw5EhUlixAiLYqJ606PVtD+dLOVO4QriZd94FEw1QKA116awT1xpLBsRRJFpdHzSyVBEyhgL4MZ5svfhyyV2K5VhCe5Z18Kte8QSdTr9ziT5fNKbu+x7dm5IOZtGHsJEW5kMirazWFusUIg+GMkGTiOOQWgX9/CzgBWsKCxcKYC3G01lxVuFrEaMTDsloNvEqTJ/Wu2yVAHZNcuyczw/muE4jNvnN+HTHAnXpZud+DXB846lkktZKF1NOpBnW+KV35DZHZBykgAfnZIeYpJtdmAgCLlnQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GVXPR10MB5837.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: vLT7JjOQbX6hensgLcqt52NqC68faFHwizGDjBck4CvKJ3tfhOmORq9NG2jXUdsLG1KgVlHA9pVmnfWFUl0jh1HqOxIEZSVg/YFReeawDbe/IwE0P77XqMvFGqqebLs6/BSSV5+7X05qBAw2NaFGpawp8IRiMYMfMWPtHyaBS1uW4/RXgHZyC1axNnuxS4xfMzBjee9gfjievucr9XWwDxUgEs2xBqtAmEm8C5MW/0RRJoxCS38kribFzif70W37zbLlohVVNR78bg1WEDedw1qd42NXClgzZKNg+ZynbtBpP0PCdpK51SUKNcFxS8aB+pXPBfybihNqG9IZJ115UcAR9cqWu+Qlw+w9MiwYLdLn3jpgPC628zDKOwcxCD/ijUXsBV08sMVq5B7ghfYHcNyFjDqDqv57KPcwMXNAaPHRRwBFNgK4+JxNiLLGALonhWXvcoEbm5SJpXs1/dU1hxgbtRg7G0/egsIVRPr25yqVI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L+NPnEUma7FoyY1pJOieVnr95PBswCsMADBmL2DA== MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GVXPR10MB5837.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: c0fcde46-5d5a-4f0f-38bb-08dc638bfd76 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2024 11:53:28.3678 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nwRPPl2j5+av2iL9REy0O2/QD92gg0oWSmDJ1/AoPRgJYuJcfztIXj0dK+R0zJ4T5S20urytQcBXlNa0nnffuEYRG5fUAG6ESDOsLAN7gmY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR10MB4113 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 23 Apr 2024 11:53:32 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/15739 From fcc60a65011c9545bb90f27fb88200d2dff72faf Mon Sep 17 00:00:00 2001 From: Benjamin Schilling Date: Wed, 10 Apr 2024 17:21:11 +0200 Subject: [isar-cip-core] [PATCH] HW: add basic M-COM x86 support This patch allows building and image capable of booting on M-COM x86 device when using the following configuration: - Siemens SIMATIC IPC227e target - 5.10 kernel - Debian Bookworm - Flashable image - SWUpdate support This is not intended to be included as is, but to be used as a starting point for proper integration by a separate kas file for hardware support and respective kernel configuration in cip-kernel-config repository. Signed-off-by: Benjamin Schilling --- recipes-kernel/linux/files/mcom.cfg | 35 +++++++++++++++++++ .../linux/linux-cip_5.10.212-cip45.bb | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 recipes-kernel/linux/files/mcom.cfg diff --git a/recipes-kernel/linux/files/mcom.cfg b/recipes-kernel/linux/files/mcom.cfg new file mode 100644 index 0000000..5c46614 --- /dev/null +++ b/recipes-kernel/linux/files/mcom.cfg @@ -0,0 +1,35 @@ +CONFIG_USB_ROLE_SWITCH=m +# CONFIG_USB_ROLES_INTEL_XHCI is not set +CONFIG_MMC=m +CONFIG_MMC_BLOCK=m +CONFIG_MMC_BLOCK_MINORS=256 +CONFIG_SDIO_UART=m +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +# CONFIG_MMC_DEBUG is not set +CONFIG_MMC_SDHCI=m +CONFIG_MMC_SDHCI_IO_ACCESSORS=y +CONFIG_MMC_SDHCI_PCI=m +CONFIG_MMC_RICOH_MMC=y +CONFIG_MMC_SDHCI_ACPI=m +# CONFIG_MMC_SDHCI_PLTFM is not set +CONFIG_MMC_WBSD=m +CONFIG_MMC_TIFM_SD=m +CONFIG_MMC_SPI=m +CONFIG_MMC_SDRICOH_CS=m +CONFIG_MMC_CB710=m +CONFIG_MMC_VIA_SDMMC=m +CONFIG_MMC_VUB300=m +CONFIG_MMC_USHC=m +# CONFIG_MMC_USDHI6ROL0 is not set +CONFIG_MMC_REALTEK_PCI=m +CONFIG_MMC_REALTEK_USB=m +CONFIG_MMC_CQHCI=m +# CONFIG_MMC_HSQ is not set +CONFIG_MMC_TOSHIBA_PCI=m +# CONFIG_MMC_MTK is not set +CONFIG_MEMSTICK=m +# CONFIG_MEMSTICK_DEBUG is not set diff --git a/recipes-kernel/linux/linux-cip_5.10.212-cip45.bb b/recipes-kernel/linux/linux-cip_5.10.212-cip45.bb index 111866a..7db93a1 100644 --- a/recipes-kernel/linux/linux-cip_5.10.212-cip45.bb +++ b/recipes-kernel/linux/linux-cip_5.10.212-cip45.bb @@ -12,3 +12,5 @@ require linux-cip-common.inc SRC_URI[sha256sum] = "904e4b2547eed965998236bebbfbbd60ae8bd800d11ad46fbeeeb0d67a4fcae1" + +SRC_URI += "file://mcom.cfg" \ No newline at end of file -- 2.39.2