[LEDE-DEV] kernel 4.9 migration for next release

2017-10-02 Thread Hauke Mehrtens
For the next major LEDE release after 17.01 all targets should be on kernel 4.9, otherwise they will most likely not be included in the release. The following targets are on kernel 4.9 and are fine: * apm821xx * arc770 * archs38 * armvirt * ath25 * bcm53xx * brcm2708 * cns3xxx * imx6 * ipq806x * k

[LEDE-DEV] Kernel version in next major release

2017-10-07 Thread Hauke Mehrtens
We had some discussions in IRC about the kernel version which should be used in the next major release after 17.01. Probably we would target a release in January 2018, but you know our track record of hitting such plans. ;-) We came up with these options: 1. Release with kernel 4.9 only Most t

[LEDE-DEV] [PATCH 4/4] ar71xx: switch to kernel 4.9 by default

2017-10-07 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- target/linux/ar71xx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 3f5bc67243..6d5b4c52b3 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile

[LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-07 Thread Hauke Mehrtens
This adds support for kernel 4.9. Please test this, I am lacking especially NAND devices. The most recent version of these patches can be found here: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/ar71xx Hauke Mehrtens (4): ar71xx: Copy kernel 4.4 code for

[LEDE-DEV] [PATCH 3/4] ar71xx: fix section mismatches

2017-10-07 Thread Hauke Mehrtens
Fix some section mismatches found with kernel 4.9. Signed-off-by: Hauke Mehrtens --- target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c25-v1.c | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c | 2

[LEDE-DEV] [PATCH 2/4] ar71xx: make the target compile with kernel 4.9

2017-10-07 Thread Hauke Mehrtens
This makes the ar71xx target compile with kernel 4.9. Signed-off-by: Hauke Mehrtens --- target/linux/ar71xx/config-4.9 | 24 +++-- .../linux/ar71xx/files/arch/mips/ath79/mach-c60.c | 56 ++ .../ar71xx/files/arch/mips/ath79/mach-rb2011.c | 58

[LEDE-DEV] build problem in layerscape target

2017-10-08 Thread Hauke Mehrtens
Hi Yangbo, I am seeing the following build problem in the layerscape target in the master tree. I fixed the missing config symbol problem, found by the build bots, but they will run into this in the next run. I saw this on the 64bit and the 32 bit build. --

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-08 Thread Hauke Mehrtens
On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote: > Arjen de Korte wrote: >> Citeren Hauke Mehrtens : > >>> This adds support for kernel 4.9. >>> Please test this, I am lacking especially NAND devices. >>> >>> The most recent version of these

[LEDE-DEV] [PATCH] brcm47xx: relocate loader to higher address

2017-10-08 Thread Hauke Mehrtens
overwrote the loader which was currently uncompressing it and made the board crash. Increase the BZ_TEXT_START my 2 MB to have more space for the kernel. Even on 16MB RAM devices the memory goes till 0x80FF so this should not be a problem. Signed-off-by: Hauke Mehrtens --- target/linux

Re: [LEDE-DEV] [PATCH] brcm47xx: relocate loader to higher address

2017-10-08 Thread Hauke Mehrtens
On 10/08/2017 05:06 PM, Hauke Mehrtens wrote: > The boot process on a WRT54GL works the following way: > 1. CFE gets loaded by the boot rom from flash > 2. CFE loads the loader from the flash and gzip uncompresses it > 3. CFE starts the loader > 4. The loader stores the FW argument

[LEDE-DEV] [PATCH] brcm47xx: relocate the stack in loader

2017-10-08 Thread Hauke Mehrtens
for the stack of the loader, Linux will set up this for its own. Signed-off-by: Hauke Mehrtens --- target/linux/brcm47xx/image/lzma-loader/src/Makefile | 5 +++-- target/linux/brcm47xx/image/lzma-loader/src/head.S | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux

Re: [LEDE-DEV] [PATCH] brcm47xx: relocate loader to higher address

2017-10-08 Thread Hauke Mehrtens
On 10/08/2017 09:25 PM, p.wa...@gmx.at wrote: > Hi Hauke, > >> When the kernel gets uncompressed and is bigger than >> BZ_TEXT_START - LOADADDR it overwrote the loader which was currently >> uncompressing >> it and made the board crash. > > Currently, BZ_TEXT_START - LOADADDR = 0x8040 - 0x80

Re: [LEDE-DEV] Kernel version in next major release

2017-10-08 Thread Hauke Mehrtens
On 10/08/2017 01:18 AM, David Lang wrote: > On Sat, 7 Oct 2017, Hauke Mehrtens wrote: > >> * Port the generic patches > > what are the 'generic patches' and is there an effort to get them > upstream so that they don't need to be ported in each release?

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-09 Thread Hauke Mehrtens
On 10/09/2017 01:28 PM, Andrey Jr. Melnikov wrote: > Hauke Mehrtens wrote: >> On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote: >>> Arjen de Korte wrote: >>>> Citeren Hauke Mehrtens : >>> >>>>> This adds support for kernel 4.9. >&g

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-11 Thread Hauke Mehrtens
On 10/11/2017 05:57 PM, e9hack wrote: > Hi, > > I've trouble with this commit: > > author Hauke Mehrtens > Tue, 22 Aug 2017 21:59:48 + (23:59 +0200) > committer Hauke Mehrtens > Sun, 1 Oct 201

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-12 Thread Hauke Mehrtens
On 10/12/2017 07:51 PM, Felix Fietkau wrote: > On 2017-10-12 19:35, e9hack wrote: >> Am 11.10.2017 um 23:24 schrieb Christian Lamparter: >>> On Wednesday, October 11, 2017 10:42:17 PM CEST e9hack wrote: Hi, Is end the hostapd config files. They are generated by a modified hosta

Re: [LEDE-DEV] ar71xx: fix switch port numbering on RB951Ui-2nD

2017-10-12 Thread Hauke Mehrtens
On 10/12/2017 10:03 AM, João Chaínho wrote: > This patch fixes the switch port numbering on Mikrotik RB951Ui-2nD (hAP). > > Signed-off-by: João Chaínho > --- > diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network > b/target/linux/ar71xx/base-files/etc/board.d/02_network > index 39e

Re: [LEDE-DEV] [PATCH] mac80211: Add patch to re-enable setting a single rate.

2017-10-12 Thread Hauke Mehrtens
On 10/11/2017 12:18 AM, gree...@candelatech.com wrote: > From: Ben Greear > > This lets one use 'iw' to set individual rates on ath10k again. > > Signed-off-by: Ben Greear > --- > .../111-mac80211_allow_single_tx_rate_again.patch | 33 > ++ > 1 file changed, 33 insertions

Re: [LEDE-DEV] [PATCH 1/3] at91: Enable SDHCI for sama5 in default config

2017-10-12 Thread Hauke Mehrtens
On 10/05/2017 01:14 AM, Sandeep Sheriker Mallikarjun wrote: > Enabled SDHCI for sama5 in kernel default config and this is needed > to mount sdcard rootfs partition during boot. > > Signed-off-by: Sandeep Sheriker Mallikarjun > > --- > target/linux/at91/sama5/config-default | 5 + > 1 file

Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for sama5

2017-10-12 Thread Hauke Mehrtens
On 10/05/2017 01:14 AM, Sandeep Sheriker Mallikarjun wrote: > creating 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 Sheri

Re: [LEDE-DEV] [PATCH v2] ath10k-ct driver: use dma_alloc_coherent, 4.13 based driver

2017-10-12 Thread Hauke Mehrtens
On 10/04/2017 12:45 AM, gree...@candelatech.com wrote: > From: Ben Greear > > This should help ath10k work on systems with little or no IOMMU > memory. apu2 can boot two 9888 NICs now, for instance. From > upstream patch by Adrian Chadd. > > And, start building the 4.13 based CT ath10k driver.

Re: [LEDE-DEV] [PATCH 3/3] at91: creating sdcard image for sama5

2017-10-12 Thread Hauke Mehrtens
On 10/12/2017 10:10 PM, sandeepsheriker.mallikar...@microchip.com wrote: > -Original Message- > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > Sent: Thursday, October 12, 2017 12:47 PM > To: Sandeep Sheriker Mallikarjun - C17018; lede-dev@lists.infradead.org > Subject

Re: [LEDE-DEV] [PATCH v2] ath10k-ct driver: use dma_alloc_coherent, 4.13 based driver

2017-10-12 Thread Hauke Mehrtens
On 10/12/2017 10:31 PM, Hauke Mehrtens wrote: > On 10/04/2017 12:45 AM, gree...@candelatech.com wrote: >> From: Ben Greear >> >> This should help ath10k work on systems with little or no IOMMU >> memory. apu2 can boot two 9888 NICs now, for instance. From >&g

Re: [LEDE-DEV] [PATCH 0/2] uboot-at91: fix build error

2017-10-13 Thread Hauke Mehrtens
On 10/05/2017 01:14 AM, Sandeep Sheriker Mallikarjun wrote: > This patch series fixes the uboot-at91 build error's. In case when a > uboot package is selected of a different subtarget device, the build > will fail due to wrong cpu type. > > Sandeep Sheriker Mallikarjun (2): > uboot-at91: remov

Re: [LEDE-DEV] [PATCH v1 1/4] at91: Add DEVICE_PACKAGES for sama5

2017-10-13 Thread Hauke Mehrtens
On 10/13/2017 07:21 PM, Sandeep Sheriker Mallikarjun wrote: > Added DEVICE_PACKAGES for sama5 to include at91bootstrap & u-boot in > default Snapshot build. > > Signed-off-by: Sandeep Sheriker Mallikarjun > > --- > target/linux/at91/image/sama5.mk | 18 ++ > 1 file changed, 18 i

[LEDE-DEV] [PATCH] ath10k-firmware: update QCA9888 and QCA4019 firmware

2017-10-14 Thread Hauke Mehrtens
This updates the firmware files for the QCA9888 and QCA4019 chips to a more recent version which is also used in the linux-firmware repository. Signed-off-by: Hauke Mehrtens --- Could someone with a QCA4019 or QCA9888 device please test this. I do not have these deceives to test this myself

[LEDE-DEV] test at91 target with kernel 4.9

2017-10-15 Thread Hauke Mehrtens
Hi, I added kernel 4.9 support for the at91 target, could someone please test this on some device if it is still working and report back so I can fix the problems or merge this to master. You can find my code here: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/at9

[LEDE-DEV] test omap target with kernel 4.9

2017-10-15 Thread Hauke Mehrtens
Hi, I added kernel 4.9 support for the omap target, could someone please test this on some device if it is still working and report back so I can fix the problems or merge this to master. You can find my code here: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/oma

Re: [LEDE-DEV] [PATCH] uboot-sunxi: Backport fix for stale CONFIG_SUNXIG_GMAC references

2017-10-15 Thread Hauke Mehrtens
muxing on e.g: Lamobo R1. >> >> Signed-off-by: Florian Fainelli > > Acked-by: Zoltan HERPAI Please refresh the patch and then Acked-by: Hauke Mehrtens > >> --- >> ...02-sunxi-Fix-CONFIG_SUNXI_GMAC-references.patch | 93 >> ++ >> 1

Re: [LEDE-DEV] [PATCH] ath10k-firmware: update QCA9888 and QCA4019 firmware

2017-10-15 Thread Hauke Mehrtens
On 10/14/2017 05:35 PM, Christian Lamparter wrote: > On Saturday, October 14, 2017 11:24:24 AM CEST Hauke Mehrtens wrote: >> This updates the firmware files for the QCA9888 and QCA4019 >> chips to a more recent version which is also used in the linux-firmware >> repository

Re: [LEDE-DEV] [PATCH v2] ath10k-ct driver: use dma_alloc_coherent, 4.13 based driver

2017-10-15 Thread Hauke Mehrtens
On 10/12/2017 11:52 PM, Ben Greear wrote: > On 10/12/2017 01:46 PM, Hauke Mehrtens wrote: > >> I fixed this by backporting this commit from kernel 4.14: >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0cc00f250e19c717fc9cdbdb7f55aaa569c7498

[LEDE-DEV] ar71xx use kernel 4.9 by default

2017-10-15 Thread Hauke Mehrtens
Hi, I added support for kernel 4.9 to the ar71xx target some days ago and it was tested by multiple people. The only regression in kernel 4.9 compared to 4.4, I am aware of was this performance regression reported by Sven Schönhoff: http://lists.infradead.org/pipermail/lede-dev/2017-October/00925

[LEDE-DEV] [RFC] at91: fix build of legacy target

2017-10-15 Thread Hauke Mehrtens
Changing the order of the devices fixes the build problem seen by the build bot. I do not understand why this is making any difference at all, this is probably only hiding a different bug. Signed-off-by: Hauke Mehrtens --- Without this patch I am getting the following error message: cat /home

Re: [LEDE-DEV] [RFC] at91: fix build of legacy target

2017-10-16 Thread Hauke Mehrtens
On 10/16/2017 10:03 AM, Mathias Kresin wrote: > 16.10.2017 00:44, Hauke Mehrtens: >> Changing the order of the devices fixes the build problem seen by the >> build bot. I do not understand why this is making any difference at all, >> this is probably only hiding a different

[LEDE-DEV] meetup for beer in Prague

2017-10-18 Thread Hauke Mehrtens
Hi, We have ELCE and the OpenWrt summit next week in Prague and a lot of people will be there. I would like to have a meeting next Wednesday evening 25. October 2017 in Prague, like we did it last year at c-base: http://lists.infradead.org/pipermail/lede-dev/2016-October/003229.html I do not kno

Re: [LEDE-DEV] test at91 target with kernel 4.9

2017-10-19 Thread Hauke Mehrtens
Hi, HTML mails are rejected by the mailing list, please post in plain text next time. On 10/19/2017 02:00 AM, sandeepsheriker.mallikar...@microchip.com wrote: > Hi Hauke, > >   With respect to adding kernel 4.9 support and below are the steps I > fallowed to build and get some error's > > 1.   

Re: [LEDE-DEV] meetup for beer in Prague

2017-10-19 Thread Hauke Mehrtens
On 10/18/2017 08:58 PM, Hauke Mehrtens wrote: > Hi, > > We have ELCE and the OpenWrt summit next week in Prague and a lot of > people will be there. > > I would like to have a meeting next Wednesday evening 25. October 2017 > in Prague, like we did it last y

Re: [LEDE-DEV] [PATCH] musl: update to 1.1.17

2017-10-21 Thread Hauke Mehrtens
On 10/21/2017 07:03 AM, Syrone Wong wrote: > Hi, > > I tested commits between 39db00afadc9d8d0456c46eab42b8cb8ff9f375c and > c10bc61508dc52b8315084e628f36a6c3c2dabb1. > > Finally, I find 8c4be3e is causing the problem. 565dbee is the last one > working. > > > Commands below for every libc ipk.

Re: [LEDE-DEV] [PATCH] musl: update to 1.1.17

2017-10-21 Thread Hauke Mehrtens
On 10/21/2017 11:58 AM, Hauke Mehrtens wrote: > On 10/21/2017 07:03 AM, Syrone Wong wrote: >> Hi, >> >> I tested commits between 39db00afadc9d8d0456c46eab42b8cb8ff9f375c and >> c10bc61508dc52b8315084e628f36a6c3c2dabb1. >> >> Finally, I find 8c4be3e is causi

Re: [LEDE-DEV] kernel 4.9 migration for next release

2017-10-22 Thread Hauke Mehrtens
On 10/02/2017 09:18 PM, Hauke Mehrtens wrote: > For the next major LEDE release after 17.01 all targets should be on > kernel 4.9, otherwise they will most likely not be included in the release. > > The following targets are on kernel 4.9 and are fine: > * apm821xx > *

[LEDE-DEV] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Hauke Mehrtens
Hi, I am working on merging the missing commits from the OpenWrt git repository into the LEDE repository. Here is a list of all non merge commits from the OpenWrt git repository and their corresponding LEDE commit IDs: https://github.com/hauke/openwrt-lede-merge/blob/master/commits.csv I only lo

Re: [LEDE-DEV] [PATCH 2/9] package: kernel: dtc: Add device tree compiler package

2017-10-22 Thread Hauke Mehrtens
On 10/22/2017 10:21 PM, Zoltan HERPAI wrote: > From: Marek Vasut > > Add package with the DT compiler v1.4.1 . > > Signed-off-by: Marek Vasut This package is already in the package feed: https://github.com/openwrt/packages/blob/master/libs/dtc/Makefile

Re: [LEDE-DEV] [PATCH 0/9] merge: add missing devices / commits into LEDE

2017-10-22 Thread Hauke Mehrtens
0644 > package/kernel/dtc/patches/0001-scripts-dtc-Update-to-version-with-overlays.patch > create mode 100644 > target/linux/ar71xx/files/arch/mips/ath79/mach-anonabox-pro.c > create mode 100644 > target/linux/ar71xx/files/arch/mips/ath79/mach-cf-e214n-v2.c > create

Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Hauke Mehrtens
On 10/22/2017 10:28 PM, Zoltan HERPAI wrote: > Hi, > > Zoltan HERPAI wrote: >> Hi Hauke, >> >> On Sun, 22 Oct 2017, Hauke Mehrtens wrote: >> >>> I am working on merging the missing commits from the OpenWrt git >>> repository into the LEDE

Re: [LEDE-DEV] meetup for beer in Prague

2017-10-22 Thread Hauke Mehrtens
On 10/19/2017 10:18 PM, Hauke Mehrtens wrote: > On 10/18/2017 08:58 PM, Hauke Mehrtens wrote: >> Hi, >> >> We have ELCE and the OpenWrt summit next week in Prague and a lot of >> people will be there. >> >> I would like to have a meeting next Wednesday even

Re: [LEDE-DEV] [PATCH 13/13] sunxi: Add A64 support with cortex53 subtarget

2017-10-23 Thread Hauke Mehrtens
Hi Baptiste, On 10/23/2017 08:17 PM, Baptiste Jonglez wrote: > Hi Hauke, > > On 03-08-17, Hauke Mehrtens wrote: >> This adds initial support for the A64 Allwinner SoC to LEDE. >> It will be build in the new cortexa53 subtarget. >> >> Currently it only supports th

Re: [LEDE-DEV] Support for TP-Link Archer C7 1750 v4.0

2017-10-23 Thread Hauke Mehrtens
On 10/23/2017 09:43 PM, Emmanuel Grumbach wrote: > On Mon, Oct 23, 2017 at 9:50 PM, Emmanuel Grumbach > wrote: >> On Mon, Oct 23, 2017 at 8:30 PM, Baptiste Jonglez >> wrote: >>> Hi, >>> >>> On 23-10-17, Emmanuel Grumbach wrote: I just bought a TP-Link Archer C7 AC1750 and got the v4.0 versi

Re: [LEDE-DEV] [source] ar71xx: deactivate some boards with too small kernel partitions

2017-10-23 Thread Hauke Mehrtens
t;> https://git.lede-project.org/f7a6fd31539be54d14d7c52b491b40b26bf8f740 >> >> commit f7a6fd31539be54d14d7c52b491b40b26bf8f740 >> Author: Hauke Mehrtens >> AuthorDate: Sun Oct 22 23:10:08 2017 +0200 >> >> ar71xx: deactivate some boards with too small

Re: [LEDE-DEV] [OpenWrt-Devel] merge: add OpenWrt branding

2017-10-24 Thread Hauke Mehrtens
On 10/24/2017 09:47 PM, Hans Dedecker wrote: > On Tue, Oct 24, 2017 at 7:17 PM, Mathias Kresin wrote: >> 2017-10-24 16:59 GMT+02:00 Zoltan HERPAI : >>> Hi Jo, >>> >>> On Tue, 24 Oct 2017, Jo-Philipp Wich wrote: >>> Hi, comments inline. > Signed-off-by: Imre Kaloz

Re: [LEDE-DEV] meetup for beer in Prague

2017-10-24 Thread Hauke Mehrtens
On 10/23/2017 12:55 AM, Hauke Mehrtens wrote: > On 10/19/2017 10:18 PM, Hauke Mehrtens wrote: >> On 10/18/2017 08:58 PM, Hauke Mehrtens wrote: >>> Hi, >>> >>> We have ELCE and the OpenWrt summit next week in Prague and a lot of >>> people will be there

Re: [LEDE-DEV] [PATCH v2] merge: add OpenWrt branding

2017-11-02 Thread Hauke Mehrtens
On 10/26/2017 09:05 PM, Dave Taht wrote: > Hannu Nyman writes: > >> Zoltan HERPAI kirjoitti 26.10.2017 klo 18:41: >>> + - >>> + * 2 oz. Orange Juice Combine all juices in a >>> + * 2 oz. Pineapple Juice tall glass filled with >>

Re: [LEDE-DEV] [PATCH v3] merge: add OpenWrt branding

2017-11-05 Thread Hauke Mehrtens
Thanks for this good work Zoltan, this is not any easy patch. On 11/04/2017 07:04 PM, Zoltan HERPAI wrote: > Given that we've decided to sail under the same flag for > the benefit of the whole community, and acknowledge the > achievements of the LEDE project, let's start the final > steps of the m

Re: [LEDE-DEV] [PATCH v4 0/8] merge: add OpenWrt branding

2017-11-07 Thread Hauke Mehrtens
ssid > merge: packages: update branding in core packages > merge: busybox: update CONFIG_NSLOOKUP in busybox config and > respective patch > merge: uhttpd: update cert generation to match system defaults > merge: etc: update remaining files Acked-by: Hauke Mehrtens

Re: [LEDE-DEV] [PATCH 1/2] firmware-utils: add otrx tool for handling TRX images

2017-11-15 Thread Hauke Mehrtens
ł Miłecki Please fix the minor bugs, but this looks better than the old solution. Acked-by: Hauke Mehrtens > --- > tools/firmware-utils/Makefile | 1 + > tools/firmware-utils/src/otrx.c | 595 > > 2 files changed, 596 insertions(+) >

Re: [LEDE-DEV] [PATCH 3/3] otrx: add support for -A (append) and -a (align) options

2017-11-15 Thread Hauke Mehrtens
24 insertions(+), 1 deletion(-) > Acked-by: Hauke Mehrtens for all patches, I commended in the full patch, but mostly on old code. Hauke ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] regdb.txt

