Re: [LEDE-DEV] [PATCH 2/2] toolchain/arc: update to the most recent release arc-2017.09

2018-01-24 Thread Hauke Mehrtens
On 01/24/2018 06:26 PM, Evgeniy Didin wrote: > This commit finally bumps ARC tools to the most recent arc-2017.09 release > version. > > ARC GNU tools of version arc-2017.09 bring some quite significant changes > like: > * Binutils v2.29 with additional ARC patches > * GCC 7.1.1 with

[LEDE-DEV] [PATCH v2 1/5] kernel: ubifs: create use file system format 4 by default

2018-01-21 Thread Hauke Mehrtens
, it will just not be used when a ubifs partition is created implicitly on an empty UBI volume. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/generic/config-4.14 | 1 + ...ption-to-create-UBI-FS-version-4-on-empty.patch | 63 ++ 2 files chang

[LEDE-DEV] [PATCH v2 0/5] mvebu: add kernel 4.14 support

2018-01-21 Thread Hauke Mehrtens
(downgrade) from kernel 4.14 to 4.9 * rename the wireless driver path when upgrading Hauke Mehrtens (5): kernel: ubifs: create use file system format 4 by default mvebu: move files to files-4.9 and files-4.4 folder mvebu: copy config and patches from 4.9 to 4.14 mvebu: Make kernel 4.14

[LEDE-DEV] [PATCH v2 2/5] mvebu: move files to files-4.9 and files-4.4 folder

2018-01-21 Thread Hauke Mehrtens
This is needed to prevent copying it into kernel 4.14. These device tree files are already integrated into kernel 4.14 and we would like to use the upstream versions only. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../{files => files-4.4}/arch/arm/boot/dts/armada-385-linksys-

[LEDE-DEV] [PATCH v2 3/5] mvebu: copy config and patches from 4.9 to 4.14

2018-01-21 Thread Hauke Mehrtens
This is in preparation for the 4.14 port, this is just coping all the files to make it easier to see the differences between kernel 4.9 and kernel 4.14. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/mvebu/{config-4.9 => config-4.14}| 0

[LEDE-DEV] [PATCH v2 5/5] mvebu: migrate uci config to new PCIe path

2018-01-21 Thread Hauke Mehrtens
quot; part with "pcie" on all nodes if the file exists in sys fs. This will not do anything with on kernel 4.9. The configuration will not be fixed when migrating back from kernel 4.14 to kernel 4.9. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../base-files/etc/uci-defaul

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/5] x86: add support for microcode update

2018-01-21 Thread Hauke Mehrtens
DOWN >>> >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.77=43fe95308d276bdfd133f5951cc25565e39982ec >>> >>> Can we backport this? >> >> >> No, it's not missing, it's just in a different loc

[LEDE-DEV] musl update: possible compile problems

2018-01-20 Thread Hauke Mehrtens
Hi, I updated the patches which are making the kernel headers compatible with musl libc in this commit: https://git.openwrt.org/4336efe14b61e47177a2d0863f8391c48cf4a9f5 These are now the versions which are included in upstream Linux kernel 4.15. This could cause some compile problems in iproute2

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/5] x86: add support for microcode update

2018-01-20 Thread Hauke Mehrtens
On 01/18/2018 11:41 PM, Zoltan HERPAI wrote: > > > On Thu, 18 Jan 2018, Hauke Mehrtens wrote: > >> On 01/18/2018 01:51 PM, Nick Lowe wrote: >>> Does an update to the Kernel, 4.9.77 and 4.14.14 need to be made to >>> properly address this? There are fixes to

Re: [LEDE-DEV] [PATCH 2/3] at91bootstrap: Add support for SAMA5D27 SOM1 EK board

2018-01-20 Thread Hauke Mehrtens
On 01/09/2018 12:23 AM, Sandeep Sheriker Mallikarjun wrote: > 1. Add support for SAMA5D27 SOM1 EK board > 2. version update to v3.8.9 > > Signed-off-by: Sandeep Sheriker Mallikarjun > > --- > package/boot/at91bootstrap/Makefile | 20

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/5] x86: add support for microcode update

2018-01-18 Thread Hauke Mehrtens
On 01/18/2018 01:51 PM, Nick Lowe wrote: > Does an update to the Kernel, 4.9.77 and 4.14.14 need to be made to > properly address this? There are fixes to mitigate Spectre. We even need a patch for GCC which will be in GCC 8 and 7.3. For master we should backport it to GCC 5.5, but what do we

Re: [LEDE-DEV] [PATCH 2/5] firmware: add microcode package for AMD64

