diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2016-10-23 22:00:57 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-11-19 21:36:36 +1000 |
commit | 061a16fd21bc0f419eda03aee6ee0ce11b48f27a (patch) | |
tree | 1b269269a127a2d5a6b1467818fb0ae5fbc8e0a9 | |
parent | c6c05c6ab9f313483b8dc4045efe94f0a01c6cc3 (diff) | |
download | meta-xilinx-061a16fd21bc0f419eda03aee6ee0ce11b48f27a.tar.gz |
linux/config: Update and improve config fragments
Update and add new config fragments to enable newer features that are
now in the newer kernels (e.g. Zynq and ZynqMP drivers/features). This
update also attempts to cover ZynqMP configuration that is normally
provided by the ZynqMP defconfig in linux-xlnx, this allows for better
consistency between the Zynq/ZynqMP/MicroBlaze configuration for
linux-xlnx as well as enabling better configuration setup for the
linux-yocto* kernels.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
32 files changed, 177 insertions, 37 deletions
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg index 6640de7a..1c8b2f50 100644 --- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg | |||
@@ -1,12 +1,20 @@ | |||
1 | 1 | ||
2 | # DMA | 2 | # Xilinx DMA engines |
3 | CONFIG_XILINX_DMA_ENGINES=y | 3 | CONFIG_XILINX_DMA_ENGINES=y |
4 | CONFIG_XILINX_AXIDMA=y | ||
5 | CONFIG_XILINX_AXICDMA=y | ||
6 | # DMA (linux-xlnx 3.14 only) | ||
7 | CONFIG_XILINX_AXIVDMA=y | ||
8 | 4 | ||
9 | # Xilinx Traffic Generator | 5 | # Xilinx Traffic Generator |
10 | CONFIG_XILINX_TRAFGEN=y | 6 | CONFIG_XILINX_TRAFGEN=y |
11 | 7 | ||
8 | # Xilinx Perfmon UIO driver | ||
9 | CONFIG_UIO_XILINX_APM=y | ||
10 | |||
11 | # Interrupt controller | ||
12 | CONFIG_XILINX_INTC=y | ||
13 | |||
14 | # Xilinx PHY | ||
12 | CONFIG_XILINX_PHY=y | 15 | CONFIG_XILINX_PHY=y |
16 | |||
17 | # JESD204B PHY | ||
18 | CONFIG_XILINX_JESD204B=y | ||
19 | CONFIG_XILINX_JESD204B_PHY=y | ||
20 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg index de22f5ba..ac8cdb29 100644 --- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg | |||
@@ -12,8 +12,3 @@ CONFIG_SPI_ZYNQ_QSPI=y | |||
12 | CONFIG_MTD_NAND_PL353=y | 12 | CONFIG_MTD_NAND_PL353=y |
13 | CONFIG_MTD_NAND_PL35X=y | 13 | CONFIG_MTD_NAND_PL35X=y |
14 | 14 | ||
15 | # EDAC | ||
16 | CONFIG_EDAC=y | ||
17 | CONFIG_EDAC_MM_EDAC=y | ||
18 | CONFIG_EDAC_ZYNQ=y | ||
19 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg index 37d02cb9..e7c6e7ec 100644 --- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg | |||
@@ -1,16 +1,39 @@ | |||
1 | 1 | ||
2 | CONFIG_SOC_XILINX_ZYNQMP=y | ||
3 | |||
2 | # DMA | 4 | # DMA |
3 | CONFIG_DMADEVICES=y | 5 | CONFIG_DMADEVICES=y |
4 | CONFIG_XILINX_DMA_ENGINES=y | 6 | CONFIG_XILINX_DMA_ENGINES=y |
5 | CONFIG_XILINX_DPDMA=y | 7 | CONFIG_XILINX_DPDMA=y |
6 | CONFIG_XILINX_ZYNQMP_DMA=y | ||
7 | 8 | ||
8 | # NAND | 9 | # NAND |
10 | CONFIG_MTD=y | ||
11 | CONFIG_MTD_NAND=y | ||
9 | CONFIG_MTD_NAND_ARASAN=y | 12 | CONFIG_MTD_NAND_ARASAN=y |
10 | 13 | ||
11 | # PCIe | 14 | # PCIe |
12 | CONFIG_PCI=y | 15 | CONFIG_PCI=y |
13 | CONFIG_PCI_MSI=y | 16 | CONFIG_PCI_MSI=y |
14 | CONFIG_PCI_XILINX_NWL=y | 17 | CONFIG_PCIE_XILINX_NWL=y |
15 | 18 | ||
16 | # CONFIG_ARM_MALI is not set | 19 | # CONFIG_ARM_MALI is not set |
20 | |||
21 | CONFIG_PHY_XILINX_ZYNQMP=y | ||
22 | |||
23 | # EDAC | ||
24 | CONFIG_EDAC=y | ||
25 | CONFIG_EDAC_MM_EDAC=y | ||
26 | CONFIG_EDAC_CORTEX_ARM64=y | ||
27 | CONFIG_EDAC_SYNOPSYS=y | ||
28 | CONFIG_EDAC_ZYNQMP_OCM=y | ||
29 | |||
30 | # Sound | ||
31 | CONFIG_SOUND=y | ||
32 | CONFIG_SND=y | ||
33 | CONFIG_SND_DRIVERS=y | ||
34 | CONFIG_SND_SOC=y | ||
35 | CONFIG_SND_SOC_XILINX_DP=y | ||
36 | |||
37 | # Ethernet | ||
38 | CONFIG_MACB_EXT_BD=y | ||
39 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg new file mode 100644 index 00000000..190c3bca --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg | |||
@@ -0,0 +1,3 @@ | |||
1 | CONFIG_TRANSPARENT_HUGEPAGE=y | ||
2 | CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y | ||
3 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc new file mode 100644 index 00000000..395a1ca5 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable Huge Pages support" | ||
2 | define KFEATURE_COMPATIBILITY arch | ||
3 | |||
4 | kconf non-hardware hugepages.cfg | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg new file mode 100644 index 00000000..6f48ed18 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg | |||
@@ -0,0 +1,2 @@ | |||
1 | CONFIG_HUGETLB_PAGE=y | ||
2 | CONFIG_HUGETLBFS=y | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc new file mode 100644 index 00000000..1d0df3ce --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable Huge TLB support" | ||
2 | define KFEATURE_COMPATIBILITY arch | ||
3 | |||
4 | kconf non-hardware hugetlb.cfg | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg new file mode 100644 index 00000000..5b4fb2d5 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg | |||
@@ -0,0 +1,19 @@ | |||
1 | CONFIG_NEW_LEDS=y | ||
2 | CONFIG_LEDS_CLASS=y | ||
3 | CONFIG_LEDS_TRIGGERS=y | ||
4 | |||
5 | CONFIG_LEDS_TRIGGER_CPU=y | ||
6 | |||
7 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
8 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
9 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
10 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
11 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | ||
12 | CONFIG_LEDS_TRIGGER_CAMERA=y | ||
13 | CONFIG_LEDS_TRIGGER_TRANSIENT=y | ||
14 | |||
15 | # GPIO features requires GPIOLIB | ||
16 | # Include them here, but they won't be enabled unless GPIO is explicitly | ||
17 | # enabled as well. | ||
18 | CONFIG_LEDS_GPIO=y | ||
19 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc new file mode 100644 index 00000000..69992a4f --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable LED class and triggers" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf hardware leds.cfg | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg b/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg index a1ae1110..2e9142f1 100644 --- a/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg +++ b/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg | |||
@@ -1,3 +1 @@ | |||
1 | CONFIG_SCSI=y | CONFIG_SCSI=y | |
2 | CONFIG_CHR_DEV_SG=y | ||
3 | CONFIG_SCSI_MULTI_LUN=y | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg index 1a3db46b..c707f968 100644 --- a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg +++ b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg | |||
@@ -47,6 +47,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | |||
47 | 47 | ||
48 | CONFIG_DEVTMPFS=y | 48 | CONFIG_DEVTMPFS=y |
49 | CONFIG_DEVTMPFS_MOUNT=y | 49 | CONFIG_DEVTMPFS_MOUNT=y |
50 | CONFIG_TMPFS_POSIX_ACL=y | ||
50 | 51 | ||
51 | CONFIG_CONNECTOR=y | 52 | CONFIG_CONNECTOR=y |
52 | 53 | ||
@@ -69,7 +70,12 @@ CONFIG_TMPFS=y | |||
69 | CONFIG_EXT4_FS=y | 70 | CONFIG_EXT4_FS=y |
70 | CONFIG_EXT4_USE_FOR_EXT2=y | 71 | CONFIG_EXT4_USE_FOR_EXT2=y |
71 | CONFIG_JFFS2_FS=y | 72 | CONFIG_JFFS2_FS=y |
73 | CONFIG_JFFS2_FS_XATTR=y | ||
72 | CONFIG_JFFS2_SUMMARY=y | 74 | CONFIG_JFFS2_SUMMARY=y |
75 | CONFIG_JFFS2_COMPRESSION_OPTIONS=y | ||
76 | CONFIG_JFFS2_ZLIB=y | ||
77 | CONFIG_JFFS2_LZO=y | ||
78 | CONFIG_JFFS2_RUBIN=y | ||
73 | CONFIG_NFS_FS=y | 79 | CONFIG_NFS_FS=y |
74 | CONFIG_ROOT_NFS=y | 80 | CONFIG_ROOT_NFS=y |
75 | 81 | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc index d83766ee..288b8696 100644 --- a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc +++ b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc | |||
@@ -2,3 +2,6 @@ | |||
2 | 2 | ||
3 | kconf non-hardware standard.cfg | 3 | kconf non-hardware standard.cfg |
4 | 4 | ||
5 | include features/hugetlb/hugetlb.scc | ||
6 | include features/hugetlb/hugepages.scc | ||
7 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg index 15632d2d..f7684cea 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg | |||
@@ -4,4 +4,5 @@ | |||
4 | CONFIG_DRM_DIGILENT_ENCODER=y | 4 | CONFIG_DRM_DIGILENT_ENCODER=y |
5 | 5 | ||
6 | # Common Clock Framework | 6 | # Common Clock Framework |
7 | CONFIG_COMMON_CLK_DGLNT_DYNCLK=y \ No newline at end of file | 7 | CONFIG_COMMON_CLK_DGLNT_DYNCLK=y |
8 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg index 5adfca85..efd17c30 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | |||
@@ -4,7 +4,24 @@ | |||
4 | 4 | ||
5 | # Ethernet PHYs | 5 | # Ethernet PHYs |
6 | CONFIG_PHYLIB=y | 6 | CONFIG_PHYLIB=y |
7 | CONFIG_AMD_PHY=y | ||
8 | CONFIG_AT803X_PHY=y | ||
9 | CONFIG_BCM7XXX_PHY=y | ||
10 | CONFIG_BCM87XX_PHY=y | ||
11 | CONFIG_BROADCOM_PHY=y | ||
12 | CONFIG_CICADA_PHY=y | ||
13 | CONFIG_DAVICOM_PHY=y | ||
14 | CONFIG_DP83867_PHY=y | ||
15 | CONFIG_FIXED_PHY=y | ||
16 | CONFIG_ICPLUS_PHY=y | ||
17 | CONFIG_LSI_ET1011C_PHY=y | ||
18 | CONFIG_LXT_PHY=y | ||
7 | CONFIG_MARVELL_PHY=y | 19 | CONFIG_MARVELL_PHY=y |
20 | CONFIG_MICREL_PHY=y | ||
21 | CONFIG_NATIONAL_PHY=y | ||
22 | CONFIG_QSEMI_PHY=y | ||
23 | CONFIG_REALTEK_PHY=y | ||
24 | CONFIG_SMSC_PHY=y | ||
8 | CONFIG_VITESSE_PHY=y | 25 | CONFIG_VITESSE_PHY=y |
9 | 26 | ||
10 | # I2C | 27 | # I2C |
@@ -12,6 +29,9 @@ CONFIG_I2C=y | |||
12 | CONFIG_I2C_CHARDEV=y | 29 | CONFIG_I2C_CHARDEV=y |
13 | CONFIG_I2C_MUX=y | 30 | CONFIG_I2C_MUX=y |
14 | CONFIG_I2C_MUX_PCA954x=y | 31 | CONFIG_I2C_MUX_PCA954x=y |
32 | CONFIG_I2C_MUX_PCA9541=y | ||
33 | CONFIG_GPIO_PCA953X=y | ||
34 | CONFIG_GPIO_PCA953X_IRQ=y | ||
15 | 35 | ||
16 | # EEPROM | 36 | # EEPROM |
17 | CONFIG_EEPROM_AT24=y | 37 | CONFIG_EEPROM_AT24=y |
@@ -29,9 +49,20 @@ CONFIG_MTD_CFI_AMDSTD=y | |||
29 | CONFIG_HWMON=y | 49 | CONFIG_HWMON=y |
30 | CONFIG_PMBUS=y | 50 | CONFIG_PMBUS=y |
31 | CONFIG_SENSORS_PMBUS=y | 51 | CONFIG_SENSORS_PMBUS=y |
32 | CONFIG_REGULATOR=y | 52 | # Power |
33 | CONFIG_SENSORS_UCD9000=y | 53 | CONFIG_SENSORS_UCD9000=y |
34 | CONFIG_SENSORS_UCD9200=y | 54 | CONFIG_SENSORS_UCD9200=y |
55 | CONFIG_SENSORS_INA2XX=y | ||
56 | CONFIG_SENSORS_MAX20751=y | ||
57 | |||
58 | # Regulators | ||
59 | CONFIG_REGULATOR=y | ||
60 | CONFIG_REGULATOR_GPIO=y | ||
61 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
62 | |||
63 | # Reset/power-off GPIO | ||
64 | CONFIG_POWER_RESET=y | ||
65 | CONFIG_POWER_RESET_LTC2952=y | ||
35 | 66 | ||
36 | # RTC drivers | 67 | # RTC drivers |
37 | CONFIG_RTC_CLASS=y | 68 | CONFIG_RTC_CLASS=y |
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc index 6f1cd26c..d79417d6 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc | |||
@@ -3,3 +3,5 @@ define KFEATURE_COMPATIBILITY board | |||
3 | 3 | ||
4 | kconfig hardware board-common.cfg | 4 | kconfig hardware board-common.cfg |
5 | 5 | ||
6 | include features/leds/leds.scc | ||
7 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg index c3c87f7c..86914fbf 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | # Device tree (for linux-xlnx 3.14) | ||
3 | CONFIG_PROC_DEVICETREE=y | ||
4 | |||
5 | # Debug | 2 | # Debug |
6 | CONFIG_PRINTK_TIME=y | 3 | CONFIG_PRINTK_TIME=y |
7 | 4 | ||
5 | # Disable /dev/kmem | ||
6 | # CONFIG_DEVKMEM is not set | ||
7 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc index 3f29390e..a17fd2cf 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc | |||
@@ -4,7 +4,6 @@ define KFEATURE_COMPATIBILITY board | |||
4 | kconfig hardware common.cfg | 4 | kconfig hardware common.cfg |
5 | 5 | ||
6 | include features/scsi/scsi.scc | 6 | include features/scsi/scsi.scc |
7 | include features/scsi/scsi-generic.scc | ||
8 | include features/scsi/disk.scc | 7 | include features/scsi/disk.scc |
9 | 8 | ||
10 | include features/mtd/mtd.scc | 9 | include features/mtd/mtd.scc |
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg index 3d03f180..5098d9b2 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg | |||
@@ -8,6 +8,7 @@ CONFIG_SERIAL_OF_PLATFORM=y | |||
8 | 8 | ||
9 | # DMA | 9 | # DMA |
10 | CONFIG_DMADEVICES=y | 10 | CONFIG_DMADEVICES=y |
11 | CONFIG_XILINX_DMA=y | ||
11 | CONFIG_XILINX_VDMA=y | 12 | CONFIG_XILINX_VDMA=y |
12 | 13 | ||
13 | # Watchdog | 14 | # Watchdog |
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg index 6db1341e..50af2e15 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg | |||
@@ -1,12 +1,18 @@ | |||
1 | 1 | ||
2 | # UART | 2 | # UART |
3 | CONFIG_TTY=y | 3 | CONFIG_TTY=y |
4 | CONFIG_SERIAL_EARLYCON=y | ||
4 | CONFIG_SERIAL_XILINX_PS_UART=y | 5 | CONFIG_SERIAL_XILINX_PS_UART=y |
5 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y | 6 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y |
6 | 7 | ||
7 | # SRAM | 8 | # SRAM |
8 | CONFIG_SRAM=y | 9 | CONFIG_SRAM=y |
9 | 10 | ||
11 | # EDAC | ||
12 | CONFIG_EDAC=y | ||
13 | CONFIG_EDAC_MM_EDAC=y | ||
14 | CONFIG_EDAC_SYNOPSYS=y | ||
15 | |||
10 | # DMA | 16 | # DMA |
11 | CONFIG_DMADEVICES=y | 17 | CONFIG_DMADEVICES=y |
12 | CONFIG_PL330_DMA=y | 18 | CONFIG_PL330_DMA=y |
@@ -44,6 +50,7 @@ CONFIG_CAN_XILINXCAN=y | |||
44 | 50 | ||
45 | # MMC/SD | 51 | # MMC/SD |
46 | CONFIG_MMC=y | 52 | CONFIG_MMC=y |
53 | CONFIG_MMC_BLOCK=y | ||
47 | CONFIG_MMC_SDHCI=y | 54 | CONFIG_MMC_SDHCI=y |
48 | CONFIG_MMC_SDHCI_PLTFM=y | 55 | CONFIG_MMC_SDHCI_PLTFM=y |
49 | CONFIG_MMC_SDHCI_OF_ARASAN=y | 56 | CONFIG_MMC_SDHCI_OF_ARASAN=y |
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg index 0ed616c3..dc69a659 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg | |||
@@ -1,6 +1,14 @@ | |||
1 | 1 | ||
2 | # Bus | ||
3 | CONFIG_ARM_CCI400_PMU=y | ||
4 | |||
5 | # IOMMU | ||
6 | CONFIG_IOMMU_SUPPORT=y | ||
7 | CONFIG_ARM_SMMU=y | ||
8 | |||
2 | # Serial | 9 | # Serial |
3 | CONFIG_TTY=y | 10 | CONFIG_TTY=y |
11 | CONFIG_SERIAL_EARLYCON=y | ||
4 | CONFIG_SERIAL_XILINX_PS_UART=y | 12 | CONFIG_SERIAL_XILINX_PS_UART=y |
5 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y | 13 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y |
6 | 14 | ||
@@ -37,6 +45,8 @@ CONFIG_CAN_XILINXCAN=y | |||
37 | 45 | ||
38 | # SATA | 46 | # SATA |
39 | CONFIG_ATA=y | 47 | CONFIG_ATA=y |
48 | CONFIG_ATA_SFF=y | ||
49 | CONFIG_SATA_AHCI_PLATFORM=y | ||
40 | CONFIG_AHCI_CEVA=y | 50 | CONFIG_AHCI_CEVA=y |
41 | 51 | ||
42 | # MMC/SD | 52 | # MMC/SD |
@@ -52,3 +62,7 @@ CONFIG_USB_XHCI_HCD=y | |||
52 | CONFIG_USB_DWC3=y | 62 | CONFIG_USB_DWC3=y |
53 | CONFIG_USB_GADGET=y | 63 | CONFIG_USB_GADGET=y |
54 | 64 | ||
65 | # DMA | ||
66 | CONFIG_DMA_ENGINE=y | ||
67 | CONFIG_XILINX_ZYNQMP_DMA=y | ||
68 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg index 0703af3a..be79ad7d 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg | |||
@@ -7,3 +7,7 @@ CONFIG_ARCH_ZYNQMP=y | |||
7 | # SMP | 7 | # SMP |
8 | CONFIG_SMP=y | 8 | CONFIG_SMP=y |
9 | 9 | ||
10 | # ARM 32-Bit compatiblity | ||
11 | CONFIG_COMPAT=y | ||
12 | # CONFIG_COMPAT_BRK is not set | ||
13 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc index 1ac78c51..3c223894 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc | |||
@@ -2,7 +2,7 @@ | |||
2 | include cfg/timer/hz_100.scc | 2 | include cfg/timer/hz_100.scc |
3 | 3 | ||
4 | kconf hardware zynqmp.cfg | 4 | kconf hardware zynqmp.cfg |
5 | # include bsp/xilinx/soc/drivers/xilinx.scc | 5 | include bsp/xilinx/soc/drivers/xilinx.scc |
6 | include bsp/xilinx/soc/drivers/zynqmp.scc | 6 | include bsp/xilinx/soc/drivers/zynqmp.scc |
7 | include bsp/xilinx/common.scc | 7 | include bsp/xilinx/common.scc |
8 | 8 | ||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg index e4727976..7b01ea0a 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg | |||
@@ -18,3 +18,6 @@ CONFIG_SPARSE_RCU_POINTER=y | |||
18 | # CONFIG_RCU_TORTURE_TEST not set | 18 | # CONFIG_RCU_TORTURE_TEST not set |
19 | CONFIG_RCU_CPU_STALL_INFO=y | 19 | CONFIG_RCU_CPU_STALL_INFO=y |
20 | 20 | ||
21 | # SYSRQ | ||
22 | CONFIG_MAGIC_SYSRQ=y | ||
23 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg index 2ca111d2..0f66c8bc 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg | |||
@@ -1,7 +1,7 @@ | |||
1 | # CMA | 1 | # CMA |
2 | CONFIG_CMA=y | 2 | CONFIG_CMA=y |
3 | CONFIG_DMA_CMA=y | 3 | CONFIG_DMA_CMA=y |
4 | CONFIG_CMA_SIZE_MBYTES=40 | 4 | CONFIG_CMA_SIZE_MBYTES=128 |
5 | CONFIG_CMA_SIZE_SEL_MBYTES=y | 5 | CONFIG_CMA_SIZE_SEL_MBYTES=y |
6 | CONFIG_CMA_ALIGNMENT=8 | 6 | CONFIG_CMA_ALIGNMENT=8 |
7 | 7 | ||
@@ -10,4 +10,5 @@ CONFIG_DRM=y | |||
10 | CONFIG_DRM_XILINX=y | 10 | CONFIG_DRM_XILINX=y |
11 | 11 | ||
12 | # frame buffer console | 12 | # frame buffer console |
13 | CONFIG_FRAMEBUFFER_CONSOLE=y \ No newline at end of file | 13 | CONFIG_FRAMEBUFFER_CONSOLE=y |
14 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg new file mode 100644 index 00000000..190c3bca --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg | |||
@@ -0,0 +1,3 @@ | |||
1 | CONFIG_TRANSPARENT_HUGEPAGE=y | ||
2 | CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y | ||
3 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc new file mode 100644 index 00000000..395a1ca5 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable Huge Pages support" | ||
2 | define KFEATURE_COMPATIBILITY arch | ||
3 | |||
4 | kconf non-hardware hugepages.cfg | ||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg b/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg deleted file mode 100644 index 8e298861..00000000 --- a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | |||
2 | # Generic SCSI | ||
3 | CONFIG_CHR_DEV_SG=y | ||
4 | # (For linux-xlnx 3.14) | ||
5 | CONFIG_SCSI_MULTI_LUN=y | ||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc b/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc deleted file mode 100644 index ad4a5681..00000000 --- a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable Options for SCSI Generic Support" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconfig hardware scsi-generic.cfg | ||
5 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg b/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg index 6c066070..048ffe49 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg | |||
@@ -1,2 +1,4 @@ | |||
1 | CONFIG_UIO=y | 1 | CONFIG_UIO=y |
2 | CONFIG_UIO_PDRV_GENIRQ=y | 2 | CONFIG_UIO_PDRV_GENIRQ=y |
3 | CONFIG_UIO_DMEM_GENIRQ=y | ||
4 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg index c080d7ed..49a5d6fe 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg | |||
@@ -2,18 +2,22 @@ | |||
2 | CONFIG_MEDIA_SUPPORT=y | 2 | CONFIG_MEDIA_SUPPORT=y |
3 | CONFIG_MEDIA_CAMERA_SUPPORT=y | 3 | CONFIG_MEDIA_CAMERA_SUPPORT=y |
4 | CONFIG_MEDIA_CONTROLLER=y | 4 | CONFIG_MEDIA_CONTROLLER=y |
5 | |||
6 | # V4L | ||
7 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
5 | CONFIG_VIDEO_DEV=y | 8 | CONFIG_VIDEO_DEV=y |
6 | CONFIG_VIDEO_V4L2_SUBDEV_API=y | ||
7 | CONFIG_VIDEO_V4L2=y | 9 | CONFIG_VIDEO_V4L2=y |
10 | CONFIG_VIDEO_V4L2_SUBDEV_API=y | ||
8 | 11 | ||
9 | # Xilinx Video drivers | 12 | # Xilinx Video drivers |
10 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
11 | CONFIG_VIDEO_XILINX=y | 13 | CONFIG_VIDEO_XILINX=y |
12 | CONFIG_VIDEO_XILINX_CFA=y | 14 | CONFIG_VIDEO_XILINX_CFA=y |
13 | CONFIG_VIDEO_XILINX_CRESAMPLE=y | 15 | CONFIG_VIDEO_XILINX_CRESAMPLE=y |
16 | CONFIG_VIDEO_XILINX_HLS=y | ||
14 | CONFIG_VIDEO_XILINX_REMAPPER=y | 17 | CONFIG_VIDEO_XILINX_REMAPPER=y |
15 | CONFIG_VIDEO_XILINX_RGB2YUV=y | 18 | CONFIG_VIDEO_XILINX_RGB2YUV=y |
16 | CONFIG_VIDEO_XILINX_SCALER=y | 19 | CONFIG_VIDEO_XILINX_SCALER=y |
17 | CONFIG_VIDEO_XILINX_SWITCH=y | 20 | CONFIG_VIDEO_XILINX_SWITCH=y |
18 | CONFIG_VIDEO_XILINX_TPG=y | 21 | CONFIG_VIDEO_XILINX_TPG=y |
19 | CONFIG_VIDEO_XILINX_VTC=y | 22 | CONFIG_VIDEO_XILINX_VTC=y |
23 | |||
diff --git a/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg b/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg index 5fae2cb4..e94a9d81 100644 --- a/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg +++ b/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg | |||
@@ -6,4 +6,5 @@ CONFIG_SND_SOC=y | |||
6 | CONFIG_SND_SOC_ADI=y | 6 | CONFIG_SND_SOC_ADI=y |
7 | CONFIG_SND_SOC_ADI_AXI_I2S=y | 7 | CONFIG_SND_SOC_ADI_AXI_I2S=y |
8 | CONFIG_SND_SIMPLE_CARD=y | 8 | CONFIG_SND_SIMPLE_CARD=y |
9 | CONFIG_SND_SOC_SSM2602_I2C=y \ No newline at end of file | 9 | CONFIG_SND_SOC_SSM2602_I2C=y |
10 | |||
diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-xlnx.inc index 4ec8826f..89ce20d7 100644 --- a/recipes-kernel/linux/linux-xlnx.inc +++ b/recipes-kernel/linux/linux-xlnx.inc | |||
@@ -27,5 +27,9 @@ KCONFIG_MODE_zcu102-zynqmp = "alldefconfig" | |||
27 | 27 | ||
28 | KERNEL_FEATURES_append = " bsp/xilinx/soc/linux-xlnx/drivers/xilinx.scc" | 28 | KERNEL_FEATURES_append = " bsp/xilinx/soc/linux-xlnx/drivers/xilinx.scc" |
29 | KERNEL_FEATURES_append_zynq = " bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc" | 29 | KERNEL_FEATURES_append_zynq = " bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc" |
30 | KERNEL_FEATURES_append_zynqmp = " bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc" | 30 | KERNEL_FEATURES_append_zynqmp = " \ |
31 | bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc \ | ||
32 | features/drm/drm-xilinx.scc \ | ||
33 | features/v4l2/v4l2-xilinx.scc \ | ||
34 | " | ||
31 | 35 | ||