Re: [OpenWrt-Devel] [PATCH 2/2] fstools: allow to customize the mount flags for the overlay
On 18/05/18 16:07, Pierre Lebleu wrote: In order to customize the mount flags, a new CMake option (eg: CMAKE_OVL_MOUNT_FLAGS) has been added. Example: cmake -DCMAKE_OVL_MOUNT_FLAGS="MS_RELATIME" Signed-off-by: Pierre Lebleu--- CMakeLists.txt | 6 ++ libfstools/overlay.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 484d716..4e8b502 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,12 @@ ELSE(DEFINED CMAKE_OVL_MOUNT_OPTION) ADD_DEFINITIONS(-DOVL_MOUNT_OPTION=NULL) ENDIF(DEFINED CMAKE_OVL_MOUNT_OPTION) +IF(DEFINED CMAKE_OVL_MOUNT_FLAGS) + ADD_DEFINITIONS(-DOVL_MOUNT_FLAGS=${CMAKE_OVL_MOUNT_FLAGS}) +ELSE(DEFINED CMAKE_OVL_MOUNT_FLAGS) + ADD_DEFINITIONS(-DOVL_MOUNT_FLAGS=MS_NOATIME) +ENDIF(DEFINED CMAKE_OVL_MOUNT_FLAGS) + Hi Pierre, we use NOATIME by default to reduce flash writes. RELATIME would even increase them. admitedly this is not an issue on some types of storage. rather then using this approach add an option "full access time accounting" or similar, enabling these options. John ADD_EXECUTABLE(mount_root mount_root.c) TARGET_LINK_LIBRARIES(mount_root fstools) INSTALL(TARGETS mount_root RUNTIME DESTINATION sbin) diff --git a/libfstools/overlay.c b/libfstools/overlay.c index 5d5a985..b201679 100644 --- a/libfstools/overlay.c +++ b/libfstools/overlay.c @@ -341,7 +341,7 @@ static int overlay_mount_fs(struct volume *v) return -1; } - if (mount(v->blk, "/tmp/overlay", fstype, MS_NOATIME, OVL_MOUNT_OPTION)) { + if (mount(v->blk, "/tmp/overlay", fstype, OVL_MOUNT_FLAGS, OVL_MOUNT_OPTION)) { ULOG_ERR("failed to mount -t %s %s /tmp/overlay: %m\n", fstype, v->blk); return -1; ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/2] fstools: allow to customize the mount option for the overlay
On 18/05/18 16:07, Pierre Lebleu wrote: In order to give some extra options (specific to the filesystem used), a new CMake option (eg: CMAKE_OVL_MOUNT_OPTION) has been added. Example: cmake -DCMAKE_OVL_MOUNT_OPTION="compr=zlib" Signed-off-by: Pierre Lebleu--- CMakeLists.txt | 6 ++ libfstools/overlay.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e855bd..484d716 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,12 @@ INSTALL(FILES libubi/libubi-tiny.h libubi/libubi.h libubi/ubi-media.h DESTINATION include ) +IF(DEFINED CMAKE_OVL_MOUNT_OPTION) + ADD_DEFINITIONS(-DOVL_MOUNT_OPTION=${CMAKE_OVL_MOUNT_OPTION}) +ELSE(DEFINED CMAKE_OVL_MOUNT_OPTION) + ADD_DEFINITIONS(-DOVL_MOUNT_OPTION=NULL) +ENDIF(DEFINED CMAKE_OVL_MOUNT_OPTION) + Hi Pierre, might be better to has an option compress=y/n John ADD_EXECUTABLE(mount_root mount_root.c) TARGET_LINK_LIBRARIES(mount_root fstools) INSTALL(TARGETS mount_root RUNTIME DESTINATION sbin) diff --git a/libfstools/overlay.c b/libfstools/overlay.c index ebc43f7..5d5a985 100644 --- a/libfstools/overlay.c +++ b/libfstools/overlay.c @@ -341,7 +341,7 @@ static int overlay_mount_fs(struct volume *v) return -1; } - if (mount(v->blk, "/tmp/overlay", fstype, MS_NOATIME, NULL)) { + if (mount(v->blk, "/tmp/overlay", fstype, MS_NOATIME, OVL_MOUNT_OPTION)) { ULOG_ERR("failed to mount -t %s %s /tmp/overlay: %m\n", fstype, v->blk); return -1; ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] brcm2708: config files for 4.14 kernel
On 19/05/18 19:10, Christo Nedev wrote: when resending all your now properly annotated patches, please make sure to send them as a series clearly marked as V2. John Signed-off-by: Christo Nedev--- target/linux/brcm2708/bcm2708/config-4.14 | 385 ++ target/linux/brcm2708/bcm2709/config-4.14 | 423 target/linux/brcm2708/bcm2710/config-4.14 | 446 ++ 3 files changed, 1254 insertions(+) create mode 100644 target/linux/brcm2708/bcm2708/config-4.14 create mode 100644 target/linux/brcm2708/bcm2709/config-4.14 create mode 100644 target/linux/brcm2708/bcm2710/config-4.14 diff --git a/target/linux/brcm2708/bcm2708/config-4.14 b/target/linux/brcm2708/bcm2708/config-4.14 new file mode 100644 index 00..dccf85fac3 --- /dev/null +++ b/target/linux/brcm2708/bcm2708/config-4.14 @@ -0,0 +1,385 @@ +# CONFIG_AIO is not set +CONFIG_ALIGNMENT_TRAP=y +CONFIG_ARCH_BCM=y +CONFIG_ARCH_BCM2835=y +CONFIG_ARCH_CLOCKSOURCE_DATA=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +CONFIG_ARCH_HAS_SG_CHAIN=y +CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y +CONFIG_ARCH_MULTIPLATFORM=y +# CONFIG_ARCH_MULTI_CPU_AUTO is not set +CONFIG_ARCH_MULTI_V6=y +CONFIG_ARCH_MULTI_V6_V7=y +CONFIG_ARCH_NR_GPIO=0 +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y +CONFIG_ARCH_WANT_GENERAL_HUGETLB=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_ARM=y +CONFIG_ARM_AMBA=y +CONFIG_ARM_BCM2835_CPUFREQ=y +CONFIG_ARM_CPU_SUSPEND=y +CONFIG_ARM_ERRATA_411920=y +CONFIG_ARM_HAS_SG_CHAIN=y +CONFIG_ARM_L1_CACHE_SHIFT=5 +CONFIG_ARM_PATCH_PHYS_VIRT=y +# CONFIG_ARM_SCPI_PROTOCOL is not set +# CONFIG_ARM_SP805_WATCHDOG is not set +CONFIG_ARM_THUMB=y +CONFIG_ARM_TIMER_SP804=y +CONFIG_ARM_UNWIND=y +CONFIG_AUTO_ZRELADDR=y +# CONFIG_BACKLIGHT_CLASS_DEVICE is not set +CONFIG_BACKLIGHT_LCD_SUPPORT=y +CONFIG_BCM2708_VCHIQ=y +CONFIG_BCM2708_VCMEM=y +# CONFIG_BCM2835_DEVGPIOMEM is not set +CONFIG_BCM2835_FAST_MEMCPY=y +CONFIG_BCM2835_MBOX=y +# CONFIG_BCM2835_SMI is not set +# CONFIG_BCM2835_THERMAL is not set +CONFIG_BCM2835_TIMER=y +CONFIG_BCM2835_WDT=y +CONFIG_BCM_VCIO=y +CONFIG_BCM_VC_CMA=y +CONFIG_BCM_VC_SM=y +# CONFIG_BINFMT_FLAT is not set +# CONFIG_BLK_DEV_INITRD is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +CONFIG_BLK_DEV_SD=y +CONFIG_BRCM_CHAR_DRIVERS=y +CONFIG_BUILD_BIN2C=y +# CONFIG_CACHE_L2X0 is not set +CONFIG_CLKDEV_LOOKUP=y +CONFIG_CLKSRC_MMIO=y +CONFIG_CLKSRC_OF=y +CONFIG_CLKSRC_PROBE=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_CMA=y +CONFIG_CMA_ALIGNMENT=8 +CONFIG_CMA_AREAS=7 +# CONFIG_CMA_DEBUG is not set +# CONFIG_CMA_DEBUGFS is not set +CONFIG_CMA_SIZE_MBYTES=16 +# CONFIG_CMA_SIZE_SEL_MAX is not set +CONFIG_CMA_SIZE_SEL_MBYTES=y +# CONFIG_CMA_SIZE_SEL_MIN is not set +# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set +CONFIG_COMMON_CLK=y +CONFIG_CONFIGFS_FS=y +CONFIG_CONSOLE_TRANSLATIONS=y +# CONFIG_CPUFREQ_DT is not set +CONFIG_CPU_32v6=y +CONFIG_CPU_32v6K=y +CONFIG_CPU_ABRT_EV6=y +# CONFIG_CPU_BPREDICT_DISABLE is not set +CONFIG_CPU_CACHE_V6=y +CONFIG_CPU_CACHE_VIPT=y +CONFIG_CPU_COPY_V6=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set +CONFIG_CPU_FREQ_GOV_ATTR_SET=y +CONFIG_CPU_FREQ_GOV_COMMON=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_HAS_ASID=y +# CONFIG_CPU_ICACHE_DISABLE is not set +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_CPU_IDLE_GOV_MENU=y +CONFIG_CPU_PABRT_V6=y +CONFIG_CPU_PM=y +# CONFIG_CPU_THERMAL is not set +CONFIG_CPU_TLB_V6=y +CONFIG_CPU_V6K=y +CONFIG_CRC16=y +CONFIG_CRYPTO_CRC32C=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_WORKQUEUE=y +CONFIG_DCACHE_WORD_ACCESS=y +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" +# CONFIG_DEBUG_UART_8250 is not set +# CONFIG_DEBUG_USER is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_IOSCHED="cfq" +CONFIG_DMADEVICES=y +CONFIG_DMA_BCM2708=y +CONFIG_DMA_BCM2835=y +CONFIG_DMA_CMA=y +CONFIG_DMA_ENGINE=y +CONFIG_DMA_OF=y +CONFIG_DMA_VIRTUAL_CHANNELS=y +CONFIG_DNOTIFY=y +CONFIG_DTC=y +CONFIG_DUMMY_CONSOLE=y +CONFIG_EDAC_ATOMIC_SCRUB=y +CONFIG_EDAC_SUPPORT=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_FB=y +CONFIG_FB_BCM2708=y +CONFIG_FB_CFB_COPYAREA=y +CONFIG_FB_CFB_FILLRECT=y
Re: [OpenWrt-Devel] [PATCH] brcm2708: Tethering by default
On 19/05/18 17:38, Christo Nedev wrote: usb0 interface is used by USB-to-ethernet adaptersor smartph one tethering , and they need drivers to work. Just adding the interface does not have any effect. Do you mean these drivers -> kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis? I think it makes more sense to enable the wifi on the raspi zero and zero W by default. Pi Zero has no radio! WIFI can be configured in meny different whays! What about to open SSH port for WAN interface? Raspi 3 have an ethernet port and it works, I think there is no need to add usb0 interface. Many devices have only ethernet ports in OpenWrt. You are right here! When I SSH through LAN how to get connected to the internet? Also, since you are active on these devices, it seems that the wifi on the Pi 3 B+ only needs firmware files extracted from Raspbian to work, maybe you can add that too? See this post https://forum.lede-project.org/t/raspberry-pi-3-b-openwrt-lede-image/13066/32 Saw it long time ago! Last wireless drivers: https://community.cypress.com/servlet/JiveServlet/download/14837-1-34881/cypress-fmac-v4.14-2018_0321.zip Please approve to get ahead. please write a proper description to get ahead John Signed-off-by: Christo Nedev --- target/linux/brcm2708/Makefile | 1 + target/linux/brcm2708/base-files/etc/board.d/02_network | 13 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile index 870029c4c8..4a8b670ba7 100644 --- a/target/linux/brcm2708/Makefile +++ b/target/linux/brcm2708/Makefile @@ -25,6 +25,7 @@ include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += \ brcm2708-gpu-fw \ kmod-usb-hid \ + kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis \ kmod-sound-core kmod-sound-arm-bcm2835 \ kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \ brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini \ diff --git a/target/linux/brcm2708/base-files/etc/board.d/02_network b/target/linux/brcm2708/base-files/etc/board.d/02_network index c8449bb78f..da7a22651b 100755 --- a/target/linux/brcm2708/base-files/etc/board.d/02_network +++ b/target/linux/brcm2708/base-files/etc/board.d/02_network @@ -14,14 +14,25 @@ case "$board" in raspberrypi,model-b |\ raspberrypi,model-b-plus |\ raspberrypi,model-b-rev2 |\ -raspberrypi,2-model-b |\ +raspberrypi,2-model-b) + ucidef_set_interface_lan "eth0" + ucidef_set_interface_wan "usb0" + ;; + raspberrypi,3-model-b |\ raspberrypi,3-model-b-plus) ucidef_set_interface_lan "eth0" + ucidef_set_interface_lan "wlan0" + ucidef_set_interface_wan "usb0" + ;; + +raspberrypi,model-zero) + ucidef_set_interface_wan "usb0" ;; raspberrypi,model-zero-w) ucidef_set_interface_lan "wlan0" + ucidef_set_interface_wan "usb0" ;; esac ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] brcm2708: update brcm2708-gpu-fw
On 19/05/18 16:14, Christo Nedev wrote: Why? Because old one does not boot for Pi 3 b and Pi 3 b+. It is very old as well! please write a proper description John Signed-off-by: Christo Nedev--- package/kernel/brcm2708-gpu-fw/Makefile | 30 +- target/linux/brcm2708/image/Makefile| 2 -- 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/package/kernel/brcm2708-gpu-fw/Makefile b/package/kernel/brcm2708-gpu-fw/Makefile index 9f3d7d3092..61704c7682 100644 --- a/package/kernel/brcm2708-gpu-fw/Makefile +++ b/package/kernel/brcm2708-gpu-fw/Makefile @@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=brcm2708-gpu-fw -PKG_VERSION:=2017-08-08 -PKG_RELEASE:=e7ba7ab135f5a68b2c00a919ea9ac8d5528a5d5b +PKG_VERSION:=2018-05-16 +PKG_RELEASE:=0f5f899ccec1c2ef8bba02aa49700b4ec19b4199 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_RELEASE) @@ -33,7 +33,7 @@ define Download/bootcode_bin FILE:=$(RPI_FIRMWARE_FILE)-bootcode.bin URL:=$(RPI_FIRMWARE_URL) URL_FILE:=bootcode.bin - HASH:=b5928ef5253774362014f9e7de856397a932514fe1bc5d7f7817a73c0e10e863 + HASH:=c9eb5258766fabf7127e790b257f106e2717f0ccaaed37544b970b0d113956fc endef $(eval $(call Download,bootcode_bin)) @@ -41,34 +41,18 @@ define Download/fixup_dat FILE:=$(RPI_FIRMWARE_FILE)-fixup.dat URL:=$(RPI_FIRMWARE_URL) URL_FILE:=fixup.dat - HASH:=d95fcac57de7ab71e863a115fd60444f6099cb2ea100f4a68b2c606f79e775ed + HASH:=8a6311e73d0f349be9b8424db0644fd8f48aaf721f3f2f487488c83d7316cbdf endef $(eval $(call Download,fixup_dat)) -define Download/fixup_cd_dat - FILE:=$(RPI_FIRMWARE_FILE)-fixup_cd.dat - URL:=$(RPI_FIRMWARE_URL) - URL_FILE:=fixup_cd.dat - HASH:=28f3ec8388df4e0c47489f8370a29ca81dbc536fe7db9978342865b5d093ec36 -endef -$(eval $(call Download,fixup_cd_dat)) - define Download/start_elf FILE:=$(RPI_FIRMWARE_FILE)-start.elf URL:=$(RPI_FIRMWARE_URL) URL_FILE:=start.elf - HASH:=8712fb4e241a22f7a33de0f1d420e0fdfff237952aa685c907b91e59c8d487fa + HASH:=8e77c4cce7e44ced609e5046dd55f19cb7656a8ce4694e733b7eb6ecab915fe1 endef $(eval $(call Download,start_elf)) -define Download/start_cd_elf - FILE:=$(RPI_FIRMWARE_FILE)-start_cd.elf - URL:=$(RPI_FIRMWARE_URL) - URL_FILE:=start_cd.elf - HASH:=c600ab34bea389da10aac541bf2f9c62e5f774093b7e1f2f72c4637f9cf3a83c -endef -$(eval $(call Download,start_cd_elf)) - define Package/brcm2708-gpu-fw SECTION:=boot CATEGORY:=Boot Loaders @@ -87,9 +71,7 @@ define Build/Prepare cp $(DL_DIR)/$(RPI_FIRMWARE_FILE)-LICENCE.broadcom $(PKG_BUILD_DIR)/LICENCE.broadcom cp $(DL_DIR)/$(RPI_FIRMWARE_FILE)-bootcode.bin $(PKG_BUILD_DIR)/bootcode.bin cp $(DL_DIR)/$(RPI_FIRMWARE_FILE)-fixup.dat $(PKG_BUILD_DIR)/fixup.dat - cp $(DL_DIR)/$(RPI_FIRMWARE_FILE)-fixup_cd.dat $(PKG_BUILD_DIR)/fixup_cd.dat cp $(DL_DIR)/$(RPI_FIRMWARE_FILE)-start.elf $(PKG_BUILD_DIR)/start.elf - cp $(DL_DIR)/$(RPI_FIRMWARE_FILE)-start_cd.elf $(PKG_BUILD_DIR)/start_cd.elf endef define Build/Compile @@ -104,9 +86,7 @@ define Build/InstallDev $(CP) $(PKG_BUILD_DIR)/bootcode.bin $(KERNEL_BUILD_DIR) $(CP) $(PKG_BUILD_DIR)/LICENCE.broadcom $(KERNEL_BUILD_DIR) $(CP) $(PKG_BUILD_DIR)/start.elf $(KERNEL_BUILD_DIR) - $(CP) $(PKG_BUILD_DIR)/start_cd.elf $(KERNEL_BUILD_DIR) $(CP) $(PKG_BUILD_DIR)/fixup.dat $(KERNEL_BUILD_DIR) - $(CP) $(PKG_BUILD_DIR)/fixup_cd.dat $(KERNEL_BUILD_DIR) endef $(eval $(call BuildPackage,brcm2708-gpu-fw)) diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 326ef5a0ee..c2c973648d 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -28,9 +28,7 @@ define Build/boot-img mcopy -i $@.boot $(KDIR)/bootcode.bin :: mcopy -i $@.boot $(KDIR)/LICENCE.broadcom :: mcopy -i $@.boot $(KDIR)/start.elf :: - mcopy -i $@.boot $(KDIR)/start_cd.elf :: mcopy -i $@.boot $(KDIR)/fixup.dat :: - mcopy -i $@.boot $(KDIR)/fixup_cd.dat :: mcopy -i $@.boot cmdline.txt :: mcopy -i $@.boot config.txt :: mcopy -i $@.boot $(IMAGE_KERNEL) ::$(KERNEL_IMG) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] openssl: Upgrade to 1.1.0h
On 19/05/18 02:41, Eneas U de Queiroz via openwrt-devel wrote: The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel Hi, please send a full series with the ssl update and all other required patches. I dont want to pull them all out of patchwork manually just to find that i missed one. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why nftables does not work in OpenWrt ?
On 05/20/2018 12:25 PM, Rosysong wrote: > I am using mips(ramips) target. > > I tested this with lantiq and with kernel 4.9 nftables was working like expected and with kernel 4.14 it does not work any more. I do not know if this is caused by the more recent kernel or the flow offloading. Hauke ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] libevent2: Make it build using OpenSSL 1.1.0
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- This is a backport of @kroeckx patch that was merged in libevent release-2.1.7-rc. Signed-off-by: Eneas U de Queiroz--- .../0001-Make-it-build-using-OpenSSL-1.1.0.patch | 202 + 1 file changed, 202 insertions(+) create mode 100644 package/libs/libevent2/patches/0001-Make-it-build-using-OpenSSL-1.1.0.patch diff --git a/package/libs/libevent2/patches/0001-Make-it-build-using-OpenSSL-1.1.0.patch b/package/libs/libevent2/patches/0001-Make-it-build-using-OpenSSL-1.1.0.patch new file mode 100644 index 00..fb9ad06eb6 --- /dev/null +++ b/package/libs/libevent2/patches/0001-Make-it-build-using-OpenSSL-1.1.0.patch @@ -0,0 +1,202 @@ +From 9982da6a9ed9156172bb09e18c54cd94e5ceb9a4 Mon Sep 17 00:00:00 2001 +From: Eneas U de Queiroz +Date: Mon, 21 May 2018 10:23:52 -0300 +Subject: [PATCH] Make it build using OpenSSL 1.1.0 + +This is a backport of @kroeckx patch that was merged in +release-2.1.7-rc: + +Rebased (azat): +- tabs instead of whitespaces +- make openssl-compat.h safe for complex expressions +- do not call sk_SSL_COMP_free() in 1.1 (fixes double free) + +Signed-off-by: Eneas U de Queiroz +--- + bufferevent_openssl.c | 62 +-- + openssl-compat.h | 33 +++ + 2 files changed, 63 insertions(+), 32 deletions(-) + create mode 100644 openssl-compat.h + +diff --git a/bufferevent_openssl.c b/bufferevent_openssl.c +index 7582d9b4..5b177f0b 100644 +--- a/bufferevent_openssl.c b/bufferevent_openssl.c +@@ -60,6 +60,7 @@ + #include + #include + #include ++#include "openssl-compat.h" + + /* + * Define an OpenSSL bio that targets a bufferevent. +@@ -103,10 +104,8 @@ print_err(int val) + static int + bio_bufferevent_new(BIO *b) + { +- b->init = 0; +- b->num = -1; +- b->ptr = NULL; /* We'll be putting the bufferevent in this field.*/ +- b->flags = 0; ++ BIO_set_init(b, 0); ++ BIO_set_data(b, NULL); /* We'll be putting the bufferevent in this field.*/ + return 1; + } + +@@ -116,12 +115,10 @@ bio_bufferevent_free(BIO *b) + { + if (!b) + return 0; +- if (b->shutdown) { +- if (b->init && b->ptr) +- bufferevent_free(b->ptr); +- b->init = 0; +- b->flags = 0; +- b->ptr = NULL; ++ if (BIO_get_shutdown(b)) { ++ if (BIO_get_init(b) && BIO_get_data(b)) ++ bufferevent_free(BIO_get_data(b)); ++ BIO_free(b); + } + return 1; + } +@@ -137,10 +134,10 @@ bio_bufferevent_read(BIO *b, char *out, int outlen) + + if (!out) + return 0; +- if (!b->ptr) ++ if (!BIO_get_data(b)) + return -1; + +- input = bufferevent_get_input(b->ptr); ++ input = bufferevent_get_input(BIO_get_data(b)); + if (evbuffer_get_length(input) == 0) { + /* If there's no data to read, say so. */ + BIO_set_retry_read(b); +@@ -156,13 +153,13 @@ bio_bufferevent_read(BIO *b, char *out, int outlen) + static int + bio_bufferevent_write(BIO *b, const char *in, int inlen) + { +- struct bufferevent *bufev = b->ptr; ++ struct bufferevent *bufev = BIO_get_data(b); + struct evbuffer *output; + size_t outlen; + + BIO_clear_retry_flags(b); + +- if (!b->ptr) ++ if (!BIO_get_data(b)) + return -1; + + output = bufferevent_get_output(bufev); +@@ -188,15 +185,15 @@ bio_bufferevent_write(BIO *b, const char *in, int inlen) + static long + bio_bufferevent_ctrl(BIO *b, int cmd, long num, void *ptr) + { +- struct bufferevent *bufev = b->ptr; ++ struct bufferevent *bufev = BIO_get_data(b); + long ret = 1; + + switch (cmd) { + case BIO_CTRL_GET_CLOSE: +- ret = b->shutdown; ++ ret = BIO_get_shutdown(b); + break; + case BIO_CTRL_SET_CLOSE: +- b->shutdown = (int)num; ++ BIO_set_shutdown(b, (int)num); + break; + case BIO_CTRL_PENDING: + ret = evbuffer_get_length(bufferevent_get_input(bufev)) != 0; +@@ -225,23 +222,24 @@ bio_bufferevent_puts(BIO *b, const char *s) + } + + /* Method table for the bufferevent BIO */ +-static BIO_METHOD methods_bufferevent = { +- BIO_TYPE_LIBEVENT, "bufferevent", +- bio_bufferevent_write, +- bio_bufferevent_read, +- bio_bufferevent_puts, +- NULL /* bio_bufferevent_gets */, +- bio_bufferevent_ctrl, +- bio_bufferevent_new, +- bio_bufferevent_free, +- NULL /* callback_ctrl */, +-};
[OpenWrt-Devel] [PATCH] arc770: remove source-only
In commit 8b9cdebc9c53 ("arc770: mark as source-only") arc770 was marked as source-only because of iproute2 compile issues. With uClibc-ng version 1.0.30 issues with iproute2 were fixed. Lets remove "source-only" for arc770 as soon as uClibc-ng version will be updated to 1.0.30. Patch for uClibc-ng is here: https://patchwork.ozlabs.org/patch/917547/ Signed-off-by: Evgeniy DidinCc: Alexey Brodkin Cc: Hauke Mehrtens Cc: John Crispin --- target/linux/arc770/generic/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/arc770/generic/target.mk b/target/linux/arc770/generic/target.mk index 2ca59b579b..5a7595d65a 100644 --- a/target/linux/arc770/generic/target.mk +++ b/target/linux/arc770/generic/target.mk @@ -1,5 +1,5 @@ BOARDNAME:=Generic -FEATURES += ramdisk usb ext4 source-only +FEATURES += ramdisk usb ext4 define Target/Description Build firmware images for generic ARC 770D based boards. -- 2.16.2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] (no subject)
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Since upgrading to 2.1.8 is a no-go, I'll try a backport of an upstream patch. --- End Message --- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] ar71xx: Fix build for dap-1330-a1 board
Using a version number of 16 character causes a buffer overflow in the version number overwriting the first bit of the signature in the mkdapimg2 tool. I am not sure if the version number should be null terminated or not. This patch reduces the size of the version number by removing the number of private commits from it. This was the original version number which caused problems: OpenWrt-r6727+10 Now it uses this version number: OpenWrt-r6727 Signed-off-by: Hauke Mehrtens--- target/linux/ar71xx/image/generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index a0f6326145..020e01f85a 100644 --- a/target/linux/ar71xx/image/generic.mk +++ b/target/linux/ar71xx/image/generic.mk @@ -36,7 +36,7 @@ define Build/mkdapimg2 $(STAGING_DIR_HOST)/bin/mkdapimg2 \ -i $@ -o $@.new \ -s $(DAP_SIGNATURE) \ - -v $(VERSION_DIST)-$(firstword $(subst -, ,$(REVISION))) \ + -v $(VERSION_DIST)-$(firstword $(subst +, ,$(firstword $(subst -, ,$(REVISION) \ -r Default \ $(if $(1),-k $(1)) mv $@.new $@ -- 2.11.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] brcm2708: nvram file for 43455
There is already similar file for 43430. Actually it is no needed for all devices as well. I just fallow a model for now! Sent from iPhone! > On 21 May 2018, at 05:30, Rafał Miłeckiwrote: > >> On 19 May 2018 at 19:20, Christo Nedev wrote: >> Signed-off-by: Christo Nedev > > While filename is chipset specific, this file is actually device > specific. So your brcmfmac43455-sdio.txt is for a specific device and > should not be used for all BCM43455 chipsets. We need to somehow store > it in our repo as device specific and copy/use only for a proper > device. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH][ustream-ssl] mbedtls: Fix setting allowed cipher suites
The cipher suites should be set after the default settings are done, otherwise the settings will be overwritten with the defaults later on again. Also make the list of supported cipher suites match what Chrome tries to use. Signed-off-by: Hauke Mehrtens--- ustream-mbedtls.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/ustream-mbedtls.c b/ustream-mbedtls.c index 0b747d2..9b22ad2 100644 --- a/ustream-mbedtls.c +++ b/ustream-mbedtls.c @@ -87,21 +87,17 @@ static int _urandom(void *ctx, unsigned char *out, size_t len) } #define TLS_DEFAULT_CIPHERS\ -TLS_CIPHER(AES_256_CBC_SHA256) \ -TLS_CIPHER(AES_256_GCM_SHA384) \ -TLS_CIPHER(AES_256_CBC_SHA)\ -TLS_CIPHER(CAMELLIA_256_CBC_SHA256)\ -TLS_CIPHER(CAMELLIA_256_CBC_SHA) \ -TLS_CIPHER(AES_128_CBC_SHA256) \ TLS_CIPHER(AES_128_GCM_SHA256) \ +TLS_CIPHER(AES_256_GCM_SHA384) \ TLS_CIPHER(AES_128_CBC_SHA)\ -TLS_CIPHER(CAMELLIA_128_CBC_SHA256)\ -TLS_CIPHER(CAMELLIA_128_CBC_SHA) \ +TLS_CIPHER(AES_256_CBC_SHA)\ TLS_CIPHER(3DES_EDE_CBC_SHA) static const int default_ciphersuites_nodhe[] = { #define TLS_CIPHER(v) \ + MBEDTLS_TLS_ECDHE_ECDSA_WITH_##v, \ + MBEDTLS_TLS_ECDHE_RSA_WITH_##v, \ MBEDTLS_TLS_RSA_WITH_##v, TLS_DEFAULT_CIPHERS #undef TLS_CIPHER @@ -111,6 +107,8 @@ static const int default_ciphersuites_nodhe[] = static const int default_ciphersuites[] = { #define TLS_CIPHER(v) \ + MBEDTLS_TLS_ECDHE_ECDSA_WITH_##v, \ + MBEDTLS_TLS_ECDHE_RSA_WITH_##v, \ MBEDTLS_TLS_DHE_RSA_WITH_##v, \ MBEDTLS_TLS_RSA_WITH_##v, TLS_DEFAULT_CIPHERS @@ -147,19 +145,18 @@ __ustream_ssl_context_new(bool server) conf = >conf; mbedtls_ssl_config_init(conf); - if (server) { - mbedtls_ssl_conf_ciphersuites(conf, default_ciphersuites_nodhe); - ep = MBEDTLS_SSL_IS_SERVER; - } else { - mbedtls_ssl_conf_ciphersuites(conf, default_ciphersuites); - ep = MBEDTLS_SSL_IS_CLIENT; - } + ep = server ? MBEDTLS_SSL_IS_SERVER : MBEDTLS_SSL_IS_CLIENT; mbedtls_ssl_config_defaults(conf, ep, MBEDTLS_SSL_TRANSPORT_STREAM, MBEDTLS_SSL_PRESET_DEFAULT); mbedtls_ssl_conf_authmode(conf, MBEDTLS_SSL_VERIFY_NONE); mbedtls_ssl_conf_rng(conf, _urandom, NULL); + if (server) + mbedtls_ssl_conf_ciphersuites(conf, default_ciphersuites_nodhe); + else + mbedtls_ssl_conf_ciphersuites(conf, default_ciphersuites); + #if defined(MBEDTLS_SSL_CACHE_C) mbedtls_ssl_conf_session_cache(conf, >cache, mbedtls_ssl_cache_get, -- 2.11.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH][ustream-ssl] mbedtls: Add support for a session cache
This allows the client to reuse the settings from a previous session and no full key exchange is needed. The partially key exchange takes less than 0.1 seconds compared to over a second needed for a full key exchange. Signed-off-by: Hauke Mehrtens--- ustream-mbedtls.c | 14 ++ ustream-mbedtls.h | 7 +++ 2 files changed, 21 insertions(+) diff --git a/ustream-mbedtls.c b/ustream-mbedtls.c index e176afe..0b747d2 100644 --- a/ustream-mbedtls.c +++ b/ustream-mbedtls.c @@ -138,6 +138,12 @@ __ustream_ssl_context_new(bool server) mbedtls_x509_crt_init(>cert); mbedtls_x509_crt_init(>ca_cert); +#if defined(MBEDTLS_SSL_CACHE_C) + mbedtls_ssl_cache_init(>cache); + mbedtls_ssl_cache_set_timeout(>cache, 30 * 60); + mbedtls_ssl_cache_set_max_entries(>cache, 5); +#endif + conf = >conf; mbedtls_ssl_config_init(conf); @@ -154,6 +160,11 @@ __ustream_ssl_context_new(bool server) mbedtls_ssl_conf_authmode(conf, MBEDTLS_SSL_VERIFY_NONE); mbedtls_ssl_conf_rng(conf, _urandom, NULL); +#if defined(MBEDTLS_SSL_CACHE_C) + mbedtls_ssl_conf_session_cache(conf, >cache, + mbedtls_ssl_cache_get, + mbedtls_ssl_cache_set); +#endif return ctx; } @@ -214,6 +225,9 @@ __hidden int __ustream_ssl_set_key_file(struct ustream_ssl_ctx *ctx, const char __hidden void __ustream_ssl_context_free(struct ustream_ssl_ctx *ctx) { +#if defined(MBEDTLS_SSL_CACHE_C) + mbedtls_ssl_cache_free(>cache); +#endif mbedtls_pk_free(>key); mbedtls_x509_crt_free(>ca_cert); mbedtls_x509_crt_free(>cert); diff --git a/ustream-mbedtls.h b/ustream-mbedtls.h index a489867..70bd4ea 100644 --- a/ustream-mbedtls.h +++ b/ustream-mbedtls.h @@ -28,11 +28,18 @@ #include #include +#if defined(MBEDTLS_SSL_CACHE_C) +#include +#endif + struct ustream_ssl_ctx { mbedtls_ssl_config conf; mbedtls_pk_context key; mbedtls_x509_crt ca_cert; mbedtls_x509_crt cert; +#if defined(MBEDTLS_SSL_CACHE_C) + mbedtls_ssl_cache_context cache; +#endif bool server; }; -- 2.11.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/3] mbedtls: update to version 2.9.0
The soversion was changed in this version again and is now aligned with the 2.7.2 version. The size of the ipkg file stayed mostly the same. Signed-off-by: Hauke Mehrtens--- package/libs/mbedtls/Makefile | 4 +- package/libs/mbedtls/patches/200-config.patch | 53 ++- package/libs/ustream-ssl/Makefile | 2 +- package/network/services/openvpn/Makefile | 2 +- package/network/utils/curl/Makefile | 2 +- package/utils/px5g/Makefile | 2 +- 6 files changed, 34 insertions(+), 31 deletions(-) diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile index 8ac4e3b13e..8e0a480e40 100644 --- a/package/libs/mbedtls/Makefile +++ b/package/libs/mbedtls/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mbedtls -PKG_VERSION:=2.8.0 +PKG_VERSION:=2.9.0 PKG_RELEASE:=1 PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz PKG_SOURCE_URL:=https://tls.mbed.org/download/ -PKG_HASH:=649eb27187154590edda52943a7f468e740ec08807e5bf68ff45f4e8ffd68923 +PKG_HASH:=361837d0d8d4e178ac51ea1a4eacfbc0c57ea3cafb460fd6b46a1f4223a4e151 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0+ diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch index 70ef95477c..eb2ba5f81b 100644 --- a/package/libs/mbedtls/patches/200-config.patch +++ b/package/libs/mbedtls/patches/200-config.patch @@ -1,6 +1,6 @@ --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h -@@ -566,17 +566,17 @@ +@@ -599,19 +599,19 @@ * * Comment macros to disable the curve and functions for it */ @@ -24,9 +24,12 @@ +//#define MBEDTLS_ECP_DP_BP384R1_ENABLED +//#define MBEDTLS_ECP_DP_BP512R1_ENABLED #define MBEDTLS_ECP_DP_CURVE25519_ENABLED +-#define MBEDTLS_ECP_DP_CURVE448_ENABLED ++//#define MBEDTLS_ECP_DP_CURVE448_ENABLED /** -@@ -601,8 +601,8 @@ + * \def MBEDTLS_ECP_NIST_OPTIM +@@ -635,8 +635,8 @@ * Requires: MBEDTLS_HMAC_DRBG_C * * Comment this macro to disable deterministic ECDSA. @@ -36,7 +39,7 @@ /** * \def MBEDTLS_KEY_EXCHANGE_PSK_ENABLED -@@ -655,7 +655,7 @@ +@@ -689,7 +689,7 @@ * See dhm.h for more details. * */ @@ -45,7 +48,7 @@ /** * \def MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED -@@ -674,8 +674,8 @@ +@@ -708,8 +708,8 @@ * MBEDTLS_TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 * MBEDTLS_TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA * MBEDTLS_TLS_ECDHE_PSK_WITH_RC4_128_SHA @@ -55,7 +58,7 @@ /** * \def MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED -@@ -700,7 +700,7 @@ +@@ -734,7 +734,7 @@ * MBEDTLS_TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA * MBEDTLS_TLS_RSA_PSK_WITH_RC4_128_SHA */ @@ -64,7 +67,7 @@ /** * \def MBEDTLS_KEY_EXCHANGE_RSA_ENABLED -@@ -834,7 +834,7 @@ +@@ -868,7 +868,7 @@ * MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 * MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 */ @@ -73,7 +76,7 @@ /** * \def MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED -@@ -858,7 +858,7 @@ +@@ -892,7 +892,7 @@ * MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256 * MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384 */ @@ -82,7 +85,7 @@ /** * \def MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED -@@ -962,7 +962,7 @@ +@@ -996,7 +996,7 @@ * This option is only useful if both MBEDTLS_SHA256_C and * MBEDTLS_SHA512_C are defined. Otherwise the available hash module is used. */ @@ -91,7 +94,7 @@ /** * \def MBEDTLS_ENTROPY_NV_SEED -@@ -1057,14 +1057,14 @@ +@@ -1091,14 +1091,14 @@ * Uncomment this macro to disable the use of CRT in RSA. * */ @@ -108,7 +111,7 @@ /** * \def MBEDTLS_SHA256_SMALLER -@@ -1080,7 +1080,7 @@ +@@ -1114,7 +1114,7 @@ * * Uncomment to enable the smaller implementation of SHA256. */ @@ -117,7 +120,7 @@ /** * \def MBEDTLS_SSL_ALL_ALERT_MESSAGES -@@ -1207,7 +1207,7 @@ +@@ -1241,7 +1241,7 @@ * configuration of this extension). * */ @@ -126,7 +129,7 @@ /** * \def MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO -@@ -1381,8 +1381,8 @@ +@@ -1415,8 +1415,8 @@ * callbacks are provided by MBEDTLS_SSL_TICKET_C. * * Comment this macro to disable support for SSL session tickets @@ -136,7 +139,7 @@ /** * \def MBEDTLS_SSL_EXPORT_KEYS -@@ -1412,7 +1412,7 @@ +@@ -1446,7 +1446,7 @@ * * Comment this macro to disable support for truncated HMAC in SSL */ @@ -145,7 +148,7 @@ /** * \def MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT -@@ -1470,8 +1470,8 @@ +@@ -1504,8 +1504,8 @@ * Requires: MBEDTLS_VERSION_C * * Comment this to disable run-time checking and save ROM space @@ -155,7 +158,7 @@ /** * \def MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 -@@ -1801,7 +1801,7 @@ +@@ -1835,7 +1835,7 @@ * MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256 * MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256 */ @@ -164,7 +167,7 @@ /** * \def
[OpenWrt-Devel] [PATCH 2/3] mbedtls: Activate the session cache
This make sit possible to store informations about a session and reuse it later. When used by a server it increases the time to create a new TLS session from about 1 second to less than 0.1 seconds. The size of the ipkg file increased by about 800 Bytes. Signed-off-by: Hauke Mehrtens--- package/libs/mbedtls/patches/200-config.patch | 10 -- 1 file changed, 10 deletions(-) diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch index eb2ba5f81b..8a98941c2a 100644 --- a/package/libs/mbedtls/patches/200-config.patch +++ b/package/libs/mbedtls/patches/200-config.patch @@ -222,16 +222,6 @@ /** * \def MBEDTLS_RSA_C -@@ -2483,8 +2483,8 @@ - * Caller: - * - * Requires: MBEDTLS_SSL_CACHE_C -- */ - #define MBEDTLS_SSL_CACHE_C -+ */ - - /** - * \def MBEDTLS_SSL_COOKIE_C @@ -2505,8 +2505,8 @@ * Caller: * -- 2.11.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 3/3] mbedtls: Deactivate platform abstraction
This makes mbedtls use the POSIX API directly and not use the own abstraction layer. The size of the ipkg decreased by about 100 bytes. Signed-off-by: Hauke Mehrtens--- package/libs/mbedtls/patches/200-config.patch | 9 + 1 file changed, 9 insertions(+) diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch index 8a98941c2a..7bd0711e2c 100644 --- a/package/libs/mbedtls/patches/200-config.patch +++ b/package/libs/mbedtls/patches/200-config.patch @@ -213,6 +213,15 @@ /** * \def MBEDTLS_MD_C +@@ -2388,7 +2388,7 @@ + * + * This module enables abstraction of common (libc) functions. + */ +-#define MBEDTLS_PLATFORM_C ++//#define MBEDTLS_PLATFORM_C + + /** + * \def MBEDTLS_RIPEMD160_C @@ -2399,7 +2399,7 @@ * Caller: library/md.c * -- 2.11.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] adb: added patch for openssl 1.1.0 compatibility
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Signed-off-by: Eneas U de Queiroz--- package/utils/adb/patches/010-openssl-1.1.patch | 28 + 1 file changed, 28 insertions(+) create mode 100644 package/utils/adb/patches/010-openssl-1.1.patch diff --git a/package/utils/adb/patches/010-openssl-1.1.patch b/package/utils/adb/patches/010-openssl-1.1.patch new file mode 100644 index 00..e4df372a34 --- /dev/null +++ b/package/utils/adb/patches/010-openssl-1.1.patch @@ -0,0 +1,28 @@ +--- a/adb/adb_auth_host.c b/adb/adb_auth_host.c +@@ -83,7 +83,13 @@ static int RSA_to_RSAPublicKey(RSA *rsa, + } + + BN_set_bit(r32, 32); ++#if OPENSSL_VERSION_NUMBER >= 0x1010L ++const BIGNUM *rsa_n, *rsa_e; ++RSA_get0_key(rsa, _n, _e, NULL); ++BN_copy(n, rsa_n); ++#else + BN_copy(n, rsa->n); ++#endif + BN_set_bit(r, RSANUMWORDS * 32); + BN_mod_sqr(rr, r, n, ctx); + BN_div(NULL, rem, n, r32, ctx); +@@ -97,7 +103,11 @@ static int RSA_to_RSAPublicKey(RSA *rsa, + BN_div(n, rem, n, r32, ctx); + pkey->n[i] = BN_get_word(rem); + } ++#if OPENSSL_VERSION_NUMBER >= 0x1010L ++pkey->exponent = BN_get_word(rsa_e); ++#else + pkey->exponent = BN_get_word(rsa->e); ++#endif + + out: + BN_free(n0inv); -- 2.16.1 --- End Message --- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] uClibc-ng: update to 1.0.30
uClibc-ng 1.0.28 does not provide PF_VSOCK/AF_VSOCK definitions, which causes iproute2 v4.16.0 compile errors. In commit 57f2f80383b5 ("bits/socket.h: add missing defines") necessary defines were included and iproute2 builds fine. This commit now is part of uClibc-ng 1.0.30. Lets update uClibc-ng to latest 1.0.30 version. Signed-off-by: Evgeniy DidinCc: Alexey Brodkin Cc: Hauke Mehrtens Cc: John Crispin --- toolchain/uClibc/common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk index 1600b790c1..b561fa1b1e 100644 --- a/toolchain/uClibc/common.mk +++ b/toolchain/uClibc/common.mk @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk -PKG_VERSION:=1.0.28 +PKG_VERSION:=1.0.30 PKG_NAME:=uClibc-ng PKG_SOURCE_URL = http://downloads.uclibc-ng.org/releases/$(PKG_VERSION)/ @@ -16,7 +16,7 @@ CONFIG_DIR:=$(PATH_PREFIX)/config PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz LIBC_SO_VERSION:=$(PKG_VERSION) -PKG_HASH:=a1504ddc34a29cc9bfd1f5a7419c4b63bb510d9e2faed81618d1b596ceb0a5a9 +PKG_HASH:=992bd9a2889ea385902b87e3d3d30603741eb16728288fbf537ff2027f770496 HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)-$(PKG_VERSION) -- 2.16.2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 2/2] modify the header of the mach-gl-ar750s.c
Hi, I don't see a reason why you would not put these changes into your first patch right away? Thanks, Hartmut Luochongjun schrieb am 21.05.2018 um 04:08: > --- > target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c > b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c > index 8457a0c..b556f9b 100755 > --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c > +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c > @@ -1,9 +1,7 @@ > /* > - * Ubiquiti UniFi AC (LITE) board support > + * GL.iNet GL-AR750S board support > * > - * Copyright (C) 2015-2016 P. Wassi > - * > - * Derived from: mach-ubnt-xm.c > + * Copyright (C) 2018 luochongjun> * > * This program is free software; you can redistribute it and/or modify it > * under the terms of the GNU General Public License version 2 as published > 0x03684A18FAC89148.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 3/3] ath25: drop 4.9 kernel support
--- target/linux/ath25/config-4.9 | 156 -- .../linux/ath25/patches-4.9/107-ar5312_gpio.patch | 212 --- .../linux/ath25/patches-4.9/108-ar2315_gpio.patch | 363 .../ath25/patches-4.9/110-ar2313_ethernet.patch| 1734 target/linux/ath25/patches-4.9/120-spiflash.patch | 634 --- target/linux/ath25/patches-4.9/130-watchdog.patch | 277 .../patches-4.9/140-redboot_boardconfig.patch | 60 - .../patches-4.9/141-redboot_partition_scan.patch | 44 - .../142-redboot_various_erase_size_fix.patch | 72 - .../linux/ath25/patches-4.9/210-reset_button.patch | 71 - .../patches-4.9/220-enet_micrel_workaround.patch | 111 -- .../linux/ath25/patches-4.9/330-board_leds.patch | 116 -- 12 files changed, 3850 deletions(-) delete mode 100644 target/linux/ath25/config-4.9 delete mode 100644 target/linux/ath25/patches-4.9/107-ar5312_gpio.patch delete mode 100644 target/linux/ath25/patches-4.9/108-ar2315_gpio.patch delete mode 100644 target/linux/ath25/patches-4.9/110-ar2313_ethernet.patch delete mode 100644 target/linux/ath25/patches-4.9/120-spiflash.patch delete mode 100644 target/linux/ath25/patches-4.9/130-watchdog.patch delete mode 100644 target/linux/ath25/patches-4.9/140-redboot_boardconfig.patch delete mode 100644 target/linux/ath25/patches-4.9/141-redboot_partition_scan.patch delete mode 100644 target/linux/ath25/patches-4.9/142-redboot_various_erase_size_fix.patch delete mode 100644 target/linux/ath25/patches-4.9/210-reset_button.patch delete mode 100644 target/linux/ath25/patches-4.9/220-enet_micrel_workaround.patch delete mode 100644 target/linux/ath25/patches-4.9/330-board_leds.patch diff --git a/target/linux/ath25/config-4.9 b/target/linux/ath25/config-4.9 deleted file mode 100644 index bc28b8892c..00 --- a/target/linux/ath25/config-4.9 +++ /dev/null @@ -1,156 +0,0 @@ -CONFIG_ADM6996_PHY=y -CONFIG_AR2315_WDT=y -CONFIG_AR8216_PHY=y -CONFIG_ARCH_BINFMT_ELF_STATE=y -CONFIG_ARCH_CLOCKSOURCE_DATA=y -CONFIG_ARCH_DISCARD_MEMBLOCK=y -CONFIG_ARCH_HAS_ELF_RANDOMIZE=y -# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set -# CONFIG_ARCH_HAS_SG_CHAIN is not set -CONFIG_ARCH_HIBERNATION_POSSIBLE=y -CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y -CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y -CONFIG_ARCH_SUPPORTS_UPROBES=y -CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_ARCH_USE_BUILTIN_BSWAP=y -CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y -CONFIG_ATH25=y -CONFIG_BLK_MQ_PCI=y -CONFIG_CEVT_R4K=y -CONFIG_CLONE_BACKWARDS=y -CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2" -CONFIG_CMDLINE_BOOL=y -# CONFIG_CMDLINE_OVERRIDE is not set -CONFIG_CPU_BIG_ENDIAN=y -CONFIG_CPU_GENERIC_DUMP_TLB=y -CONFIG_CPU_HAS_PREFETCH=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_CPU_MIPS32=y -CONFIG_CPU_MIPS32_R1=y -CONFIG_CPU_MIPSR1=y -CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y -CONFIG_CPU_R4K_CACHE_TLB=y -CONFIG_CPU_R4K_FPU=y -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -CONFIG_CRYPTO_RNG2=y -CONFIG_CRYPTO_WORKQUEUE=y -CONFIG_CSRC_R4K=y -CONFIG_DMA_NONCOHERENT=y -CONFIG_EARLY_PRINTK=y -CONFIG_ETHERNET_PACKET_MANGLE=y -CONFIG_GENERIC_ATOMIC64=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_CMOS_UPDATE=y -CONFIG_GENERIC_IO=y -CONFIG_GENERIC_IRQ_CHIP=y -CONFIG_GENERIC_IRQ_SHOW=y -CONFIG_GENERIC_PCI_IOMAP=y -CONFIG_GENERIC_SCHED_CLOCK=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_GENERIC_TIME_VSYSCALL=y -CONFIG_GPIOLIB=y -CONFIG_GPIO_AR2315=y -CONFIG_GPIO_AR5312=y -CONFIG_GPIO_SYSFS=y -CONFIG_HANDLE_DOMAIN_IRQ=y -CONFIG_HARDWARE_WATCHPOINTS=y -CONFIG_HAS_DMA=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT_MAP=y -# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set -# CONFIG_HAVE_ARCH_BITREVERSE is not set -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_HAVE_ARCH_KGDB=y -CONFIG_HAVE_ARCH_SECCOMP_FILTER=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set -CONFIG_HAVE_CBPF_JIT=y -CONFIG_HAVE_CC_STACKPROTECTOR=y -CONFIG_HAVE_CONTEXT_TRACKING=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_HAVE_DEBUG_KMEMLEAK=y -CONFIG_HAVE_DEBUG_STACKOVERFLOW=y -CONFIG_HAVE_DMA_API_DEBUG=y -CONFIG_HAVE_DMA_CONTIGUOUS=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_GENERIC_DMA_COHERENT=y -CONFIG_HAVE_IDE=y -CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y -CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y -CONFIG_HAVE_LATENCYTOP_SUPPORT=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_HAVE_MEMBLOCK_NODE_MAP=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_HAVE_NET_DSA=y -CONFIG_HAVE_OPROFILE=y -CONFIG_HAVE_PERF_EVENTS=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y -CONFIG_HW_HAS_PCI=y -CONFIG_HW_RANDOM=y -CONFIG_HZ_PERIODIC=y -CONFIG_INITRAMFS_SOURCE="" -CONFIG_IP17XX_PHY=y -CONFIG_IRQ_DOMAIN=y -CONFIG_IRQ_FORCED_THREADING=y -CONFIG_IRQ_MIPS_CPU=y -CONFIG_IRQ_WORK=y -CONFIG_LEDS_GPIO=y -CONFIG_MDIO_BOARDINFO=y -CONFIG_MIPS=y -CONFIG_MIPS_ASID_BITS=8
[OpenWrt-Devel] [PATCH 1/3] ath25: add kernel 4.14 support
Copy and refresh patches and config from 4.9, no more work is need. Signed-off-by: Sergey Ryazanov--- target/linux/ath25/config-4.14 | 171 ++ .../linux/ath25/patches-4.14/107-ar5312_gpio.patch | 212 +++ .../linux/ath25/patches-4.14/108-ar2315_gpio.patch | 363 .../ath25/patches-4.14/110-ar2313_ethernet.patch | 1734 target/linux/ath25/patches-4.14/120-spiflash.patch | 634 +++ target/linux/ath25/patches-4.14/130-watchdog.patch | 277 .../patches-4.14/140-redboot_boardconfig.patch | 60 + .../patches-4.14/141-redboot_partition_scan.patch | 44 + .../142-redboot_various_erase_size_fix.patch | 72 + .../ath25/patches-4.14/210-reset_button.patch | 71 + .../patches-4.14/220-enet_micrel_workaround.patch | 111 ++ .../linux/ath25/patches-4.14/330-board_leds.patch | 116 ++ 12 files changed, 3865 insertions(+) create mode 100644 target/linux/ath25/config-4.14 create mode 100644 target/linux/ath25/patches-4.14/107-ar5312_gpio.patch create mode 100644 target/linux/ath25/patches-4.14/108-ar2315_gpio.patch create mode 100644 target/linux/ath25/patches-4.14/110-ar2313_ethernet.patch create mode 100644 target/linux/ath25/patches-4.14/120-spiflash.patch create mode 100644 target/linux/ath25/patches-4.14/130-watchdog.patch create mode 100644 target/linux/ath25/patches-4.14/140-redboot_boardconfig.patch create mode 100644 target/linux/ath25/patches-4.14/141-redboot_partition_scan.patch create mode 100644 target/linux/ath25/patches-4.14/142-redboot_various_erase_size_fix.patch create mode 100644 target/linux/ath25/patches-4.14/210-reset_button.patch create mode 100644 target/linux/ath25/patches-4.14/220-enet_micrel_workaround.patch create mode 100644 target/linux/ath25/patches-4.14/330-board_leds.patch diff --git a/target/linux/ath25/config-4.14 b/target/linux/ath25/config-4.14 new file mode 100644 index 00..4d3f0c697e --- /dev/null +++ b/target/linux/ath25/config-4.14 @@ -0,0 +1,171 @@ +CONFIG_ADM6996_PHY=y +CONFIG_AR2315_WDT=y +CONFIG_AR8216_PHY=y +CONFIG_ARCH_BINFMT_ELF_STATE=y +CONFIG_ARCH_CLOCKSOURCE_DATA=y +CONFIG_ARCH_DISCARD_MEMBLOCK=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set +# CONFIG_ARCH_HAS_SG_CHAIN is not set +# CONFIG_ARCH_HAS_STRICT_KERNEL_RWX is not set +# CONFIG_ARCH_HAS_STRICT_MODULE_RWX is not set +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y +CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y +CONFIG_ARCH_MMAP_RND_BITS_MAX=15 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15 +# CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set +# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_ARCH_USE_QUEUED_RWLOCKS=y +CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_ATH25=y +CONFIG_BLK_MQ_PCI=y +CONFIG_CEVT_R4K=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2" +CONFIG_CMDLINE_BOOL=y +# CONFIG_CMDLINE_OVERRIDE is not set +CONFIG_CPU_BIG_ENDIAN=y +CONFIG_CPU_GENERIC_DUMP_TLB=y +CONFIG_CPU_HAS_PREFETCH=y +CONFIG_CPU_HAS_SYNC=y +CONFIG_CPU_MIPS32=y +CONFIG_CPU_MIPS32_R1=y +CONFIG_CPU_MIPSR1=y +CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y +CONFIG_CPU_R4K_CACHE_TLB=y +CONFIG_CPU_R4K_FPU=y +CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y +CONFIG_CPU_SUPPORTS_HIGHMEM=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_WORKQUEUE=y +CONFIG_CSRC_R4K=y +CONFIG_DMA_NONCOHERENT=y +CONFIG_EARLY_PRINTK=y +CONFIG_ETHERNET_PACKET_MANGLE=y +CONFIG_GENERIC_ATOMIC64=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CMOS_UPDATE=y +CONFIG_GENERIC_CPU_AUTOPROBE=y +CONFIG_GENERIC_IO=y +CONFIG_GENERIC_IRQ_CHIP=y +CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_SCHED_CLOCK=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_GENERIC_TIME_VSYSCALL=y +CONFIG_GPIOLIB=y +CONFIG_GPIO_AR2315=y +CONFIG_GPIO_AR5312=y +CONFIG_GPIO_SYSFS=y +# CONFIG_GRO_CELLS is not set +CONFIG_HANDLE_DOMAIN_IRQ=y +CONFIG_HARDWARE_WATCHPOINTS=y +CONFIG_HAS_DMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT_MAP=y +# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set +# CONFIG_HAVE_ARCH_BITREVERSE is not set +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set +CONFIG_HAVE_CBPF_JIT=y +CONFIG_HAVE_CC_STACKPROTECTOR=y +CONFIG_HAVE_CONTEXT_TRACKING=y +CONFIG_HAVE_COPY_THREAD_TLS=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_HAVE_DEBUG_KMEMLEAK=y +CONFIG_HAVE_DEBUG_STACKOVERFLOW=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_HAVE_IDE=y +CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
[OpenWrt-Devel] [PATCH 0/3] ath25: update kernel from 4.9 to 4.14
Hello, this series switches ath25 to kernel v4.14. Almost copy'n'refresh work. The series depends on erlier submitted fixes for kernel configuration. The whole series is run-tested with the following boards: * Abicom FreedomCPE (AR5312 based) * D-Link DWL-2100AP (AR2312 based) * Fonera 2.0g aka FON2202 (AR2315 based) * D-Link DIR-300 (AR2317 based) Sergey Ryazanov (3): ath25: add kernel 4.14 support ath25: switch to 4.14 kernel ath25: drop 4.9 kernel support target/linux/ath25/Makefile | 2 +- target/linux/ath25/{config-4.9 => config-4.14} | 17 - .../{patches-4.9 => patches-4.14}/107-ar5312_gpio.patch | 8 .../{patches-4.9 => patches-4.14}/108-ar2315_gpio.patch | 8 .../110-ar2313_ethernet.patch | 10 +- .../{patches-4.9 => patches-4.14}/120-spiflash.patch| 6 +++--- .../{patches-4.9 => patches-4.14}/130-watchdog.patch| 4 ++-- .../140-redboot_boardconfig.patch | 0 .../141-redboot_partition_scan.patch| 0 .../142-redboot_various_erase_size_fix.patch| 0 .../210-reset_button.patch | 2 +- .../220-enet_micrel_workaround.patch| 0 .../{patches-4.9 => patches-4.14}/330-board_leds.patch | 0 13 files changed, 36 insertions(+), 21 deletions(-) rename target/linux/ath25/{config-4.9 => config-4.14} (88%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/107-ar5312_gpio.patch (97%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/108-ar2315_gpio.patch (98%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/110-ar2313_ethernet.patch (99%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/120-spiflash.patch (99%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/130-watchdog.patch (98%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/140-redboot_boardconfig.patch (100%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/141-redboot_partition_scan.patch (100%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/142-redboot_various_erase_size_fix.patch (100%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/210-reset_button.patch (97%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/220-enet_micrel_workaround.patch (100%) rename target/linux/ath25/{patches-4.9 => patches-4.14}/330-board_leds.patch (100%) -- 2.16.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 2/3] ath25: switch to 4.14 kernel
Signed-off-by: Sergey Ryazanov--- target/linux/ath25/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath25/Makefile b/target/linux/ath25/Makefile index 27c2639659..cb8b7ec1be 100644 --- a/target/linux/ath25/Makefile +++ b/target/linux/ath25/Makefile @@ -12,7 +12,7 @@ BOARDNAME:=Atheros AR231x/AR5312 FEATURES:=squashfs low_mem small_flash MAINTAINER:=Sergey Ryazanov -KERNEL_PATCHVER:=4.9 +KERNEL_PATCHVER:=4.14 define Target/Description Build firmware images for Atheros SoC boards -- 2.16.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 6/6] kernel: enable THIN_ARCHIVES by default
THIN_ARCHIVES option is enabled by default in the kernel configuration and no one target config disables it. So enable it by default and remove this symbol from target specific configs to keep them light. Signed-off-by: Sergey Ryazanov--- target/linux/apm821xx/config-4.14 | 1 - target/linux/archs38/config-4.14 | 1 - target/linux/ath79/config-4.14 | 1 - target/linux/bcm53xx/config-4.14 | 1 - target/linux/brcm47xx/config-4.14 | 1 - target/linux/brcm63xx/config-4.14 | 1 - target/linux/cns3xxx/config-4.14 | 1 - target/linux/gemini/config-4.14| 1 - target/linux/generic/config-4.14 | 1 + target/linux/imx6/config-4.14 | 1 - target/linux/ipq40xx/config-4.14 | 1 - target/linux/kirkwood/config-4.14 | 1 - target/linux/lantiq/config-4.14| 1 - target/linux/mediatek/config-4.14 | 1 - target/linux/mvebu/config-4.14 | 1 - target/linux/mxs/config-4.14 | 1 - target/linux/octeon/config-4.14| 1 - target/linux/octeontx/config-4.14 | 1 - target/linux/pistachio/config-4.14 | 1 - target/linux/ramips/mt7620/config-4.14 | 1 - target/linux/ramips/mt76x8/config-4.14 | 1 - target/linux/ramips/rt288x/config-4.14 | 1 - target/linux/ramips/rt3883/config-4.14 | 1 - target/linux/sunxi/config-4.14 | 1 - target/linux/x86/config-4.14 | 1 - 25 files changed, 1 insertion(+), 24 deletions(-) diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index c3ca04d5ca..c756c8a4f9 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -347,7 +347,6 @@ CONFIG_SWPHY=y CONFIG_SYSCTL_EXCEPTION_TRACE=y # CONFIG_TAISHAN is not set CONFIG_TASK_SIZE=0xc000 -CONFIG_THIN_ARCHIVES=y CONFIG_THREAD_SHIFT=13 CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TINY_SRCU=y diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.14 index 21bbd0710c..21983479b0 100644 --- a/target/linux/archs38/config-4.14 +++ b/target/linux/archs38/config-4.14 @@ -199,7 +199,6 @@ CONFIG_STMMAC_ETH=y CONFIG_STMMAC_PLATFORM=y CONFIG_SWPHY=y CONFIG_TASKS_RCU=y -CONFIG_THIN_ARCHIVES=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index dc869ba282..f64a02b9b2 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -232,7 +232,6 @@ CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y CONFIG_SYS_SUPPORTS_MIPS16=y CONFIG_SYS_SUPPORTS_ZBOOT=y CONFIG_SYS_SUPPORTS_ZBOOT_UART_PROM=y -CONFIG_THIN_ARCHIVES=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TINY_SRCU=y CONFIG_USB_SUPPORT=y diff --git a/target/linux/bcm53xx/config-4.14 b/target/linux/bcm53xx/config-4.14 index 2971fa7150..c9371aca34 100644 --- a/target/linux/bcm53xx/config-4.14 +++ b/target/linux/bcm53xx/config-4.14 @@ -335,7 +335,6 @@ CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 CONFIG_THERMAL_GOV_STEP_WISE=y CONFIG_THERMAL_OF=y -CONFIG_THIN_ARCHIVES=y # CONFIG_THUMB2_KERNEL is not set CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y diff --git a/target/linux/brcm47xx/config-4.14 b/target/linux/brcm47xx/config-4.14 index aa273b149d..d26ef6426f 100644 --- a/target/linux/brcm47xx/config-4.14 +++ b/target/linux/brcm47xx/config-4.14 @@ -208,7 +208,6 @@ CONFIG_SYS_SUPPORTS_ARBIT_HZ=y CONFIG_SYS_SUPPORTS_HIGHMEM=y CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y CONFIG_SYS_SUPPORTS_MIPS16=y -CONFIG_THIN_ARCHIVES=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TINY_SRCU=y CONFIG_USB_SUPPORT=y diff --git a/target/linux/brcm63xx/config-4.14 b/target/linux/brcm63xx/config-4.14 index 6073575bdc..2a001952ee 100644 --- a/target/linux/brcm63xx/config-4.14 +++ b/target/linux/brcm63xx/config-4.14 @@ -272,7 +272,6 @@ CONFIG_SYS_SUPPORTS_ARBIT_HZ=y CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y CONFIG_SYS_SUPPORTS_SMP=y -CONFIG_THIN_ARCHIVES=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TINY_SRCU=y CONFIG_USB_SUPPORT=y diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index 407b30b4a3..ba6d0caa0b 100644 --- a/target/linux/cns3xxx/config-4.14 +++ b/target/linux/cns3xxx/config-4.14 @@ -351,7 +351,6 @@ CONFIG_SRCU=y CONFIG_SWIOTLB=y CONFIG_SWPHY=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y -CONFIG_THIN_ARCHIVES=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index b1737309c0..7f093ae977 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -408,7 +408,6 @@ CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 CONFIG_THERMAL_GOV_STEP_WISE=y CONFIG_THERMAL_HWMON=y CONFIG_THERMAL_OF=y -CONFIG_THIN_ARCHIVES=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TIMER_OF=y CONFIG_TIMER_PROBE=y diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index
[OpenWrt-Devel] [PATCH 3/6] kernel: disable DRM_LIB_RANDOM by default
DRM_LIB_RANDOM config symbol selected only by DRM_DEBUG_MM_SELFTEST which is disable by default, so disable DRM_LIB_RANDOM by default too. Signed-off-by: Sergey Ryazanov--- target/linux/apm821xx/config-4.14 | 1 - target/linux/archs38/config-4.14 | 1 - target/linux/ath79/config-4.14 | 1 - target/linux/bcm53xx/config-4.14 | 1 - target/linux/brcm47xx/config-4.14 | 1 - target/linux/brcm63xx/config-4.14 | 1 - target/linux/cns3xxx/config-4.14 | 1 - target/linux/gemini/config-4.14| 1 - target/linux/generic/config-4.14 | 1 + target/linux/imx6/config-4.14 | 1 - target/linux/ipq40xx/config-4.14 | 1 - target/linux/kirkwood/config-4.14 | 1 - target/linux/lantiq/config-4.14| 1 - target/linux/mediatek/config-4.14 | 1 - target/linux/mvebu/config-4.14 | 1 - target/linux/mxs/config-4.14 | 1 - target/linux/octeon/config-4.14| 1 - target/linux/octeontx/config-4.14 | 1 - target/linux/pistachio/config-4.14 | 1 - target/linux/ramips/mt7620/config-4.14 | 1 - target/linux/ramips/mt76x8/config-4.14 | 1 - target/linux/ramips/rt288x/config-4.14 | 1 - target/linux/ramips/rt3883/config-4.14 | 1 - target/linux/sunxi/config-4.14 | 1 - target/linux/x86/config-4.14 | 1 - 25 files changed, 1 insertion(+), 24 deletions(-) diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index 2b8dc45c3d..b8523d1849 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -90,7 +90,6 @@ CONFIG_CRYPTO_SHA256=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_DECOMPRESS_GZIP=y # CONFIG_DEFAULT_UIMAGE is not set -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y # CONFIG_E200 is not set CONFIG_EARLY_PRINTK=y diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.14 index f7d9351855..391ce80dc3 100644 --- a/target/linux/archs38/config-4.14 +++ b/target/linux/archs38/config-4.14 @@ -61,7 +61,6 @@ CONFIG_CRYPTO_MANAGER2=y CONFIG_CRYPTO_NULL2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_DWMAC_ANARION=y # CONFIG_DWMAC_DWC_QOS_ETH is not set diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index 605a9b4e4a..61f3aea26c 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -54,7 +54,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_ETHERNET_PACKET_MANGLE=y diff --git a/target/linux/bcm53xx/config-4.14 b/target/linux/bcm53xx/config-4.14 index b0417df9e9..db49a2de0f 100644 --- a/target/linux/bcm53xx/config-4.14 +++ b/target/linux/bcm53xx/config-4.14 @@ -127,7 +127,6 @@ CONFIG_DEBUG_UART_PHYS=0x18000300 CONFIG_DEBUG_UART_VIRT=0xf1000300 CONFIG_DEBUG_UNCOMPRESS=y CONFIG_DEBUG_USER=y -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_EDAC_ATOMIC_SCRUB=y diff --git a/target/linux/brcm47xx/config-4.14 b/target/linux/brcm47xx/config-4.14 index 190608f4ea..6e164a726d 100644 --- a/target/linux/brcm47xx/config-4.14 +++ b/target/linux/brcm47xx/config-4.14 @@ -66,7 +66,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -# CONFIG_DRM_LIB_RANDOM is not set # CONFIG_EARLY_PRINTK is not set CONFIG_EXPORTFS=y CONFIG_FIXED_PHY=y diff --git a/target/linux/brcm63xx/config-4.14 b/target/linux/brcm63xx/config-4.14 index d306a98dc5..20c3262dd1 100644 --- a/target/linux/brcm63xx/config-4.14 +++ b/target/linux/brcm63xx/config-4.14 @@ -74,7 +74,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_EXPORTFS=y diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index 16f32c1037..a1673b5f66 100644 --- a/target/linux/cns3xxx/config-4.14 +++ b/target/linux/cns3xxx/config-4.14 @@ -93,7 +93,6 @@ CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" # CONFIG_DEBUG_UART_8250 is not set # CONFIG_DEBUG_USER is not set CONFIG_DMA_CACHE_FIQ_BROADCAST=y -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index 0255a85309..48f37dd13d 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -138,7 +138,6 @@ CONFIG_DMA_ENGINE_RAID=y CONFIG_DMA_OF=y CONFIG_DMA_SHARED_BUFFER=y CONFIG_DMA_VIRTUAL_CHANNELS=y -# CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_DUMMY_CONSOLE=y CONFIG_EDAC_ATOMIC_SCRUB=y diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index 9fa4bbd1f3..032db368b3 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14 @@ -1170,6
[OpenWrt-Devel] [PATCH 5/6] kernel: enable FUTEX_PI by default
New FUTEX_PI configuration symbol enabled if FUTEX and RT_MUTEX symbols are enabled. Both of these symbols are enabled by default in the generic config, so enable FUTEX_PI by default too to keep platform specific configs minimal. Signed-off-by: Sergey Ryazanov--- target/linux/apm821xx/config-4.14 | 1 - target/linux/archs38/config-4.14 | 1 - target/linux/ath79/config-4.14 | 1 - target/linux/bcm53xx/config-4.14 | 1 - target/linux/brcm47xx/config-4.14 | 1 - target/linux/brcm63xx/config-4.14 | 1 - target/linux/cns3xxx/config-4.14 | 1 - target/linux/gemini/config-4.14| 1 - target/linux/generic/config-4.14 | 1 + target/linux/imx6/config-4.14 | 1 - target/linux/ipq40xx/config-4.14 | 1 - target/linux/kirkwood/config-4.14 | 1 - target/linux/lantiq/config-4.14| 1 - target/linux/mediatek/config-4.14 | 1 - target/linux/mvebu/config-4.14 | 1 - target/linux/mxs/config-4.14 | 1 - target/linux/octeon/config-4.14| 1 - target/linux/octeontx/config-4.14 | 1 - target/linux/pistachio/config-4.14 | 1 - target/linux/ramips/mt7620/config-4.14 | 1 - target/linux/ramips/mt76x8/config-4.14 | 1 - target/linux/ramips/rt288x/config-4.14 | 1 - target/linux/ramips/rt3883/config-4.14 | 1 - target/linux/sunxi/config-4.14 | 1 - target/linux/x86/config-4.14 | 1 - 25 files changed, 1 insertion(+), 24 deletions(-) diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index 06aa760a2e..c3ca04d5ca 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -104,7 +104,6 @@ CONFIG_FIXED_PHY=y CONFIG_FREEZER=y # CONFIG_FSL_LBC is not set # CONFIG_FSL_ULI1575 is not set -CONFIG_FUTEX_PI=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_CLOCKEVENTS=y diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.14 index d7b62c56b4..21bbd0710c 100644 --- a/target/linux/archs38/config-4.14 +++ b/target/linux/archs38/config-4.14 @@ -70,7 +70,6 @@ CONFIG_EXT4_FS=y # CONFIG_EZNPS_GIC is not set CONFIG_FIXED_PHY=y CONFIG_FS_MBCACHE=y -CONFIG_FUTEX_PI=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CSUM=y CONFIG_GENERIC_FIND_FIRST_BIT=y diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index e2c69768ee..dc869ba282 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -58,7 +58,6 @@ CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_ETHERNET_PACKET_MANGLE=y CONFIG_FIXED_PHY=y -CONFIG_FUTEX_PI=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CMOS_UPDATE=y diff --git a/target/linux/bcm53xx/config-4.14 b/target/linux/bcm53xx/config-4.14 index 5c22702a19..2971fa7150 100644 --- a/target/linux/bcm53xx/config-4.14 +++ b/target/linux/bcm53xx/config-4.14 @@ -135,7 +135,6 @@ CONFIG_EXTCON=y CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_FRAME_POINTER=y -CONFIG_FUTEX_PI=y # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_ARCH_TOPOLOGY=y diff --git a/target/linux/brcm47xx/config-4.14 b/target/linux/brcm47xx/config-4.14 index 47b7f6c940..aa273b149d 100644 --- a/target/linux/brcm47xx/config-4.14 +++ b/target/linux/brcm47xx/config-4.14 @@ -68,7 +68,6 @@ CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y # CONFIG_EARLY_PRINTK is not set CONFIG_FIXED_PHY=y -CONFIG_FUTEX_PI=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CMOS_UPDATE=y diff --git a/target/linux/brcm63xx/config-4.14 b/target/linux/brcm63xx/config-4.14 index 8394ead7d6..6073575bdc 100644 --- a/target/linux/brcm63xx/config-4.14 +++ b/target/linux/brcm63xx/config-4.14 @@ -78,7 +78,6 @@ CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_FIXED_PHY=y -CONFIG_FUTEX_PI=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CMOS_UPDATE=y diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index 7533430610..407b30b4a3 100644 --- a/target/linux/cns3xxx/config-4.14 +++ b/target/linux/cns3xxx/config-4.14 @@ -102,7 +102,6 @@ CONFIG_FIQ=y CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_FRAME_POINTER=y -CONFIG_FUTEX_PI=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_CLOCKEVENTS=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index d3baf9f765..b1737309c0 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -159,7 +159,6 @@ CONFIG_FS_MBCACHE=y CONFIG_FS_POSIX_ACL=y CONFIG_FTTMR010_TIMER=y CONFIG_FTWDT010_WATCHDOG=y -CONFIG_FUTEX_PI=y # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set CONFIG_GEMINI_ETHERNET=y CONFIG_GENERIC_ALLOCATOR=y diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index e0cc123067..7c947aa3cf 100644 --- a/target/linux/generic/config-4.14 +++
[OpenWrt-Devel] [PATCH 4/6] kernel: enable EXPORTFS by default
OVERLAY_FS config symbol selects EXPORTFS since 4.12 kernel, we have OVERLAY_FS enabled by default, so enable EXPORTFS in the generic config of 4.14 and remove this option from platform specific configs. Signed-off-by: Sergey Ryazanov--- target/linux/apm821xx/config-4.14 | 1 - target/linux/archs38/config-4.14 | 1 - target/linux/ath79/config-4.14 | 1 - target/linux/bcm53xx/config-4.14 | 1 - target/linux/brcm47xx/config-4.14 | 1 - target/linux/brcm63xx/config-4.14 | 1 - target/linux/cns3xxx/config-4.14 | 1 - target/linux/gemini/config-4.14| 1 - target/linux/generic/config-4.14 | 2 +- target/linux/imx6/config-4.14 | 1 - target/linux/ipq40xx/config-4.14 | 1 - target/linux/kirkwood/config-4.14 | 1 - target/linux/lantiq/config-4.14| 1 - target/linux/mediatek/config-4.14 | 1 - target/linux/mvebu/config-4.14 | 1 - target/linux/octeon/config-4.14| 1 - target/linux/octeontx/config-4.14 | 1 - target/linux/omap/config-4.14 | 1 - target/linux/pistachio/config-4.14 | 1 - target/linux/ramips/mt7620/config-4.14 | 1 - target/linux/ramips/mt76x8/config-4.14 | 1 - target/linux/ramips/rt288x/config-4.14 | 1 - target/linux/ramips/rt3883/config-4.14 | 1 - target/linux/sunxi/config-4.14 | 1 - target/linux/x86/config-4.14 | 1 - 25 files changed, 1 insertion(+), 25 deletions(-) diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index b8523d1849..06aa760a2e 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -98,7 +98,6 @@ CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y # CONFIG_EIGER is not set # CONFIG_EPAPR_BOOT is not set -CONFIG_EXPORTFS=y CONFIG_EXTRA_TARGETS="uImage" CONFIG_FIXED_PHY=y # CONFIG_FORCE_SMP is not set diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.14 index 391ce80dc3..d7b62c56b4 100644 --- a/target/linux/archs38/config-4.14 +++ b/target/linux/archs38/config-4.14 @@ -66,7 +66,6 @@ CONFIG_DWMAC_ANARION=y # CONFIG_DWMAC_DWC_QOS_ETH is not set CONFIG_DWMAC_GENERIC=y CONFIG_DW_APB_ICTL=y -CONFIG_EXPORTFS=y CONFIG_EXT4_FS=y # CONFIG_EZNPS_GIC is not set CONFIG_FIXED_PHY=y diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index 61f3aea26c..e2c69768ee 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -57,7 +57,6 @@ CONFIG_DMA_NONCOHERENT=y CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_ETHERNET_PACKET_MANGLE=y -CONFIG_EXPORTFS=y CONFIG_FIXED_PHY=y CONFIG_FUTEX_PI=y CONFIG_GENERIC_ATOMIC64=y diff --git a/target/linux/bcm53xx/config-4.14 b/target/linux/bcm53xx/config-4.14 index db49a2de0f..5c22702a19 100644 --- a/target/linux/bcm53xx/config-4.14 +++ b/target/linux/bcm53xx/config-4.14 @@ -131,7 +131,6 @@ CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y -CONFIG_EXPORTFS=y CONFIG_EXTCON=y CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y diff --git a/target/linux/brcm47xx/config-4.14 b/target/linux/brcm47xx/config-4.14 index 6e164a726d..47b7f6c940 100644 --- a/target/linux/brcm47xx/config-4.14 +++ b/target/linux/brcm47xx/config-4.14 @@ -67,7 +67,6 @@ CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y # CONFIG_EARLY_PRINTK is not set -CONFIG_EXPORTFS=y CONFIG_FIXED_PHY=y CONFIG_FUTEX_PI=y CONFIG_GENERIC_ATOMIC64=y diff --git a/target/linux/brcm63xx/config-4.14 b/target/linux/brcm63xx/config-4.14 index 20c3262dd1..8394ead7d6 100644 --- a/target/linux/brcm63xx/config-4.14 +++ b/target/linux/brcm63xx/config-4.14 @@ -76,7 +76,6 @@ CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y CONFIG_DTC=y CONFIG_EARLY_PRINTK=y -CONFIG_EXPORTFS=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_FIXED_PHY=y CONFIG_FUTEX_PI=y diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index a1673b5f66..7533430610 100644 --- a/target/linux/cns3xxx/config-4.14 +++ b/target/linux/cns3xxx/config-4.14 @@ -98,7 +98,6 @@ CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y CONFIG_EEPROM_AT24=y CONFIG_ELF_CORE=y -CONFIG_EXPORTFS=y CONFIG_FIQ=y CONFIG_FIXED_PHY=y CONFIG_FIX_EARLYCON_MEM=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index 48f37dd13d..d3baf9f765 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -147,7 +147,6 @@ CONFIG_ELF_CORE=y # CONFIG_EMBEDDED is not set # CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_EXPERT is not set -CONFIG_EXPORTFS=y CONFIG_EXT4_FS=y CONFIG_FARADAY_FTINTC010=y CONFIG_FHANDLE=y diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index 032db368b3..e0cc123067 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14 @@ -1272,7 +1272,7 @@ CONFIG_ETHERNET=y # CONFIG_ETHOC is not set CONFIG_EVENTFD=y CONFIG_EXPERT=y -# CONFIG_EXPORTFS is not set
[OpenWrt-Devel] [PATCH 1/6] kernel: disable ARCH_WANTS_THP_SWAP by default
Only one arch (x86_64) enables this option. So disable ARCH_WANTS_THP_SWAP by default and remove referencies to it from all configs (except x86_64) to make them clean. Signed-off-by: Sergey Ryazanov--- target/linux/apm821xx/config-4.14 | 1 - target/linux/archs38/config-4.14 | 1 - target/linux/ath79/config-4.14 | 1 - target/linux/bcm53xx/config-4.14 | 1 - target/linux/brcm47xx/config-4.14 | 1 - target/linux/brcm63xx/config-4.14 | 1 - target/linux/cns3xxx/config-4.14 | 1 - target/linux/gemini/config-4.14| 1 - target/linux/generic/config-4.14 | 1 + target/linux/imx6/config-4.14 | 1 - target/linux/ipq40xx/config-4.14 | 1 - target/linux/kirkwood/config-4.14 | 1 - target/linux/lantiq/config-4.14| 1 - target/linux/mediatek/config-4.14 | 1 - target/linux/mvebu/config-4.14 | 1 - target/linux/mxs/config-4.14 | 1 - target/linux/octeon/config-4.14| 1 - target/linux/octeontx/config-4.14 | 1 - target/linux/pistachio/config-4.14 | 1 - target/linux/ramips/mt7620/config-4.14 | 1 - target/linux/ramips/mt76x8/config-4.14 | 1 - target/linux/ramips/rt288x/config-4.14 | 1 - target/linux/ramips/rt3883/config-4.14 | 1 - target/linux/sunxi/config-4.14 | 1 - target/linux/x86/config-4.14 | 1 - 25 files changed, 1 insertion(+), 24 deletions(-) diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index feaba21eb4..9ace3ebf4c 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -38,7 +38,6 @@ CONFIG_ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_ARCH_WEAK_RELEASE_ACQUIRE=y CONFIG_AUDIT_ARCH=y diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.14 index 9a04154a20..db5c6f19e5 100644 --- a/target/linux/archs38/config-4.14 +++ b/target/linux/archs38/config-4.14 @@ -8,7 +8,6 @@ CONFIG_ARCH_HAS_SG_CHAIN=y # CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set # CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARC_BUILTIN_DTB_NAME="" CONFIG_ARC_CACHE=y CONFIG_ARC_CACHE_LINE_SHIFT=6 diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index d1d7d7d932..db935d179e 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -24,7 +24,6 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_ARCH_USE_QUEUED_RWLOCKS=y CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_AT803X_PHY=y CONFIG_ATH79=y diff --git a/target/linux/bcm53xx/config-4.14 b/target/linux/bcm53xx/config-4.14 index be062dc7f2..954a32d2af 100644 --- a/target/linux/bcm53xx/config-4.14 +++ b/target/linux/bcm53xx/config-4.14 @@ -29,7 +29,6 @@ CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARCH_WANT_GENERAL_HUGETLB=y CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_ARM=y diff --git a/target/linux/brcm47xx/config-4.14 b/target/linux/brcm47xx/config-4.14 index 9211d10e69..3f35ca5165 100644 --- a/target/linux/brcm47xx/config-4.14 +++ b/target/linux/brcm47xx/config-4.14 @@ -19,7 +19,6 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_ARCH_USE_QUEUED_RWLOCKS=y CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_BCM47XX=y CONFIG_BCM47XX_BCMA=y diff --git a/target/linux/brcm63xx/config-4.14 b/target/linux/brcm63xx/config-4.14 index 87cfe28861..c6cca7a51f 100644 --- a/target/linux/brcm63xx/config-4.14 +++ b/target/linux/brcm63xx/config-4.14 @@ -18,7 +18,6 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_ARCH_USE_QUEUED_RWLOCKS=y CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_BCM6345_EXT_IRQ=y CONFIG_BCM6345_PERIPH_IRQ=y diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index 5a1aab95f2..29ac65eab5 100644 --- a/target/linux/cns3xxx/config-4.14 +++ b/target/linux/cns3xxx/config-4.14 @@ -27,7 +27,6 @@ CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y -# CONFIG_ARCH_WANTS_THP_SWAP is not set CONFIG_ARCH_WANT_GENERAL_HUGETLB=y CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_ARM=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index 88ec795d22..cf19442192 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -28,7 +28,6 @@
[OpenWrt-Devel] [PATCH 2/6] kernel: disable DMA_{NOOP|VIRT}_OPS by default
These options do not used by any supported arch, so disable them by default to make arch configs a bit more clean. Signed-off-by: Sergey Ryazanov--- target/linux/apm821xx/config-4.14 | 2 -- target/linux/archs38/config-4.14 | 2 -- target/linux/ath79/config-4.14 | 2 -- target/linux/bcm53xx/config-4.14 | 2 -- target/linux/brcm47xx/config-4.14 | 2 -- target/linux/brcm63xx/config-4.14 | 2 -- target/linux/cns3xxx/config-4.14 | 2 -- target/linux/gemini/config-4.14| 2 -- target/linux/generic/config-4.14 | 2 ++ target/linux/imx6/config-4.14 | 2 -- target/linux/ipq40xx/config-4.14 | 2 -- target/linux/kirkwood/config-4.14 | 2 -- target/linux/lantiq/config-4.14| 2 -- target/linux/mediatek/config-4.14 | 2 -- target/linux/mvebu/config-4.14 | 2 -- target/linux/mxs/config-4.14 | 2 -- target/linux/octeon/config-4.14| 2 -- target/linux/octeontx/config-4.14 | 2 -- target/linux/pistachio/config-4.14 | 2 -- target/linux/ramips/mt7620/config-4.14 | 2 -- target/linux/ramips/mt76x8/config-4.14 | 2 -- target/linux/ramips/rt288x/config-4.14 | 2 -- target/linux/ramips/rt3883/config-4.14 | 2 -- target/linux/sunxi/config-4.14 | 2 -- target/linux/x86/config-4.14 | 2 -- 25 files changed, 2 insertions(+), 48 deletions(-) diff --git a/target/linux/apm821xx/config-4.14 b/target/linux/apm821xx/config-4.14 index 9ace3ebf4c..2b8dc45c3d 100644 --- a/target/linux/apm821xx/config-4.14 +++ b/target/linux/apm821xx/config-4.14 @@ -90,8 +90,6 @@ CONFIG_CRYPTO_SHA256=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_DECOMPRESS_GZIP=y # CONFIG_DEFAULT_UIMAGE is not set -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y # CONFIG_E200 is not set diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.14 index db5c6f19e5..f7d9351855 100644 --- a/target/linux/archs38/config-4.14 +++ b/target/linux/archs38/config-4.14 @@ -61,8 +61,6 @@ CONFIG_CRYPTO_MANAGER2=y CONFIG_CRYPTO_NULL2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_DWMAC_ANARION=y diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index db935d179e..605a9b4e4a 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -54,8 +54,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EARLY_PRINTK=y diff --git a/target/linux/bcm53xx/config-4.14 b/target/linux/bcm53xx/config-4.14 index 954a32d2af..b0417df9e9 100644 --- a/target/linux/bcm53xx/config-4.14 +++ b/target/linux/bcm53xx/config-4.14 @@ -127,8 +127,6 @@ CONFIG_DEBUG_UART_PHYS=0x18000300 CONFIG_DEBUG_UART_VIRT=0xf1000300 CONFIG_DEBUG_UNCOMPRESS=y CONFIG_DEBUG_USER=y -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EARLY_PRINTK=y diff --git a/target/linux/brcm47xx/config-4.14 b/target/linux/brcm47xx/config-4.14 index 3f35ca5165..190608f4ea 100644 --- a/target/linux/brcm47xx/config-4.14 +++ b/target/linux/brcm47xx/config-4.14 @@ -66,8 +66,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set # CONFIG_EARLY_PRINTK is not set CONFIG_EXPORTFS=y diff --git a/target/linux/brcm63xx/config-4.14 b/target/linux/brcm63xx/config-4.14 index c6cca7a51f..d306a98dc5 100644 --- a/target/linux/brcm63xx/config-4.14 +++ b/target/linux/brcm63xx/config-4.14 @@ -74,8 +74,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EARLY_PRINTK=y diff --git a/target/linux/cns3xxx/config-4.14 b/target/linux/cns3xxx/config-4.14 index 29ac65eab5..16f32c1037 100644 --- a/target/linux/cns3xxx/config-4.14 +++ b/target/linux/cns3xxx/config-4.14 @@ -93,8 +93,6 @@ CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" # CONFIG_DEBUG_UART_8250 is not set # CONFIG_DEBUG_USER is not set CONFIG_DMA_CACHE_FIQ_BROADCAST=y -# CONFIG_DMA_NOOP_OPS is not set -# CONFIG_DMA_VIRT_OPS is not set # CONFIG_DRM_LIB_RANDOM is not set CONFIG_DTC=y CONFIG_EDAC_ATOMIC_SCRUB=y diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index cf19442192..0255a85309 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -135,11 +135,9 @@ CONFIG_DMADEVICES=y CONFIG_DMATEST=y CONFIG_DMA_ENGINE=y CONFIG_DMA_ENGINE_RAID=y -# CONFIG_DMA_NOOP_OPS is not
[OpenWrt-Devel] [PATCH 0/6] random kernel config fixes
Hello, this series is a set of cosmetic fixes for kernel configuration, what were spotted during ath25 migration from kernel 4.9 to kernel 4.14. Sergey Ryazanov (6): kernel: disable ARCH_WANTS_THP_SWAP by default kernel: disable DMA_{NOOP|VIRT}_OPS by default kernel: disable DRM_LIB_RANDOM by default kernel: enable EXPORTFS by default kernel: enable FUTEX_PI by default kernel: enable THIN_ARCHIVES by default target/linux/apm821xx/config-4.14 | 7 --- target/linux/archs38/config-4.14 | 7 --- target/linux/ath79/config-4.14 | 7 --- target/linux/bcm53xx/config-4.14 | 7 --- target/linux/brcm47xx/config-4.14 | 7 --- target/linux/brcm63xx/config-4.14 | 7 --- target/linux/cns3xxx/config-4.14 | 7 --- target/linux/gemini/config-4.14| 7 --- target/linux/generic/config-4.14 | 8 +++- target/linux/imx6/config-4.14 | 7 --- target/linux/ipq40xx/config-4.14 | 7 --- target/linux/kirkwood/config-4.14 | 7 --- target/linux/lantiq/config-4.14| 7 --- target/linux/mediatek/config-4.14 | 7 --- target/linux/mvebu/config-4.14 | 7 --- target/linux/mxs/config-4.14 | 6 -- target/linux/octeon/config-4.14| 7 --- target/linux/octeontx/config-4.14 | 7 --- target/linux/omap/config-4.14 | 1 - target/linux/pistachio/config-4.14 | 7 --- target/linux/ramips/mt7620/config-4.14 | 7 --- target/linux/ramips/mt76x8/config-4.14 | 7 --- target/linux/ramips/rt288x/config-4.14 | 7 --- target/linux/ramips/rt3883/config-4.14 | 7 --- target/linux/sunxi/config-4.14 | 7 --- target/linux/x86/config-4.14 | 7 --- 26 files changed, 7 insertions(+), 169 deletions(-) -- 2.16.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] kernel: bump kernel 4.4 to 4.4.132 for 17.01
* Refreshed patches Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma--- include/kernel-version.mk | 4 ++-- ..._leds-convert-IDE-trigger-to-common-disk-trigger.patch | 2 +- ...7-qmi_wwan-add-support-for-Quectel-EC21-and-EC25.patch | 2 +- target/linux/generic/patches-4.4/834-ledtrig-libata.patch | 8 .../ixp4xx/patches-4.4/600-skb_avoid_dmabounce.patch | 2 +- target/linux/oxnas/patches-4.4/999-libata-hacks.patch | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index f10bbcabbc..2e92bbf5fd 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -3,10 +3,10 @@ LINUX_RELEASE?=1 LINUX_VERSION-3.18 = .43 -LINUX_VERSION-4.4 = .131 +LINUX_VERSION-4.4 = .132 LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c -LINUX_KERNEL_HASH-4.4.131 = 65127add35c45acda866d10860e80bfdcc19b6c21e30e5dc9b92020a44d7c709 +LINUX_KERNEL_HASH-4.4.132 = c415b01c810ad88284f9ffaebe0526efce8b1643d930dac6d8ef6a55cf6e0634 ifdef KERNEL_PATCHVER LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER))) diff --git a/target/linux/apm821xx/patches-4.4/040-backport_leds-convert-IDE-trigger-to-common-disk-trigger.patch b/target/linux/apm821xx/patches-4.4/040-backport_leds-convert-IDE-trigger-to-common-disk-trigger.patch index 6441866806..c753342d5b 100644 --- a/target/linux/apm821xx/patches-4.4/040-backport_leds-convert-IDE-trigger-to-common-disk-trigger.patch +++ b/target/linux/apm821xx/patches-4.4/040-backport_leds-convert-IDE-trigger-to-common-disk-trigger.patch @@ -47,7 +47,7 @@ Signed-off-by: Jacek Anaszewski #include #include -@@ -4936,6 +4937,9 @@ void ata_qc_complete(struct ata_queued_c +@@ -4939,6 +4940,9 @@ void ata_qc_complete(struct ata_queued_c { struct ata_port *ap = qc->ap; diff --git a/target/linux/generic/patches-4.4/099-0007-qmi_wwan-add-support-for-Quectel-EC21-and-EC25.patch b/target/linux/generic/patches-4.4/099-0007-qmi_wwan-add-support-for-Quectel-EC21-and-EC25.patch index 62ff1cd582..3dad08008b 100644 --- a/target/linux/generic/patches-4.4/099-0007-qmi_wwan-add-support-for-Quectel-EC21-and-EC25.patch +++ b/target/linux/generic/patches-4.4/099-0007-qmi_wwan-add-support-for-Quectel-EC21-and-EC25.patch @@ -82,7 +82,7 @@ Signed-off-by: David S. Miller /* Gobi 1000 QMI/wwan interface number is 3 according to qcserial */ #define QMI_GOBI1K_DEVICE(vend, prod) \ QMI_FIXED_INTF(vend, prod, 3) -@@ -908,6 +932,8 @@ static const struct usb_device_id produc +@@ -909,6 +933,8 @@ static const struct usb_device_id produc {QMI_FIXED_INTF(0x03f0, 0x4e1d, 8)},/* HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module */ {QMI_FIXED_INTF(0x22de, 0x9061, 3)},/* WeTelecom WPD-600N */ {QMI_FIXED_INTF(0x1e0e, 0x9001, 5)},/* SIMCom 7230E */ diff --git a/target/linux/generic/patches-4.4/834-ledtrig-libata.patch b/target/linux/generic/patches-4.4/834-ledtrig-libata.patch index ca19ad6379..fd804cae9a 100644 --- a/target/linux/generic/patches-4.4/834-ledtrig-libata.patch +++ b/target/linux/generic/patches-4.4/834-ledtrig-libata.patch @@ -69,7 +69,7 @@ Signed-off-by: Daniel Golle /** *ata_build_rw_tf - Build ATA taskfile for given read/write request *@tf: Target ATA taskfile -@@ -4802,6 +4815,9 @@ struct ata_queued_cmd *ata_qc_new_init(s +@@ -4805,6 +4818,9 @@ struct ata_queued_cmd *ata_qc_new_init(s if (tag < 0) return NULL; } @@ -79,7 +79,7 @@ Signed-off-by: Daniel Golle qc = __ata_qc_from_tag(ap, tag); qc->tag = tag; -@@ -5698,6 +5714,9 @@ struct ata_port *ata_port_alloc(struct a +@@ -5701,6 +5717,9 @@ struct ata_port *ata_port_alloc(struct a ap->stats.unhandled_irq = 1; ap->stats.idle_irq = 1; #endif @@ -89,7 +89,7 @@ Signed-off-by: Daniel Golle ata_sff_port_init(ap); return ap; -@@ -5719,6 +5738,12 @@ static void ata_host_release(struct devi +@@ -5722,6 +5741,12 @@ static void ata_host_release(struct devi kfree(ap->pmp_link); kfree(ap->slave_link); @@ -102,7 +102,7 @@ Signed-off-by: Daniel Golle kfree(ap); host->ports[i] = NULL; } -@@ -6165,7 +6190,23 @@ int ata_host_register(struct ata_host *h +@@ -6168,7 +6193,23 @@ int ata_host_register(struct ata_host *h host->ports[i]->print_id = atomic_inc_return(_print_id); host->ports[i]->local_port_no = i + 1; } diff --git a/target/linux/ixp4xx/patches-4.4/600-skb_avoid_dmabounce.patch b/target/linux/ixp4xx/patches-4.4/600-skb_avoid_dmabounce.patch index e080e600f9..60b5d1a8cb 100644 ---