2018-01-18 Thread Hauke Mehrtens
On 01/17/2018 08:41 PM, Zoltan HERPAI wrote: > Signed-off-by: Zoltan HERPAI > --- > package/firmware/linux-firmware/x86.mk | 9 + > 1 file changed, 9 insertions(+) > create mode 100644 package/firmware/linux-firmware/x86.mk > > diff --git

Re: [LEDE-DEV] [PATCH RFC] mac80211: Don't check for platform files with external kernel trees

2018-01-11 Thread Hauke Mehrtens
On 01/08/2018 06:57 AM, Felix Fietkau wrote: > > >> On 8. Jan 2018, at 10:31, Florian Fainelli wrote: >> >> When building with an external kernel tree, do not check the different >> platform files since this is almost guaranteed they are going to differ. >> >>

Re: [LEDE-DEV] [PATCH v1 1/1] uboot-at91: fix build after fpu activation

2018-01-09 Thread Hauke Mehrtens
has some code which should add the needed compiler settings independently of the build system and we do not need to provide it some special settings. Hauke > On 01/04/2018 04:23 PM, Hauke Mehrtens wrote: >> On 01/04/2018 08:43 PM, Sandeep Sheriker Mallikarjun wrote: >>> neon and

Re: [LEDE-DEV] [PATCH 1/1] at91: kernel configuration

2018-01-09 Thread Hauke Mehrtens
On 01/05/2018 12:14 AM, Sandeep Sheriker Mallikarjun wrote: > 1. enabled DMA controller options > 2. Enabled CMA options > 3. enabled VFP options > 4. Add Atmel SD/MMC Driver > > Signed-off-by: Sandeep Sheriker Mallikarjun > > --- >

Re: [LEDE-DEV] [PATCH 4/6] at91bootstrap: make packages hidden

2018-01-09 Thread Hauke Mehrtens
On 01/09/2018 12:07 AM, Sandeep Sheriker wrote: > Hi Hauke, >     I have already fixed this and submitted this patch. below is the > patch link for references. > > https://patchwork.ozlabs.org/patch/855788/ > > Regards, > Sandeep Sheriker M Thanks for the hint, I applied this patch now. Hauke

[LEDE-DEV] [PATCH 5/6] uboot-at91: make packages hidden

2018-01-08 Thread Hauke Mehrtens
These packages are needed to generate the image, better mark them hidden so we will activate them based on which boards gets build and they will be activated always when the board which needs then gets build. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/boot/uboot-at91/Ma

[LEDE-DEV] [PATCH 3/6] at91bootstrap: remove redundant definition of BUILD_SUBTARGET

2018-01-08 Thread Hauke Mehrtens
It is sufficient to define this in AT91Bootstrap/Default as this is not used for all. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/boot/at91bootstrap/Makefile | 8 1 file changed, 8 deletions(-) diff --git a/package/boot/at91bootstrap/Makefile b/packag

[LEDE-DEV] [PATCH 2/6] at91bootstrap: fix name of packages

2018-01-08 Thread Hauke Mehrtens
: New package at91bootstrap") Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/boot/at91bootstrap/Makefile | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile index a0b059

[LEDE-DEV] [PATCH 1/6] at91bootstrap: fix name of sama5d4_xplainednf_uboot

2018-01-08 Thread Hauke Mehrtens
The default configuration file for sama5d4_xplainednf_uboot does not exist, but a default configuration file for sama5d4_xplainednf_uboot_secure exists, fix the name. Fixes: 670448a002 ("at91bootstrap: New package at91bootstrap") Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> -

[LEDE-DEV] [PATCH 6/6] at91: create device specific sdcard images

2018-01-08 Thread Hauke Mehrtens
Without this patch one sdcard image with the following name is created for all devices: openwrt-at91-sama5--sdcard.img.gz This makes the build system create device specific versions like: openwrt-at91-sama5-at91-sama5d2_xplained-sdcard.img.gz Signed-off-by: Hauke Mehrtens <ha...@hauke-m

[LEDE-DEV] [PATCH 4/6] at91bootstrap: make packages hidden

2018-01-08 Thread Hauke Mehrtens
These packages are needed to generate the image, better mark them hidden so we will activate them based on which boards gets build and they will be activated always when the board which needs then gets build. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/boot/at91boo

[LEDE-DEV] [PATCH 2/3] mvebu: copy config and patches from 4.9 to 4.14

2018-01-07 Thread Hauke Mehrtens
This is in preparation for the 4.14 port, this is just coping all the files to make it easier to see the differences between kernel 4.9 and kernel 4.14. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/mvebu/{config-4.9 => config-4.14}| 0