2017-11-20 Thread Hauke Mehrtens
On 11/20/2017 10:54 PM, Mauro Mozzarelli wrote: > Where is regdb.txt gone? Has it been replaced by a file with a different > name? It was moved in this pull request: https://git.lede-project.org/a8d751c243b9d840b97293b289adddb0df438358 Hauke ___ Lede-de

Re: [LEDE-DEV] [OpenWrt-Devel] State of Linux 4.14 in LEDE/OpenWrt?

2017-11-23 Thread Hauke Mehrtens
On 11/22/2017 07:14 PM, Shankar Unni wrote: > Just enquiring about the status of Linux 4.14 support for LEDE/OpenWrt, > now that it's been released and gone into the LTS phase (i.e. is it > being worked on by anyone currently?). > > Much thanks in advance, Hi Shankar, I am currently working on k

Re: [LEDE-DEV] [PATCH 2/2] kernel: Update kernel 4.4 to 4.4.100

2017-11-23 Thread Hauke Mehrtens
On 11/23/2017 10:18 PM, Rosen Penev wrote: > Run-tested on ramips > > Signed-off-by: Rosen Penev > --- > .../ar71xx/patches-4.4/910-unaligned_access_hacks.patch | 6 +++--- > target/linux/gemini/patches-4.4/150-gemini-pata.patch| 2 +- > ...PS-store-the-appended-dtb-address-in-a-variable.

