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

2017-12-21 Thread Etienne Haarsma
Bump 4.4 to 4.4.107 and refreshed all patches. Made the following patch for Mediatek and Oxnas compatible with kernel 4.4.107: 0072-mtd-backport-v4.7-0day-patches-from-Boris.patch Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma ---

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

[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] odhcpd: Replace strerror(errno) with %m format

2017-12-21 Thread Rosen Penev
All of the C libraries supported by LEDE (now Openwrt) support %m. That's glibc, musl, and uclibc-ng. I have no idea about external toolchains or if they're in scope. On Thu, Dec 21, 2017 at 9:22 AM, Michael Heimpold wrote: > Hi, > > according to my installed man page, %m is a

[LEDE-DEV] [PATCH 5/7] firmware-tools/ptgen: improve error messages on failures

2017-12-21 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- tools/firmware-utils/src/ptgen.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index af14d73..3e1b8ba 100644 ---

[LEDE-DEV] [PATCH 0/7] firmware-tools/ptgen: minor fixes and improvements

2017-12-21 Thread Michael Heimpold
When playing with the partition layout of a new device, I found some room for improvement of ptgen. This series first adjusts some coding style issues of the sources - at least it improves it in my eyes :-) The last two changes are the real fixes/improvements, see individual commit messages for

[LEDE-DEV] [PATCH 6/7] firmware-tools/ptgen: fix start sector calculation

2017-12-21 Thread Michael Heimpold
Consider the following example: $ ./ptgen -v -a 0 -h 255 -s 63 -l 1024 -o test2.img -p 3M -p 128M -p 128M Partition 0: start=1048576, end=4194304, size=3145728 1048576 3145728 Partition 1: start=5242880, end=139460608, size=134217728 5242880 134217728 Partition 2: start=140509184, end=274726912,

Re: [LEDE-DEV] Patch refresh issues - mystery whitespace

2017-12-21 Thread Kevin Darbyshire-Bryant
> On 20 Dec 2017, at 08:44, Kevin Darbyshire-Bryant > wrote: > > > >> On 17 Dec 2017, at 09:57, Kevin Darbyshire-Bryant >> wrote: >> >> Dear Illuminati, >> >> I have a bit of a mystery with patch refreshes, namely that I’m

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

2017-12-21 Thread Roman Yeryomin
On 2017-12-18 20:47, Mathias Kresin wrote: 18.12.2017 10:48, Roman Yeryomin: On 2017-12-18 09:58, Mathias Kresin wrote: 17.12.2017 19:30, Roman Yeryomin: This is needed for procd init script protection to work. flock adds 4248 bytes to stripped busybox binary. Signed-off-by: Roman Yeryomin

[LEDE-DEV] [PATCH] base-files: rc.common: fix enable() return code and logic

2017-12-21 Thread Roman Yeryomin
In current state, if there is STOP but no START, enbale() will return 0 (success), which is wrong. Moreover there is no need to check for START/STOP twice. Instead, add err variable to save success state and and return it's value. Also eliminate the need to disable() by using 'ln -sf', which will

[LEDE-DEV] [PATCH 7/7] firmware-tools/ptgen: allow individual partition alignment

2017-12-21 Thread Michael Heimpold
At the moment, the alignment parameter can only be given once and affects all partitions the same way. For example, it's not possible to align the first partition to 1 MiB start offet, while aligning the next ones to a 4 MiB boundary. This can be useful for example when defining a small

Re: [LEDE-DEV] [PATCH 1/4] firmware: ath10k-firmware: update QCA4019 firmware to 10.4-3.2.1-00058

2017-12-21 Thread Roman Yeryomin
On 2017-12-20 23:35, Matthew McClintock wrote: On Tue, Nov 21, 2017 at 9:06 AM, Roman Yeryomin wrote: 2. the pre-cal-ahb-a80.wifi.bin and pre-cal-ahb-a00.wifi.bin don't get loaded or the pre-cal* data is shifted/trimmed/mangled/bad. For 2. you should check if the

[LEDE-DEV] [PATCH 4/7] firmware-tools/ptgen: change some variable types to prevent casts

