From b112f8e8293f3d7c77bc65c60205c9858ffc13aa Mon Sep 17 00:00:00 2001 From: Steffen Trumtrar Date: Tue, 18 Oct 2016 07:43:04 +0000 Subject: [PATCH 1/4] ARM: socfpga: defconfig: enable qspi Signed-off-by: Steffen Trumtrar Signed-off-by: Dinh Nguyen --- arch/arm/configs/socfpga_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig index 9f84be5b3ac5..466050663c86 100644 --- a/arch/arm/configs/socfpga_defconfig +++ b/arch/arm/configs/socfpga_defconfig @@ -50,6 +50,9 @@ CONFIG_CAN_DEBUG_DEVICES=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_MTD=y +CONFIG_MTD_SPI_NOR=y +CONFIG_SPI_CADENCE_QUADSPI=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=2 CONFIG_BLK_DEV_RAM_SIZE=8192 From f767c22c1f2564c85a176b4064bb395273bab906 Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Tue, 25 Oct 2016 10:55:40 -0500 Subject: [PATCH 2/4] ARM: socfpga_defconfig: Enable HIGHMEM All of the SoCFPGA boards have at least 1GB of RAM, so enabling HIGHMEM is necessary to avoid the following warning: [ 0.000000] Truncating RAM at 0x00000000-0x40000000 to -0x30000000 [ 0.000000] Consider using a HIGHMEM enabled kernel. Signed-off-by: Dinh Nguyen --- arch/arm/configs/socfpga_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig index 466050663c86..f5b9bc56214a 100644 --- a/arch/arm/configs/socfpga_defconfig +++ b/arch/arm/configs/socfpga_defconfig @@ -25,6 +25,7 @@ CONFIG_PCIE_ALTERA_MSI=y CONFIG_SMP=y CONFIG_NR_CPUS=2 CONFIG_AEABI=y +CONFIG_HIGHMEM=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_VFP=y From 37a7b3e263353f1d8aa41290331040493681c63d Mon Sep 17 00:00:00 2001 From: Alan Tull Date: Wed, 2 Nov 2016 16:22:36 -0500 Subject: [PATCH 3/4] ARM: socfpga: updates for socfpga_defconfig This patch enables the following in the socfpga_defconfig: +CONFIG_OF_OVERLAY=y Enable support for Device Tree Overlays +CONFIG_FPGA_REGION=y Enable device tree overlay support for FPGA programming +CONFIG_FPGA_MGR_SOCFPGA_A10=y Enable partial reconfiguration for Altera Arria 10 FPGA +CONFIG_FPGA_BRIDGE=y Enable the FPGA Bridges framework +CONFIG_SOCFPGA_FPGA_BRIDGE=y Enable support for SoCFPGA hardware bridges +CONFIG_ALTERA_FREEZE_BRIDGE=y Enable support for the Altera Soft IP Freeze bridges Signed-off-by: Alan Tull --- arch/arm/configs/socfpga_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig index f5b9bc56214a..18d3ec1d2050 100644 --- a/arch/arm/configs/socfpga_defconfig +++ b/arch/arm/configs/socfpga_defconfig @@ -54,6 +54,7 @@ CONFIG_DEVTMPFS_MOUNT=y CONFIG_MTD=y CONFIG_MTD_SPI_NOR=y CONFIG_SPI_CADENCE_QUADSPI=y +CONFIG_OF_OVERLAY=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=2 CONFIG_BLK_DEV_RAM_SIZE=8192 @@ -105,7 +106,12 @@ CONFIG_DMADEVICES=y CONFIG_PL330_DMA=y CONFIG_DMATEST=m CONFIG_FPGA=y +CONFIG_FPGA_REGION=y CONFIG_FPGA_MGR_SOCFPGA=y +CONFIG_FPGA_MGR_SOCFPGA_A10=y +CONFIG_FPGA_BRIDGE=y +CONFIG_SOCFPGA_FPGA_BRIDGE=y +CONFIG_ALTERA_FREEZE_BRIDGE=y CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y From cab004fa972f06b236ba6b592bbb0512d5c6c158 Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Tue, 8 Nov 2016 15:01:22 -0600 Subject: [PATCH 4/4] ARM: socfpga_defconfig: enable FS configs to support Angstrom filesystem systemd on the Angstrom root file system expects AUTOFS to be configured as a module and NFSD to be statically linked into the kernel. This patch adds the necessary configuration to get rid two "FAILED" error messages during systemd startup. Signed-off-by: Matthew Gerlach Signed-off-by: Dinh Nguyen --- v2: provide a more descriptive changelog --- arch/arm/configs/socfpga_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig index 18d3ec1d2050..2e1d254e06a2 100644 --- a/arch/arm/configs/socfpga_defconfig +++ b/arch/arm/configs/socfpga_defconfig @@ -116,13 +116,18 @@ CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT3_FS=y +CONFIG_AUTOFS4_FS=y CONFIG_VFAT_FS=y CONFIG_NTFS_FS=y CONFIG_NTFS_RW=y CONFIG_TMPFS=y CONFIG_CONFIGFS_FS=y CONFIG_NFS_FS=y +CONFIG_NFS_V3_ACL=y CONFIG_ROOT_NFS=y +CONFIG_NFSD=y +CONFIG_NFSD_V3_ACL=y +CONFIG_NFSD_V4=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y CONFIG_PRINTK_TIME=y