[LEDE-DEV] [PATCH 0/3] mvebu: add kernel 4.14 support

2018-01-07 Thread Hauke Mehrtens
with kernel 4.9 please report this. Hauke Mehrtens (3): mvebu: move files to files-4.9 and files-4.4 folder mvebu: copy config and patches from 4.9 to 4.14 mvebu: Make kernel 4.14 patches apply target/linux/mvebu/config-4.14 | 489 ++ .../arch/arm/boot/dts/armada

[LEDE-DEV] [PATCH 1/3] mvebu: move files to files-4.9 and files-4.4 folder

2018-01-07 Thread Hauke Mehrtens
This is needed to prevent copying it into kernel 4.14. These device tree files are already integrated into kernel 4.14 and we would like to use the upstream versions only. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../{files => files-4.4}/arch/arm/boot/dts/armada-385-linksys-

[LEDE-DEV] [PATCH] lantiq: activate noise margin delta for VDSL too

2018-01-06 Thread Hauke Mehrtens
Previously this was only activated for ADSL, this patch activates the same setting also for VDSL. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/network/config/ltq-vdsl-app/files/dsl_control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/n

[LEDE-DEV] [PATCH v2] Add additional uapi guards for Linux kernel header files

2018-01-06 Thread Hauke Mehrtens
With Linux kernel 4.16 it will be possible to guard more parts of the Linux header files from a libc. Make use of this in musl to guard all the structures and other definitions from the Linux header files which are also defined by the header files provided by musl. This will make musl compile with

Re: [LEDE-DEV] Espressobin mvebu64

