From d73045826a0c4dedca1f8a9cff93b2b0b790ac61 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Mon, 6 Mar 2017 21:30:07 +0300 Subject: [PATCH] target/archs38: switch to 4.9 kernel With update of ARC tools to arc-2016.09 based on GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin --- target/linux/archs38/Makefile | 2 +- .../linux/archs38/{config-4.4 => config-4.9} | 55 +++++++++++++------ ...c-Disable-frame-filtering-completely.patch | 0 3 files changed, 39 insertions(+), 18 deletions(-) rename target/linux/archs38/{config-4.4 => config-4.9} (80%) rename target/linux/archs38/{patches-4.4 => patches-4.9}/700-stmmac-Disable-frame-filtering-completely.patch (100%) diff --git a/target/linux/archs38/Makefile b/target/linux/archs38/Makefile index be0d72289310..ef1785217fb6 100644 --- a/target/linux/archs38/Makefile +++ b/target/linux/archs38/Makefile @@ -13,7 +13,7 @@ BOARDNAME:=Synopsys DesignWare ARC HS38 MAINTAINER:=Alexey Brodkin SUBTARGETS:=generic -KERNEL_PATCHVER:=4.4 +KERNEL_PATCHVER:=4.9 DEVICE_TYPE:=developerboard diff --git a/target/linux/archs38/config-4.4 b/target/linux/archs38/config-4.9 similarity index 80% rename from target/linux/archs38/config-4.4 rename to target/linux/archs38/config-4.9 index a09c7c4b61a5..311315e44c5c 100644 --- a/target/linux/archs38/config-4.4 +++ b/target/linux/archs38/config-4.9 @@ -1,9 +1,8 @@ # CONFIG_16KSTACKS is not set CONFIG_ARC=y -CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y +# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set # CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set # CONFIG_ARCH_HAS_SG_CHAIN is not set -CONFIG_ARCH_REQUIRE_GPIOLIB=y CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y CONFIG_ARC_BUILTIN_DTB_NAME="" CONFIG_ARC_CACHE=y @@ -13,23 +12,20 @@ CONFIG_ARC_CACHE_PAGES=y CONFIG_ARC_CPU_HS=y CONFIG_ARC_CURR_IN_REG=y CONFIG_ARC_DBG=y -# CONFIG_ARC_DBG_TLB_MISS_COUNT is not set # CONFIG_ARC_DBG_TLB_PARANOIA is not set CONFIG_ARC_DW2_UNWIND=y CONFIG_ARC_HAS_COH_CACHES=y CONFIG_ARC_HAS_DCACHE=y # CONFIG_ARC_HAS_DCCM is not set CONFIG_ARC_HAS_DIV_REM=y -CONFIG_ARC_HAS_GRTC=y -CONFIG_ARC_HAS_HW_MPY=y +CONFIG_ARC_HAS_GFRC=y CONFIG_ARC_HAS_ICACHE=y # CONFIG_ARC_HAS_ICCM is not set CONFIG_ARC_HAS_LL64=y CONFIG_ARC_HAS_LLSC=y # CONFIG_ARC_HAS_PAE40 is not set -# CONFIG_ARC_HAS_REENTRANT_IRQ_LV2 is not set CONFIG_ARC_HAS_SWAPE=y -# CONFIG_ARC_IPI_DBG is not set +CONFIG_ARC_KVADDR_SIZE=256 CONFIG_ARC_MCIP=y # CONFIG_ARC_METAWARE_HLINK is not set CONFIG_ARC_MMU_V4=y @@ -38,43 +34,50 @@ CONFIG_ARC_NUMBER_OF_INTERRUPTS=32 # CONFIG_ARC_PAGE_SIZE_4K is not set CONFIG_ARC_PAGE_SIZE_8K=y CONFIG_ARC_PLAT_AXS10X=y +# CONFIG_ARC_PLAT_EZNPS is not set CONFIG_ARC_PLAT_SIM=y # CONFIG_ARC_PLAT_TB10X is not set # CONFIG_ARC_SMP_HALT_ON_RESET is not set -CONFIG_ARC_STAR_9000923308=y CONFIG_ARC_UBOOT_SUPPORT=y CONFIG_AXS103=y CONFIG_CLKDEV_LOOKUP=y +CONFIG_CLKSRC_OF=y +CONFIG_CLKSRC_PROBE=y CONFIG_CLONE_BACKWARDS=y CONFIG_COMMON_CLK=y # CONFIG_CPU_BIG_ENDIAN is not set CONFIG_CPU_RMAP=y CONFIG_CRC16=y +CONFIG_CRYPTO_AEAD=y +CONFIG_CRYPTO_AEAD2=y CONFIG_CRYPTO_CRC32C=y CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +CONFIG_CRYPTO_NULL2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_DTC=y CONFIG_DWMAC_GENERIC=y -# CONFIG_DWMAC_SUNXI is not set CONFIG_DW_APB_ICTL=y CONFIG_EXT4_FS=y +# CONFIG_EZNPS_GIC is not set +CONFIG_FIXED_PHY=y CONFIG_FS_MBCACHE=y -CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CSUM=y CONFIG_GENERIC_FIND_FIRST_BIT=y CONFIG_GENERIC_IO=y CONFIG_GENERIC_IRQ_CHIP=y CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_PCI_IOMAP=y CONFIG_GENERIC_PENDING_IRQ=y CONFIG_GENERIC_SMP_IDLE_THREAD=y -# CONFIG_GEN_RTC is not set CONFIG_GPIOLIB=y -CONFIG_GPIO_DEVRES=y CONFIG_GPIO_DWAPB=y CONFIG_GPIO_GENERIC=y +CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_HAS_DMA=y CONFIG_HAS_IOMEM=y # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set @@ -87,9 +90,8 @@ CONFIG_HAVE_CLK=y CONFIG_HAVE_CLK_PREPARE=y CONFIG_HAVE_DEBUG_STACKOVERFLOW=y CONFIG_HAVE_FUTEX_CMPXCHG=y -# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_HAVE_IOREMAP_PROT=y -CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_HAVE_MEMBLOCK=y CONFIG_HAVE_MOD_ARCH_SPECIFIC=y CONFIG_HAVE_NET_DSA=y @@ -104,13 +106,17 @@ CONFIG_IRQ_WORK=y CONFIG_ISA_ARCV2=y CONFIG_JBD2=y CONFIG_KALLSYMS=y +CONFIG_KERNEL_GZIP=y +# CONFIG_LEDS_TRIGGER_MTD is not set CONFIG_LIBFDT=y CONFIG_LINUX_LINK_BASE=0x80000000 CONFIG_LOCK_SPIN_ON_OWNER=y CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y CONFIG_MDIO_BOARDINFO=y +# CONFIG_MDIO_HISI_FEMAC is not set CONFIG_MFD_SYSCON=y +CONFIG_MIGHT_HAVE_PCI=y CONFIG_MMC=y CONFIG_MMC_BLOCK=y CONFIG_MMC_DW=y @@ -120,6 +126,7 @@ CONFIG_MMC_DW_PLTFM=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MODULES_USE_ELF_RELA=y +# CONFIG_MTD_PHYSMAP_OF_VERSATILE is not set CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_NATIONAL_PHY=y # CONFIG_NET_CADENCE is not set @@ -147,8 +154,11 @@ CONFIG_OF_FLATTREE=y CONFIG_OF_GPIO=y CONFIG_OF_IRQ=y CONFIG_OF_MDIO=y -CONFIG_OF_MTD=y CONFIG_OF_NET=y +CONFIG_OF_RESERVED_MEM=y +CONFIG_PADATA=y +# CONFIG_PCI is not set +# CONFIG_PCI_SYSCALL is not set CONFIG_PERF_USE_VMALLOC=y CONFIG_PGTABLE_LEVELS=2 CONFIG_PHYLIB=y @@ -158,15 +168,25 @@ CONFIG_PREEMPT_COUNT=y # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_RCU=y CONFIG_PTP_1588_CLOCK=y +CONFIG_PWRSEQ_EMMC=y +CONFIG_PWRSEQ_SIMPLE=y CONFIG_RATIONAL=y # CONFIG_RCU_BOOST is not set CONFIG_RCU_STALL_COMMON=y CONFIG_REGMAP=y CONFIG_REGMAP_MMIO=y +# CONFIG_RESET_ATH79 is not set +# CONFIG_RESET_BERLIN is not set CONFIG_RESET_CONTROLLER=y +# CONFIG_RESET_LPC18XX is not set +# CONFIG_RESET_MESON is not set +# CONFIG_RESET_PISTACHIO is not set +# CONFIG_RESET_SOCFPGA is not set +# CONFIG_RESET_STM32 is not set +# CONFIG_RESET_SUNXI is not set +# CONFIG_RESET_ZYNQ is not set CONFIG_RFS_ACCEL=y CONFIG_RPS=y -# CONFIG_RTC is not set # CONFIG_SCHED_INFO is not set # CONFIG_SCSI_DMA is not set CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y @@ -178,13 +198,14 @@ CONFIG_SERIAL_ARC=y CONFIG_SERIAL_ARC_CONSOLE=y CONFIG_SERIAL_ARC_NR_PORTS=1 CONFIG_SERIAL_OF_PLATFORM=y +# CONFIG_SG_POOL is not set CONFIG_SMP=y CONFIG_SRCU=y CONFIG_STACKTRACE=y CONFIG_STMMAC_ETH=y CONFIG_STMMAC_PLATFORM=y +CONFIG_SWPHY=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_UNINLINE_SPIN_UNLOCK=y CONFIG_USB_SUPPORT=y CONFIG_XPS=y -CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/archs38/patches-4.4/700-stmmac-Disable-frame-filtering-completely.patch b/target/linux/archs38/patches-4.9/700-stmmac-Disable-frame-filtering-completely.patch similarity index 100% rename from target/linux/archs38/patches-4.4/700-stmmac-Disable-frame-filtering-completely.patch rename to target/linux/archs38/patches-4.9/700-stmmac-Disable-frame-filtering-completely.patch -- 2.30.2