[LEDE-DEV] [RFC 07/26] kernel: add kmod-dax

2017-11-26 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 --- package/kernel/linux/modules/block.mk | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/module

[LEDE-DEV] [RFC 00/26] Add support for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
options set to the wrong value and some patches probably still have some problems. Hauke Mehrtens (26): 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: generic: make patches apply on top of

[LEDE-DEV] [RFC 09/26] kernel: add kmod-crypto-acompress

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-crypto-deflate depends on kmod-crypto-acompress. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules

[LEDE-DEV] [RFC 01/26] kernel: generic: add some more 4.9 configure options

2017-11-26 Thread Hauke Mehrtens
These are taken from the x86 target and should make support kernel 4.9 and 4.14 in the x86 target easier. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.9 | 9 + 1 file changed, 9 insertions(+) diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config

[LEDE-DEV] [RFC 02/26] x86: refresh configuration

2017-11-26 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 --- target/linux/x86/64/config-default | 10 -- target/linux/x86/generic/config-default | 7 --- target/linux/x86/geode

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

2017-11-26 Thread Hauke Mehrtens
This package also compiles with kernel 4.14. Signed-off-by: Hauke Mehrtens --- 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 396ee7fbe4..8990e54813 100644

[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 --- package/kernel/kmod-sched-cake/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/kmod-sched-cake/Makefile b

[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 --- 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/fs.mk index 1e130ddac6

[LEDE-DEV] [RFC 05/26] kernel: tg3: deactivate hwmon for kernel 4.14

2017-11-26 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 --- package/kernel/linux/modules/netdevices.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package

[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 --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules

[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 --- package/kernel/linux/modules/netsupport.mk | 8 ++-- 1

[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 --- package/kernel/linux/modules/lib.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux

[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 --- package/kernel/linux/modules/crypto.mk | 22 -- 1 file

[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 --- package/kernel/linux/modules/netsupport.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package

[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 --- 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 diff --git a/package

[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 --- 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/modules/sound.mk index

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

2017-11-26 Thread Hauke Mehrtens
This fixes multiple compile problems seen with kernel 4.14. Signed-off-by: Hauke Mehrtens --- .../utils/xtables-addons/patches/001-fix-compile.patch| 11 +++ .../xtables-addons/patches/201-fix-lua-packetscript.patch | 9 + 2 files changed, 20 insertions(+) create

[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 --- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/lib.mk | 22 ++ 2 files changed, 23 insertions(+), 1 deletion

[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 --- include/kernel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[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 --- 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/modules/other.mk index

[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 --- 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 index b3ad4a051e..ef2740296a

[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 --- target/linux/x86/config-4.14 | 488 + .../x86/patches-4.14/011

[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 --- package/kernel/linux/modules/video.mk | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package/kernel/linux/modules/video.mk b/package

[LEDE-DEV] [RFC 11/26] kernel: add kmod-crypto-ecdh

2017-11-26 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 --- package/kernel/linux/modules

[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 --- target/linux/x86/64/config-default

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 12:45,

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 : > >> This fixes multiple compile problems seen with kernel 4.14. > > Comments inline. > >> Signed-off-by: Hauke Mehrtens >> --- >>  .../utils/xtables-addons/pa

[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 --- package/kernel/linux/modules/block.mk | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/module

[LEDE-DEV] [PATCH 02/25] kernel: generic: add some more 4.9 configure options

2017-12-10 Thread Hauke Mehrtens
These are taken from the x86 target and should make support kernel 4.9 and 4.14 in the x86 target easier. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.9 | 9 + 1 file changed, 9 insertions(+) diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config

[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 --- package/kernel/linux/modules/netdevices.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package

[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 --- 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/utils/xtables-addons

[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 --- package/kernel/linux/modules/crypto.mk | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules

[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 --- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/lib.mk | 22 ++ 2 files changed, 23 insertions(+), 1 deletion

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

2017-12-10 Thread Hauke Mehrtens
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 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 --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules

[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 --- target/linux/x86/64/config-default | 10 -- target/linux/x86/generic/config-default | 7 --- target/linux/x86/geode

[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 --- package/kernel/linux/modules/netsupport.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package

[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 --- package/kernel/linux/modules/lib.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux

[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 --- .../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-fix-lua-packetscript.patch b

[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 --- 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/modules/other.mk index

[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 --- 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/fs.mk index 1e130ddac6

[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 --- package/kernel/linux/modules/crypto.mk | 22 -- 1 file

<    1   2   3   4   5   >