Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black
boards all with am335x soc

Signed-off-by: Jun Miao <jun.m...@windriver.com>
---
 bsp/ti-am335x/ti-am335x-standard.scc |   8 +
 bsp/ti-am335x/ti-am335x.cfg          | 242 +++++++++++++++++++++++++++
 bsp/ti-am335x/ti-am335x.scc          |   7 +
 3 files changed, 257 insertions(+)
 create mode 100644 bsp/ti-am335x/ti-am335x-standard.scc
 create mode 100644 bsp/ti-am335x/ti-am335x.cfg
 create mode 100644 bsp/ti-am335x/ti-am335x.scc

diff --git a/bsp/ti-am335x/ti-am335x-standard.scc 
b/bsp/ti-am335x/ti-am335x-standard.scc
new file mode 100644
index 00000000..d357a729
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE ti-am335x
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard/standard.scc
+branch ti-am335x
+
+include ti-am335x.scc
diff --git a/bsp/ti-am335x/ti-am335x.cfg b/bsp/ti-am335x/ti-am335x.cfg
new file mode 100644
index 00000000..bb5b6653
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.cfg
@@ -0,0 +1,242 @@
+#.........................................................................
+#                                WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# configuration, feature configuration, and board specific hardware
+# configuration).  For more information on kernel configuration, please
+# consult the product documentation.
+#
+#.........................................................................
+
+CONFIG_ARM=y
+CONFIG_ARCH_OMAP=y
+CONFIG_OMAP_DM_TIMER=y
+CONFIG_SOC_AM33XX=y
+CONFIG_ARCH_OMAP2PLUS=y
+
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+
+CONFIG_PM=y
+CONFIG_REGMAP_IRQ=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_OMAP_OCP2SCP=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_RAW_NAND=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
+CONFIG_MTD_NAND_OMAP_BCH_BUILD=y
+
+# Misc devices
+CONFIG_EEPROM_AT24=y
+CONFIG_SENSORS_LIS3_I2C=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_TI=y
+CONFIG_TI_DAVINCI_MDIO=y
+CONFIG_TI_DAVINCI_CPDMA=y
+CONFIG_TI_CPSW_PHY_SEL=y
+CONFIG_TI_CPSW_ALE=y
+CONFIG_TI_CPSW=y
+CONFIG_TI_CPTS=y
+CONFIG_PHYLIB=y
+
+CONFIG_SMSC_PHY=y
+CONFIG_FIXED_PHY=y
+
+#
+# Input Device Drivers
+#
+
+CONFIG_INPUT=y
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_MATRIX=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_TPS65218_PWRBUTTON=m
+CONFIG_SERIAL_EARLYCON=y
+
+#
+# 8250 serial port support
+#
+
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
+
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_OMAP=y
+
+# I2C support
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_OMAP=y
+CONFIG_SENSORS_TSL2550=y
+CONFIG_GPIO_TWL4030=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
+
+CONFIG_GPIOLIB=y
+CONFIG_OF_GPIO=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_SYSFS=y
+
+CONFIG_GPIO_OMAP=y
+CONFIG_GPIO_PCA953X=m
+CONFIG_GPIO_TPS65910=y
+
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_OMAP_WATCHDOG=m
+
+CONFIG_MFD_SYSCON=y
+CONFIG_MFD_TI_AM335X_TSCADC=y
+CONFIG_MFD_OMAP_USB_HOST=y
+CONFIG_MFD_TPS65217=y
+CONFIG_MFD_TPS65218=y
+CONFIG_MFD_TPS65910=y
+CONFIG_TWL6040_CORE=y
+
+#
+# LCD
+#
+CONFIG_DRM=y
+CONFIG_DRM_OMAP=y
+CONFIG_OMAP2_DSS_DPI=y
+CONFIG_DRM_TILCDC=y
+CONFIG_DRM_OMAP_PANEL_DPI=y
+CONFIG_DRM_I2C_NXP_TDA998X=y
+
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_PLATFORM=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=y
+CONFIG_PWM=y
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_GPIO=y
+
+
+CONFIG_SOUND=m
+CONFIG_SND=m
+CONFIG_SND_SOC=m
+CONFIG_SND_DAVINCI_SOC_MCASP=m
+CONFIG_SND_SIMPLE_CARD=m
+
+
+#CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+#CONFIG_USB_MON=m
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB=y
+CONFIG_USB_SUPPORT=y
+
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_HCD_OMAP=m
+CONFIG_USB_MUSB_HDRC=m
+
+#
+# USB Physical Layer drivers Peripheral Controller
+#
+CONFIG_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_CONTROL_USB=m
+CONFIG_AM335X_PHY_USB=m
+
+# Platform Glue Layer
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_AM335X_CHILD=m
+
+# MUSB DMA mode
+CONFIG_USB_TI_CPPI41_DMA=y
+
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_MINORS=8
+CONFIG_MMC_BLOCK_BOUNCE=y
+
+CONFIG_MMC_OMAP=y
+CONFIG_MMC_OMAP_HS=y
+
+# CONFIG_EDAC is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+
+#
+# I2C RTC drivers
+#
+CONFIG_MFD_PALMAS=y
+CONFIG_RTC_DRV_PALMAS=y
+
+CONFIG_TWL4030_CORE=y
+CONFIG_RTC_DRV_TWL4030=y
+CONFIG_RTC_DRV_OMAP=y
+
+#
+# DMA Devices
+#
+CONFIG_DMADEVICES=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OMAP=y
+CONFIG_TI_CPPI41=m
+CONFIG_TI_DMA_CROSSBAR=y
+CONFIG_TI_EDMA=y
+
+# Hardware Spinlock drivers
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_EXTCON=y
+
+# PHY Subsystem
+CONFIG_GENERIC_PHY=y
+CONFIG_PHY_DM816X_USB=m
+CONFIG_OMAP_CONTROL_PHY=y
+
+CONFIG_TI_PIPE3=y
+CONFIG_ARM_PMU=y
+
+CONFIG_REMOTEPROC=m
+CONFIG_WKUP_M3_RPROC=m
+CONFIG_PRUSS_REMOTEPROC=m
diff --git a/bsp/ti-am335x/ti-am335x.scc b/bsp/ti-am335x/ti-am335x.scc
new file mode 100644
index 00000000..f46aa05b
--- /dev/null
+++ b/bsp/ti-am335x/ti-am335x.scc
@@ -0,0 +1,7 @@
+include cfg/usb-mass-storage.scc
+include cfg/fs/flash_fs.cfg
+include features/hugetlb/hugetlb.scc
+# enable the ability to run 32 bit apps
+#include arch/arm/32bit-compat.scc
+
+kconf hardware ti-am335x.cfg
-- 
2.22.0

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to