2017-12-21 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- tools/firmware-utils/src/ptgen.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index b5e317d..af14d73 100644 ---

[LEDE-DEV] [PATCH 1/7] firmware-tools/ptgen: fix minor coding style issues

2017-12-21 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- tools/firmware-utils/src/ptgen.c | 60 +++- 1 file changed, 34 insertions(+), 26 deletions(-) diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index 8466d35..93d66eb 100644

[LEDE-DEV] [PATCH 3/7] firmware-tools/ptgen: use portable exit codes

2017-12-21 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- tools/firmware-utils/src/ptgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index ff97cd5..b5e317d 100644 ---

[LEDE-DEV] [PATCH 2/7] firmware-tools/ptgen: do not truncate the output file

2017-12-21 Thread Michael Heimpold
At the moment, the image file operated on is always truncated to 512 bytes. This limits the usage of ptgen somewhat. This change allows to use ptgen on existing, larger image files. In this case, only the partition table is written/updated while the rest of the image file is left alone.

Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.107 for master

2017-12-21 Thread Rosen Penev
On Thu, Dec 21, 2017 at 11:12 AM, Kevin Darbyshire-Bryant wrote: > Refresh patches. > > Update patch that no longer applied: > oxnas/0072-mtd-backport-v4.7-0day-patches-from-Boris.patch > > Signed-off-by: Kevin Darbyshire-Bryant

[LEDE-DEV] [PATCH uci 2/2] list: remove unncessary increment of n_section (FS#1182)

2017-12-21 Thread Hans Dedecker
The package n_section counter is already incremented in uci_alloc_section; so no need to increment it again in uci_fixup_section. Signed-off-by: Hans Dedecker --- Output of uci -n export foo before the fix package foo config foo 'cfg027389' config foo 'cfg047389' config bar

[LEDE-DEV] [PATCH uci 1/2] file: remove unnecessary uci_fixup_section calls

2017-12-21 Thread Hans Dedecker
This makes it clear uci_fixup_section only needs to be called in uci_add_section when an unnamed section is added. Before it was a bit misleading when walking through the code seeing uci_fixup_section being called in uci_parse_config and uci_import. When uci config is parsed via these functions

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

2017-12-21 Thread Stijn Segers
Compile-tested on: ar71xx, ramips/mt7621, x86/64. Run-tested on: ramips/mt7621. Tested-by: Stijn Segers ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH 5/6] firmware: ath10k-firmware: update QCA9887 firmware to 10.2.4-1.0-00033

2017-12-21 Thread Christian Lamparter
This patch updates ath10k-firmware to use the firmware-5.bin_10.2.4-1.0-00033 firmware for the QCA9887. Cc: Hauke Mehrtens Signed-off-by: Christian Lamparter --- Can anyone test it? --- package/firmware/ath10k-firmware/Makefile | 2 +- 1 file changed, 1

Re: [LEDE-DEV] [PATCH 1/4] firmware: ath10k-firmware: update QCA4019 firmware to 10.4-3.2.1-00058

2017-12-21 Thread Matthew McClintock
On Thu, Dec 21, 2017 at 11:36 AM, Roman Yeryomin wrote: > On 2017-12-20 23:35, Matthew McClintock wrote: >> >> On Tue, Nov 21, 2017 at 9:06 AM, Roman Yeryomin wrote: > > > 2. the pre-cal-ahb-a80.wifi.bin and pre-cal-ahb-a00.wifi.bin >

[LEDE-DEV] [PATCH 2/6] firmware: ath10k-firmware: update QCA4019 firmware to 10.4-3.4-00104

2017-12-21 Thread Christian Lamparter
This patch updates ath10k-firmware to use the firmware-5.bin_10.4-3.4-00104 firmware for the QCA4019. Cc: Hauke Mehrtens Signed-off-by: Christian Lamparter --- package/firmware/ath10k-firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[LEDE-DEV] [PATCH 6/6] firmware: ath10k-firmware: update QCA988x firmware to 10.2.4-1.0-00033

