diff mbox series

[isar-cip-core] HW: add basic M-COM x86 support

Message ID GVXPR10MB583719E1FC03FA839A16DF5F88112@GVXPR10MB5837.EURPRD10.PROD.OUTLOOK.COM (mailing list archive)
State Rejected
Headers show
Series [isar-cip-core] HW: add basic M-COM x86 support | expand

Commit Message

Schilling, Benjamin April 23, 2024, 11:53 a.m. UTC
From fcc60a65011c9545bb90f27fb88200d2dff72faf Mon Sep 17 00:00:00 2001
From: Benjamin Schilling <schilling.benjamin@siemens.com>
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 <schilling.benjamin@siemens.com>
---
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 mbox series

Patch

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