2018-01-05 Thread Hauke Mehrtens
On 01/05/2018 09:16 AM, Nishant Sharma wrote: > Hi, > > First of all, congratulations on re-merge of OpenWrt and LEDE. > > Now to the problem being faced. I am trying to build OpenWrt for > Espressobin (http://espressobin.net) as described in their wiki at >

Re: [LEDE-DEV] [PATCH v1 1/1] uboot-at91: fix build after fpu activation

2018-01-04 Thread Hauke Mehrtens
On 01/04/2018 08:43 PM, Sandeep Sheriker Mallikarjun wrote: > neon and VFPv4 support is added to this target and uboot-at91 build > fails due to TARGET_CFLAGS -mfloat-abi set to hard. as a fix, setting > uboot-at91 CFLAGS -mfloat-abi=soft. > > Signed-off-by: Sandeep Sheriker Mallikarjun >

[LEDE-DEV] OpenWrt LEDE merge

2018-01-04 Thread Hauke Mehrtens
The OpenWrt and the LEDE project are happily announcing the unification of both projects under the OpenWrt name. After long and sometimes slowly moving discussions about the specifics of the re-merge, with multiple similar proposals but little subsequent action, we're happy to announce that both

[LEDE-DEV] [RFC PATCH] kernel: use upstream patches for musl

2018-01-03 Thread Hauke Mehrtens
-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- ...compat-add-fallback-for-unsupported-libcs.patch | 147 + ...pi-libc-compat.h-do-not-rely-on-__GLIBC__.patch | 107 --- ...er.h-prevent-redefinition-of-struct-ethhd.patch | 46 +++ .../pending-3.

Re: [LEDE-DEV] [PATCH] at91: sama5: activate fpu

2018-01-03 Thread Hauke Mehrtens
: recipe for > target 'world' failed > make: *** [world] Error 2 The patch was already merged, but I was able to reproduce this problem and fixed in in the u-boot build file, can you please test the patch which I sent separately. Please check if the u-boot generated by LEDE will still work. H

[LEDE-DEV] [PATCH] uboot-at91: fix build after fpu activation

2018-01-03 Thread Hauke Mehrtens
Use the default build definitions instead of some custom one. The custom one added -mfloat-abi=soft which is used in the kernel build and the normal -mfloat-abi=hard was added in addition which caused a build problem. Fixes: 01cc6bd495f31 ("at91: sama5: activate fpu") Signed-off

Re: [LEDE-DEV] [PATCH] layerscape: activate fpu feature

2018-01-03 Thread Hauke Mehrtens
wrt/openwrt.git;a=commitdiff;h=597de6904c39e02a8aa008f50ff19c6793117194 Mathew McBride also tested this on his LS1043 board and did not notice any problems. Hauke > > I will send related patches to community after release. > Thanks a lot. > > > Best regards, > Yangbo Lu > &g

Re: [LEDE-DEV] LEDE Intel Galileo Gen 2 port

2018-01-01 Thread Hauke Mehrtens
On 01/01/2018 08:04 PM, perillamint wrote: > BTW, it seems Intel Quark X1000 SoC may affected by Pentium F00F bug or > its variant (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738575) > > I wonder LEDE build system can workaround this kind of bug. It seems > appending NOP before every LOCK

Re: [LEDE-DEV] [PATCH] layerscape: activate fpu feature

2018-01-01 Thread Hauke Mehrtens
5.4.1 [cyangbo...@nxp.com]: Recipient address rejected: Access denied [DB5EUR01FT058.eop-EUR01.prod.protection.outlook.com] (in reply to RCPT TO command) Are you the current maintainer? If so can you please send a patch to fix this please. Hauke On 01/01/2018 04:58 PM, Hauke Mehrtens wrote: > Th

[LEDE-DEV] [PATCH] layerscape: activate fpu feature

2018-01-01 Thread Hauke Mehrtens
The CPU sub type was set to a CPU version with FPU, but the FPU feature was not activated before, so a soft float toolchain was created. Activate also the FPU feature to create the correct toolchain. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- This probably fixes a problem, bu

[LEDE-DEV] [PATCH] at91: sama5: activate fpu

2017-12-31 Thread Hauke Mehrtens
This activates neon and VFPv4 support for this target. The CPU support these feature so also use them. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- I do not have the hardware, could some please test if this still works on a at91 compatible board. target/linux/at91/sama5/target.

Re: [LEDE-DEV] LEDE/OpenWrt firmware wizard

2017-12-30 Thread Hauke Mehrtens
On 11/23/2017 06:44 AM, Moritz Warning wrote: > Hi, > > I've put online a firmware wizard for LEDE: > > http://mwarning.de/firmware-wizard/ > (Sources: https://github.com/freifunk-bielefeld/firmware-wizard) > > Build with rather plain HTML5/CSS/JS. Merge requests are welcome. > Everything is

Re: [LEDE-DEV] [PATCH hauke/kernel-4.14-sunxi 0/4] add LEDE support for NanoPi NEO Plus2 board

2017-12-29 Thread Hauke Mehrtens
Hi antony, On 12/28/2017 06:21 PM, Antony Antony wrote: > Hi Hauke, > > This will add initial LEDE support for a new board, NanoPi NEO Plus2 board. > > LEDE menu options, u-boot, and kernel DT files. The patches are against > hauke/kernel-4.14-sunxi branch. Ok this is my development branch,

Re: [LEDE-DEV] [PATCH 3/3] sunxi: backport stmmac network patches

2017-12-29 Thread Hauke Mehrtens
reases the amount of testing needed. Do you need the features added by these patches in some other target? I think also OMAP and probably more SoCs are using this Synopsis MAC. Hauke > > On Thu, Dec 28, 2017 at 2:43 PM, Hauke Mehrtens <ha...@hauke-m.de> wrote: >> Ethernet support was

[LEDE-DEV] [PATCH 3/3] sunxi: backport stmmac network patches

2017-12-28 Thread Hauke Mehrtens
Ethernet support was initial added in kernel 4.13, but deactivated before the final release. This is backported from kernel 4.15. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- ...snps-dwmac-mdio-MDIOs-are-automatically-r.patch | 33 ++ ...dwmac-sun8i-Handle-integrated-external-MD

[LEDE-DEV] [PATCH 1/3] sunxi: refresh kernel configuration

2017-12-28 Thread Hauke Mehrtens
Just refresh the sunxi kernel configuration. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/sunxi/config-4.9 | 3 ++- target/linux/sunxi/cortexa53/config-default | 2 -- target/linux/sunxi/cortexa7/config-default | 1 - target/linux/sunxi/cortexa8/config-d

[LEDE-DEV] [PATCH 2/3] sunxi: Add support for kernel 4.14

2017-12-28 Thread Hauke Mehrtens
This is based on the code for kernel 4.9, but a lot of 4.9 patches are backports from more recent kernel version and can be removed now. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/sunxi/config-4.14 | 607 + target/linux

[LEDE-DEV] [PATCH 0/3] sunxi: add support for kernel 4.14

2017-12-28 Thread Hauke Mehrtens
This adds support for kernel 4.14 to the sunxi target, It is still build with kernel 4.9 by default. This allows to remove a lot of patches. This was tested on a PINE64 and an Orange Pi R1. Hauke Mehrtens (3): sunxi: refresh kernel configuration sunxi: Add support for kernel 4.14 sunxi

Re: [LEDE-DEV] layerscape build bot problem

2017-12-27 Thread Hauke Mehrtens
l request. Please help to review. > https://github.com/lede-project/source/pull/1604 > > Thank you very much. > > Best regards, > Yangbo Lu > >> -Original Message- >> From: Y.b. Lu >> Sent: 2017年12月22日 18:05 >> To: 'Hauke Mehrtens' <ha...@h

[LEDE-DEV] layerscape build bot problem

2017-12-21 Thread Hauke Mehrtens
Hi Yangbo Lu, We see some build problem for the layerscape target sine some months: http://phase1.builds.lede-project.org/builders/layerscape%2Farmv8_32b http://phase1.builds.lede-project.org/builders/layerscape%2Farmv8_64b I think I fixed one problem with the tar downloads here, see:

Re: [LEDE-DEV] [PATCH v2 1/1] at91: create sdcard image for sama5

2017-12-21 Thread Hauke Mehrtens
On 12/12/2017 11:08 PM, Sandeep Sheriker Mallikarjun wrote: > create sdcard image using gen_at91_sdcard_img.sh for sama5 platform > and sdcard image partition layout is: > P0: Boot (fat32) - contains(at91bootstrap,u-boot,zImage & dtb) > p1: Rootfs (ext4) > > Signed-off-by: Sandeep Sheriker

Re: [LEDE-DEV] [PATCH v3] kernel: bump 4.4 to 4.4.106 for 17.01

2017-12-19 Thread Hauke Mehrtens
On 12/17/2017 06:56 PM, Kevin Darbyshire-Bryant wrote: > > >> On 17 Dec 2017, at 17:22, Etienne Haarsma wrote: >> >> uint8_t *oob = ops->oobbuf; >> uint8_t *buf = ops->datbuf; >> -@@ -2662,7 +2697,7 @@ err_out: >> - static int panic_nand_write(struct mtd_info

Re: [LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

2017-12-19 Thread Hauke Mehrtens
On 12/19/2017 12:01 AM, Hauke Mehrtens wrote: > On 12/18/2017 11:38 PM, Hauke Mehrtens wrote: >> On 12/18/2017 03:07 PM, Kevin Darbyshire-Bryant wrote: >>> >>> >>>> On 18 Dec 2017, at 10:12, Felix Fietkau <n...@nbd.name> wrote: >>>> >>

Re: [LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

2017-12-18 Thread Hauke Mehrtens
On 12/18/2017 11:38 PM, Hauke Mehrtens wrote: > On 12/18/2017 03:07 PM, Kevin Darbyshire-Bryant wrote: >> >> >>> On 18 Dec 2017, at 10:12, Felix Fietkau <n...@nbd.name> wrote: >>> >>> On 2017-12-18 11:07, Kevin Darbyshire-Bryant wrote: >>

Re: [LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

2017-12-18 Thread Hauke Mehrtens
e - frustrating. > > Cheers, > > Kevin D-B Hi, The attached patch also made the problem disappear. This patch builds the code with -funroll-loops in addition, otherwise only the default settings are used. Hauke From 2b58f2cac799c4eca511b12d068bd043c7f8b014 Mon Sep 17 00:00:00 2001

Re: [LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

2017-12-18 Thread Hauke Mehrtens
On 12/18/2017 10:34 AM, Syrone Wong wrote: > I agree with Felix. I found libtommath issue in dropbear several > months before. I can confirm the issue fixed by upgrading libtommath > and libtomcrypt. The update is already done by upstream, but not > released yet. With this patch libtommath will

Re: [LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

2017-12-17 Thread Hauke Mehrtens
On 12/17/2017 10:21 PM, Hauke Mehrtens wrote: > This patch made GCC produce broken code, remove it. > In mp_cmp_d() function in th libtommath shipped with dropbear the > following code was compiled wrong: > > /* compare based on magnitude */ > if (a->use

[LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

2017-12-17 Thread Hauke Mehrtens
tement did instead of 1 like it should. This did not happen when the -funroll-loops option was given to GCC. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../7.2.0/300-mips_Os_cpu_rtx_cost_model.patch | 21 - 1 file changed, 21 deletions(-) delete mode 10064

Re: [LEDE-DEV] [PATCH] kernel: bump 4.4 to 4.4.105 for 17.01

2017-12-16 Thread Hauke Mehrtens
On 12/13/2017 09:05 PM, Etienne Haarsma wrote: > Refreshed all patches. > > Made the following patch for Mediatek and Oxnas compatible with kernel > 4.4.105: > 0072-mtd-backport-v4.7-0day-patches-from-Boris.patch > > Compile-tested: ar71xx > Run-tested: ar71xx > > Signed-off-by: Etienne

Re: [LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-16 Thread Hauke Mehrtens
On 12/14/2017 10:53 PM, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin Please extend your description, why you need flock and also do a small size comparison on one target between a busybox with the default config and the one with your patch applied. Hauke > --- >

Re: [LEDE-DEV] [PATCH 00/25] Add support for kernel 4.14

2017-12-12 Thread Hauke Mehrtens
On 12/10/2017 11:12 PM, Hauke Mehrtens wrote: > This adds support for kernel 4.14 to LEDE. > This ports the generic patches to kernel 4.14 and also adds support for > kernel 4.14 to the x86 target, I am also working on adding support for > the lantiq target, but there are still s

[LEDE-DEV] [PATCH 25/25] x86: update config and make patches apply for kernel 4.14

2017-12-10 Thread Hauke Mehrtens
This updates the configuration and makes the kernel patches apply against kernel 4.14. The subtarget configuration was refresh with kernel 4.14 and the options needed to make it compile on kernel 4.9 were added manually. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/

[LEDE-DEV] [PATCH 04/25] kernel: generic: copy kernel 4.9 patches and config to 4.14

2017-12-10 Thread Hauke Mehrtens
This is the initial step to add kernel 4.14 support by copying the patches and configuration used for kernel 4.9 to the folders which should be used for kernel 4.14. I did no modifications to the code. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../010-Kbuild-don-t-hardcode-path-

[LEDE-DEV] [PATCH 24/25] x86: copy kernel 4.9 patches and config to 4.14

2017-12-10 Thread Hauke Mehrtens
This just copies the configuration and the patches from kernel 4.9 to the places where they are expected for kernel 4.14 without modifying them. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/x86/{config-4.9 => config-4.14} | 0 .../

[LEDE-DEV] [PATCH 15/25] kernel: kmod-mmc: handle moved mmc_block.ko

2017-12-10 Thread Hauke Mehrtens
mmc_block.ko was moved with kernel 4.10. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/other.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk

[LEDE-DEV] [PATCH 11/25] kernel: add kmod-crypto-ecdh

2017-12-10 Thread Hauke Mehrtens
In kernel 4.14 kmod-bluetooth depends on kmod-crypto-ecdh, add kmod-crypto-ecdh to LEDE. Both packages also depend on the kmod-crypto-kpp package. To build this we have to fix the dependency of CRYPTO_ECDH which has a typo. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/

[LEDE-DEV] [PATCH 20/25] kernel: kmod-iio-bmp280: allow compile with kernel 4.14

2017-12-10 Thread Hauke Mehrtens
This package also compiles with kernel 4.14. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/iio.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index 396e

[LEDE-DEV] [PATCH 17/25] kernel: kmod-fbcon: deactivate for kernel 4.14

2017-12-10 Thread Hauke Mehrtens
CONFIG_FRAMEBUFFER_CONSOLE does not activate new modules any more in kernel 4.14, but CONFIG_FRAMEBUFFER_CONSOLE is now a boolean option which change the kmod-fb package. kmod-fbcon should be split up. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/video.

[LEDE-DEV] [PATCH 13/25] kernel: deactivate some new network features

2017-12-10 Thread Hauke Mehrtens
This deactivates the following options which were introduced between kernel 4.9 and 4.14 in some kernel packages: CONFIG_INET_ESP_OFFLOAD CONFIG_INET6_ESP_OFFLOAD CONFIG_LWTUNNEL_BPF CONFIG_NET_9P_XEN Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/netsupp

[LEDE-DEV] [PATCH 16/25] kernel: kmod-sound-core: handle moved snd-seq-device.ko

2017-12-10 Thread Hauke Mehrtens
The snd-seq-device.ko kernel module was moved with kernel 4.13. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/sound.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/m

[LEDE-DEV] [PATCH 10/25] kernel: add kmod-crypto-rsa

2017-12-10 Thread Hauke Mehrtens
In kernel 4.14 kmod-crypto-hw-ccp depends on kmod-crypto-rsa, add it. kmod-crypto-rsa also packages the ASN1 parser and some other code which is currently only used by this module. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/crypto.m

[LEDE-DEV] [PATCH 23/25] kernel: include: remove last .0 from kernel versions again

2017-12-10 Thread Hauke Mehrtens
Kernel 4.14 has the version number 4.14 and not 4.14.0. This changed again with some more recent kernel versions. This change makes it possible to use kernel 4.14 without any minor version. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- include/kernel.mk | 2 +- 1 file changed, 1 ins

[LEDE-DEV] [PATCH 19/25] kernel: kmod-zram: deactivate CONFIG_ZRAM_WRITEBACK for kernel 4.14

2017-12-10 Thread Hauke Mehrtens
This new option was introduced in kernel 4.14 and should be deactivated by default. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/other.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/m

[LEDE-DEV] [PATCH 12/25] kernel: unset CONFIG_CIFS_SMB311 in kmod-fs-cifs

2017-12-10 Thread Hauke Mehrtens
Do not activate the experimental feature CONFIG_CIFS_SMB311. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/fs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules

[LEDE-DEV] [PATCH 22/25] kernel: add missing dependencies to kmod-crypto-acompress

2017-12-10 Thread Hauke Mehrtens
kmod-lib-lzo and kmod-lib-lz4 depend in kernel 4.14 on kmod-crypto-acompress, add this missing dependency. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/lib.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/linux/modules/lib.mk b/p

[LEDE-DEV] [PATCH 18/25] xtables-addons: fix compile with kernel 4.14

2017-12-10 Thread Hauke Mehrtens
This fixes a compile problems seen with kernel 4.14. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- .../utils/xtables-addons/patches/201-fix-lua-packetscript.patch | 9 + 1 file changed, 9 insertions(+) diff --git a/package/network/utils/xtables-addons/patches/201-f

[LEDE-DEV] [PATCH 21/25] kernel: kmod-rtc-ds1307: add dependency to regmap

2017-12-10 Thread Hauke Mehrtens
In kernel 4.14 kmod-rtc-ds1307 depends on regmap-i2c, add this missing dependency. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/p

[LEDE-DEV] [PATCH 03/25] x86: refresh configuration

2017-12-10 Thread Hauke Mehrtens
Just refresh the kernel configuration, some options are removed because they are now in the generic kernel configuration. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/x86/64/config-default | 10 -- target/linux/x86/generic/config-default | 7 ---

[LEDE-DEV] [PATCH 14/25] kernel: kmod-rxrpc: handle renamed kernel module

2017-12-10 Thread Hauke Mehrtens
The kernel module was renamed with kernel 4.11, handle that in the package definition. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/netsupport.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/m

[LEDE-DEV] [PATCH 00/25] Add support for kernel 4.14

2017-12-10 Thread Hauke Mehrtens
to x86 target * update xtables-addons to new version which already includes one fix Hauke Mehrtens (25): xtables-addons: update to version 2.14 kernel: generic: add some more 4.9 configure options x86: refresh configuration kernel: generic: copy kernel 4.9 patches and config to 4.14 kernel

[LEDE-DEV] [PATCH 08/25] kernel: add kmod-lib-zstd

2017-12-10 Thread Hauke Mehrtens
In kernel 4.14 kmod-fs-btrfs depends on the zstd compression libraries, add it to the package system. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/lib.mk | 22 ++ 2 files changed, 23 inse

[LEDE-DEV] [PATCH 06/25] kernel: tg3: deactivate hwmon for kernel 4.14

2017-12-10 Thread Hauke Mehrtens
On kernel 4.14 hwmon support can be deactivated for the tg3 driver, deactivate it by default to save some space on the brcm47xx platform. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/netdevices.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 del

[LEDE-DEV] [PATCH 01/25] xtables-addons: update to version 2.14

2017-12-10 Thread Hauke Mehrtens
This includes one compile fix needed for kernel 4.14. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/network/utils/xtables-addons/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/xtables-addons/Makefile b/package/network

[LEDE-DEV] [PATCH 09/25] kernel: add kmod-crypto-acompress

2017-12-10 Thread Hauke Mehrtens
In kernel 4.14 kmod-crypto-deflate depends on kmod-crypto-acompress. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/crypto.mk | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/crypto.mk b/p

[LEDE-DEV] [PATCH 07/25] kernel: add kmod-dax

2017-12-10 Thread Hauke Mehrtens
In kernel 4.14 kmod-dm depends on kmod-dax. Add DAX: "Direct access to differentiated memory" to LEDE. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/block.mk | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pack

Re: [LEDE-DEV] [RFC 18/26] xtables-addons: fix compile with kernel 4.14

2017-11-26 Thread Hauke Mehrtens
On 11/26/2017 06:36 PM, Arjen de Korte wrote: > Citeren Hauke Mehrtens <ha...@hauke-m.de>: > >> This fixes multiple compile problems seen with kernel 4.14. > > Comments inline. > >> Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> >> ---

Re: [LEDE-DEV] [RFC 06/26] kernel: kmod-sched-cake: deactivate on kernel 4.14

2017-11-26 Thread Hauke Mehrtens
oblems. I just tested it again with the November version and it looks like the compile problem is fixed now, I will drop this patch. If you are aware of more problems it would be nice if they can be fixed. Hauke > > Best Regards > Sebastian > >> On Nov 26, 2017, at

[LEDE-DEV] [RFC 26/26] x86: update config and make patches apply for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This updates the configuration and makes the kernel patches apply against kernel 4.14. The subtarget configuration was refresh with kernel 4.14 and the options needed to make it compile on kernel 4.9 were added manually. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/

[LEDE-DEV] [RFC 25/26] x86: copy kernel 4.9 patches and config to 4.14

2017-11-26 Thread Hauke Mehrtens
This just copies the configuration and the patches from kernel 4.9 to the places where they are expected for kernel 4.14 without modifying them. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- target/linux/x86/config-4.14 | 488 + .../x86/p

[LEDE-DEV] [RFC 17/26] kernel: kmod-fbcon: handle merged kernel modules

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 many kernel modules from the kmod-fbcon package were merged into one. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/video.mk | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package/kernel/linux/m

[LEDE-DEV] [RFC 15/26] kernel: kmod-mmc: handle moved mmc_block.ko

2017-11-26 Thread Hauke Mehrtens
mmc_block.ko was moved with kernel 4.10. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/other.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk

[LEDE-DEV] [RFC 19/26] kernel: kmod-zram: deactivate CONFIG_ZRAM_WRITEBACK for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This new option was introduced in kernel 4.14 and should be deactivated by default. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/other.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/m

[LEDE-DEV] [RFC 08/26] kernel: add kmod-lib-zstd

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-fs-btrfs depends on the zstd compression libraries, add it to the package system. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/lib.mk | 22 ++ 2 files changed, 23 inse

[LEDE-DEV] [RFC 24/26] kernel: include: remove last .0 from kernel versions again

2017-11-26 Thread Hauke Mehrtens
Kernel 4.14 has the version number 4.14 and not 4.14.0. This changed again with some more recent kernel versions. This change makes it possible to use kernel 4.14 without any minor version. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- include/kernel.mk | 2 +- 1 file changed, 1 ins

[LEDE-DEV] [RFC 23/26] mt76: fix compile with kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This fixes a minor compile problem with kernel 4.14 Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/mt76/patches/001-fix-compile.patch | 30 +++ 1 file changed, 30 insertions(+) create mode 100644 package/kernel/mt76/patches/001-fix-compile.patch

[LEDE-DEV] [RFC 16/26] kernel: kmod-sound-core: handle moved snd-seq-device.ko

2017-11-26 Thread Hauke Mehrtens
The snd-seq-device.ko kernel module was moved with kernel 4.13. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/sound.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/m

[LEDE-DEV] [RFC 10/26] kernel: add kmod-crypto-rsa

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-crypto-hw-ccp depends on kmod-crypto-rsa, add it. kmod-crypto-rsa also packages the ASN1 parser and some other code which is currently only used by this module. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/crypto.m

[LEDE-DEV] [RFC 14/26] kernel: kmod-rxrpc: handle renamed kernel module

2017-11-26 Thread Hauke Mehrtens
The kernel module was renamed with kernel 4.11, handle that in the package definition. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/netsupport.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/m

[LEDE-DEV] [RFC 22/26] kernel: add missing dependencies to kmod-crypto-acompress

2017-11-26 Thread Hauke Mehrtens
kmod-lib-lzo and kmod-lib-lz4 depend in kernel 4.14 on kmod-crypto-acompress, add this missing dependency. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/lib.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/linux/modules/lib.mk b/p

[LEDE-DEV] [RFC 13/26] kernel: deactivate some new network features

2017-11-26 Thread Hauke Mehrtens
This deactivates the following options which were introduced between kernel 4.9 and 4.14 in some kernel packages: CONFIG_INET_ESP_OFFLOAD CONFIG_INET6_ESP_OFFLOAD CONFIG_LWTUNNEL_BPF CONFIG_NET_9P_XEN Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/netsupp

[LEDE-DEV] [RFC 21/26] kernel: kmod-rtc-ds1307: add dependency to regmap

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-rtc-ds1307 depends on regmap-i2c, add this missing dependency. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/p

[LEDE-DEV] [RFC 06/26] kernel: kmod-sched-cake: deactivate on kernel 4.14

2017-11-26 Thread Hauke Mehrtens
There are build problems with kernel 4.14, deactivate it for now on this kernel till someone fixes them. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/kmod-sched-cake/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/kmod-sche

[LEDE-DEV] [RFC 12/26] kernel: unset CONFIG_CIFS_SMB311 in kmod-fs-cifs

2017-11-26 Thread Hauke Mehrtens
Do not activate the experimental feature CONFIG_CIFS_SMB311. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- package/kernel/linux/modules/fs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules

<    1   2   3   4   >