2017-12-21 Thread Christian Lamparter
This patch updates ath10k-firmware to use the firmware-5.bin_10.2.4-1.0-00033 firmware for the QCA988x. Cc: Hauke Mehrtens Signed-off-by: Christian Lamparter --- package/firmware/ath10k-firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[LEDE-DEV] [PATCH 1/6] firmware: ath10k-firmware: update to 2017-12-20

2017-12-21 Thread Christian Lamparter
This update automatically includes a new firmware for the QCA6174: firmware-6.bin_WLAN.RM.4.4.1-00079-QCARMSWPZ-1 Cc: Ansuel Smith Cc: Hauke Mehrtens Cc: Henryk Heisig Signed-off-by: Christian Lamparter --- @Ansuel Smith

[LEDE-DEV] [PATCH 3/6] firmware: ath10k-firmware: update QCA9984 firmware to 10.4-3.4-00104

2017-12-21 Thread Christian Lamparter
This patch updates ath10k-firmware to use the firmware-5.bin_10.4-3.4-00104 firmware for the QCA9984. Cc: Ansuel Smith Cc: Hauke Mehrtens Signed-off-by: Christian Lamparter --- package/firmware/ath10k-firmware/Makefile | 2 +- 1 file

[LEDE-DEV] [PATCH 4/6] firmware: ath10k-firmware: update QCA9888 firmware to 10.4-3.4-00104

2017-12-21 Thread Christian Lamparter
This patch updates ath10k-firmware to use the firmware-5.bin_10.4-3.4-00104 firmware for the QCA9888. Cc: Henryk Heisig Cc: Hauke Mehrtens Signed-off-by: Christian Lamparter --- Can anyone test it? ---

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

2017-12-21 Thread Kevin Darbyshire-Bryant
> On 21 Dec 2017, at 09:28, Etienne Haarsma wrote: > > Bump 4.4 to 4.4.107 and refreshed all patches. > Made the following patch for Mediatek and Oxnas compatible with kernel > 4.4.107: > 0072-mtd-backport-v4.7-0day-patches-from-Boris.patch > > Compile-tested: ar71xx

Re: [LEDE-DEV] [PATCH] odhcpd: Replace strerror(errno) with %m format

2017-12-21 Thread Michael Heimpold
Hi, according to my installed man page, %m is a Glibc extension. It seems that musl also supports it, but should/can we assume it for every C library? I have external toolchains in mind... Not an objection, just a question :-) mhei ___ Lede-dev

[LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.107 for master

2017-12-21 Thread Kevin Darbyshire-Bryant
Refresh patches. Update patch that no longer applied: oxnas/0072-mtd-backport-v4.7-0day-patches-from-Boris.patch Signed-off-by: Kevin Darbyshire-Bryant --- include/kernel-version.mk | 4 +--

[LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.71 for master

2017-12-21 Thread Kevin Darbyshire-Bryant
Refresh patches. Runtime tested: ar71xx - Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant --- include/kernel-version.mk | 4 ++-- ...700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch | 4 ++--

[LEDE-DEV] [PATCH v1 0/2] Update cake support on 17.01

2017-12-21 Thread Kevin Darbyshire-Bryant
There has been recent significant activity with the cake qdisc of late Some of that effort is related to upstreaming to kernel & iproute2 mainline but we're not quite there yet. This commit series updates cake and iproute's tc to include the latest cake ingredients: ingress mode & ack filtering

[LEDE-DEV] [PATCH v1 2/2] iproute2: cake: support new operating modes for 17.01

2017-12-21 Thread Kevin Darbyshire-Bryant
There has been recent significant activity with the cake qdisc of late Some of that effort is related to upstreaming to kernel & iproute2 mainline but we're not quite there yet. This commit teaches tc how to activate and interprete the latest cake operating modes, namely: ingress mode: Instead

[LEDE-DEV] [PATCH v1 1/2] kmod-sched-cake: bump to latest bake of cake for 17.01

2017-12-21 Thread Kevin Darbyshire-Bryant
There has been recent significant activity with the cake qdisc of late but in the cobalt branch. Some of that effort is related to upstreaming to kernel & iproute2 mainline but we're not quite there yet. Relevant feature changes: ingress mode: Instead of only counting packets that make it past