summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-02-18 19:43:56 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2022-02-21 20:06:28 -0300
commit30f5ce1d2168389295b4813e01898c2fb0f9bab9 (patch)
treef6f78dbf8e5eef40510739dc1db79d60f05189fb /recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig
parenta3b102a9ed12ea03e72f713ed40968da1776c6d3 (diff)
downloadmeta-freescale-30f5ce1d2168389295b4813e01898c2fb0f9bab9.tar.gz
Generalize overrides subsystem for NXP and Mainline support
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig')
-rw-r--r--recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig180
1 files changed, 180 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig b/recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig
new file mode 100644
index 00000000..a913c0dd
--- /dev/null
+++ b/recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig
@@ -0,0 +1,180 @@
1CONFIG_SYSVIPC=y
2CONFIG_NO_HZ=y
3CONFIG_HIGH_RES_TIMERS=y
4CONFIG_PREEMPT_VOLUNTARY=y
5CONFIG_TASKSTATS=y
6CONFIG_TASK_DELAY_ACCT=y
7CONFIG_TASK_XACCT=y
8CONFIG_TASK_IO_ACCOUNTING=y
9CONFIG_IKCONFIG=y
10CONFIG_IKCONFIG_PROC=y
11CONFIG_CGROUPS=y
12# CONFIG_UTS_NS is not set
13# CONFIG_IPC_NS is not set
14# CONFIG_PID_NS is not set
15# CONFIG_NET_NS is not set
16CONFIG_BLK_DEV_INITRD=y
17CONFIG_PERF_EVENTS=y
18# CONFIG_COMPAT_BRK is not set
19# CONFIG_ARCH_MULTI_V7 is not set
20CONFIG_ARCH_MXS=y
21CONFIG_AEABI=y
22CONFIG_MODULES=y
23CONFIG_MODULE_FORCE_LOAD=y
24CONFIG_MODULE_UNLOAD=y
25CONFIG_MODULE_FORCE_UNLOAD=y
26CONFIG_MODVERSIONS=y
27CONFIG_BLK_DEV_INTEGRITY=y
28CONFIG_NET=y
29CONFIG_PACKET=y
30CONFIG_UNIX=y
31CONFIG_INET=y
32CONFIG_IP_PNP=y
33CONFIG_IP_PNP_DHCP=y
34CONFIG_SYN_COOKIES=y
35# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
36# CONFIG_INET_XFRM_MODE_TUNNEL is not set
37# CONFIG_INET_XFRM_MODE_BEET is not set
38# CONFIG_INET_DIAG is not set
39# CONFIG_IPV6 is not set
40CONFIG_CAN=m
41CONFIG_CAN_FLEXCAN=m
42# CONFIG_WIRELESS is not set
43CONFIG_DEVTMPFS=y
44CONFIG_DEVTMPFS_MOUNT=y
45CONFIG_MTD=y
46CONFIG_MTD_CMDLINE_PARTS=y
47CONFIG_MTD_BLOCK=y
48CONFIG_MTD_DATAFLASH=y
49CONFIG_MTD_M25P80=y
50CONFIG_MTD_SST25L=y
51CONFIG_MTD_RAW_NAND=y
52CONFIG_MTD_NAND_GPMI_NAND=y
53CONFIG_MTD_SPI_NOR=y
54CONFIG_MTD_UBI=y
55# CONFIG_BLK_DEV is not set
56CONFIG_EEPROM_AT24=y
57CONFIG_SCSI=y
58CONFIG_BLK_DEV_SD=y
59CONFIG_NETDEVICES=y
60CONFIG_ENC28J60=y
61CONFIG_ICPLUS_PHY=y
62CONFIG_MICREL_PHY=y
63CONFIG_REALTEK_PHY=y
64CONFIG_SMSC_PHY=y
65CONFIG_USB_USBNET=y
66CONFIG_USB_NET_SMSC95XX=y
67# CONFIG_WLAN is not set
68CONFIG_INPUT_EVDEV=y
69# CONFIG_INPUT_KEYBOARD is not set
70# CONFIG_INPUT_MOUSE is not set
71CONFIG_INPUT_TOUCHSCREEN=y
72CONFIG_TOUCHSCREEN_MXS_LRADC=y
73CONFIG_TOUCHSCREEN_TSC2007=m
74# CONFIG_SERIO is not set
75# CONFIG_LEGACY_PTYS is not set
76CONFIG_SERIAL_AMBA_PL011=y
77CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
78CONFIG_SERIAL_MXS_AUART=y
79# CONFIG_HW_RANDOM is not set
80# CONFIG_I2C_COMPAT is not set
81CONFIG_I2C_CHARDEV=y
82CONFIG_I2C_MXS=y
83CONFIG_SPI=y
84CONFIG_SPI_GPIO=m
85CONFIG_SPI_MXS=y
86CONFIG_GPIO_SYSFS=y
87# CONFIG_HWMON is not set
88CONFIG_WATCHDOG=y
89CONFIG_STMP3XXX_RTC_WATCHDOG=y
90CONFIG_MFD_MXS_LRADC=y
91CONFIG_REGULATOR=y
92CONFIG_REGULATOR_FIXED_VOLTAGE=y
93CONFIG_DRM=y
94CONFIG_DRM_PANEL_SEIKO_43WVF1G=y
95CONFIG_DRM_MXSFB=y
96CONFIG_FB_MODE_HELPERS=y
97CONFIG_LCD_CLASS_DEVICE=y
98CONFIG_BACKLIGHT_CLASS_DEVICE=y
99CONFIG_BACKLIGHT_PWM=y
100CONFIG_LOGO=y
101CONFIG_SOUND=y
102CONFIG_SND=y
103CONFIG_SND_SOC=y
104CONFIG_SND_MXS_SOC=y
105CONFIG_SND_SOC_MXS_SGTL5000=y
106CONFIG_USB=y
107CONFIG_USB_EHCI_HCD=y
108CONFIG_USB_STORAGE=y
109CONFIG_USB_CHIPIDEA=y
110CONFIG_USB_CHIPIDEA_UDC=y
111CONFIG_USB_CHIPIDEA_HOST=y
112CONFIG_USB_MXS_PHY=y
113CONFIG_USB_GADGET=y
114CONFIG_USB_ETH=m
115CONFIG_USB_MASS_STORAGE=m
116CONFIG_MMC=y
117CONFIG_MMC_MXS=y
118CONFIG_NEW_LEDS=y
119CONFIG_LEDS_CLASS=y
120CONFIG_LEDS_GPIO=y
121CONFIG_LEDS_TRIGGERS=y
122CONFIG_LEDS_TRIGGER_TIMER=y
123CONFIG_LEDS_TRIGGER_ONESHOT=y
124CONFIG_LEDS_TRIGGER_HEARTBEAT=y
125CONFIG_LEDS_TRIGGER_BACKLIGHT=y
126CONFIG_LEDS_TRIGGER_GPIO=y
127CONFIG_RTC_CLASS=y
128CONFIG_RTC_DRV_DS1307=m
129CONFIG_RTC_DRV_STMP=y
130CONFIG_DMADEVICES=y
131CONFIG_MXS_DMA=y
132CONFIG_IIO=y
133CONFIG_MXS_LRADC_ADC=y
134CONFIG_IIO_SYSFS_TRIGGER=y
135CONFIG_PWM=y
136CONFIG_PWM_MXS=y
137CONFIG_NVMEM_MXS_OCOTP=y
138CONFIG_EXT4_FS=y
139# CONFIG_DNOTIFY is not set
140CONFIG_FSCACHE=m
141CONFIG_FSCACHE_STATS=y
142CONFIG_CACHEFILES=m
143CONFIG_VFAT_FS=y
144CONFIG_TMPFS=y
145CONFIG_TMPFS_POSIX_ACL=y
146CONFIG_JFFS2_FS=y
147CONFIG_JFFS2_COMPRESSION_OPTIONS=y
148CONFIG_JFFS2_LZO=y
149CONFIG_JFFS2_RUBIN=y
150CONFIG_UBIFS_FS=y
151CONFIG_UBIFS_FS_ADVANCED_COMPR=y
152CONFIG_NFS_FS=y
153CONFIG_NFS_V3_ACL=y
154CONFIG_NFS_V4=y
155CONFIG_ROOT_NFS=y
156CONFIG_NLS_CODEPAGE_437=y
157CONFIG_NLS_CODEPAGE_850=y
158CONFIG_NLS_ISO8859_1=y
159CONFIG_NLS_ISO8859_15=y
160CONFIG_CRYPTO_DEV_MXS_DCP=y
161CONFIG_CRC_ITU_T=m
162CONFIG_CRC7=m
163CONFIG_FONTS=y
164CONFIG_PRINTK_TIME=y
165CONFIG_DEBUG_INFO=y
166CONFIG_FRAME_WARN=2048
167CONFIG_UNUSED_SYMBOLS=y
168CONFIG_MAGIC_SYSRQ=y
169CONFIG_DEBUG_KERNEL=y
170CONFIG_SOFTLOCKUP_DETECTOR=y
171CONFIG_PROVE_LOCKING=y
172CONFIG_BLK_DEV_IO_TRACE=y
173CONFIG_STRICT_DEVMEM=y
174CONFIG_DEBUG_USER=y
175CONFIG_KPROBES=y
176CONFIG_OPTPROBES=y
177CONFIG_KRETPROBES=y
178# CONFIG_ARM_KPROBES_TEST is not set
179# CONFIG_KPROBES_SANITY_TEST is not set
180