Re: [LEDE-DEV] [PATCH] kernel: Enable fadvise on older kernels.

2017-11-17 Thread John Crispin
On 12/11/17 01:50, Rosen Penev wrote: Any chance of this being backported to LEDE stable? should be ok, send a patch please     John On Sat, Nov 11, 2017 at 4:49 PM, Rosen Penev wrote: Backport of 56342ee2bcbf9bf8918a01045471c7bb7faa1596 for older kernels. Signed-off-by: Rosen Penev -

Re: [LEDE-DEV] [PATCH][opkg] add opkg option http_timeout

2017-12-12 Thread John Crispin
Hi Lynxis, patch is missing the SoB line. please fix/resend     John On 04/12/17 17:48, Alexander Couzens wrote: http_timeout will append `--timeout xy` to the resulting wget call. This is useful when using opkg update in a automatic way and prevent long timeouts --- libopkg/opkg_conf.c

Re: [LEDE-DEV] [PATCH] base-files: uci-defaults: do config flush in one shot

2017-12-12 Thread John Crispin
On 02/12/17 00:26, Roman Yeryomin wrote: Moving a file between tmpfs and other fs is neither faster nor safer, thus no point in doing it in two steps. Signed-off-by: Roman Yeryomin Hi Roman, The code needs to stay like this. the moment you start the command with redirection, the shell wil

[LEDE-DEV] [PATCH] base-files: add comment to uci-defaults.sh script

2017-12-12 Thread John Crispin
add comment explaining why we generate board.json in 2 steps Signed-off-by: John Crispin --- package/base-files/files/lib/functions/uci-defaults.sh | 4 1 file changed, 4 insertions(+) diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib

Re: [LEDE-DEV] [PATCH] ar71xx: add support for Comfast CF-E312A V2

2017-12-12 Thread John Crispin
Hi, two comments inline ... On 06/12/17 20:37, bmoff...@bmoffitt.com wrote: The Comfast CF-E312A V2 is a 5 GHz radio with a built-in directional antenna, much like a Ubiquiti NanoStation M5. Specifiation: - SoC: AR9344 at 650 MHz - Flash: 16 MiB (W25Q128FVSG) - RAM: 64 MiB DDR2 (W9751G6KB) -

Re: [LEDE-DEV] [PATCH] jshn: add functionality to read big JSON

2017-12-12 Thread John Crispin
Hi Christian, small formatting nitpick inline ... On 16/11/17 19:52, Christian Beier wrote: The existing read functionality feeds the complete JSON to jshn as a cmdline argument, leading to `-ash: jshn: Argument list too long` errors for JSONs bigger than ca. 100KB. This commit adds the abili

Re: [LEDE-DEV] [PATCH 1/2] tools/sstrip: Fix compile under standard linux.

2017-12-12 Thread John Crispin
On 23/11/17 22:18, Rosen Penev wrote: bswap32 undefined is the issue. Added the proper header. Also fixed a few format/conversion warnings that clang complained about without -Wall or -Wextra. the description is sub optimal and more than 75 chars. please add the full error output of your co

Re: [LEDE-DEV] [PATCH] base-files: uci-defaults: do config flush in one shot

2017-12-12 Thread John Crispin
On 12/12/17 12:37, Felix Fietkau wrote: On 2017-12-12 11:19, John Crispin wrote: On 02/12/17 00:26, Roman Yeryomin wrote: Moving a file between tmpfs and other fs is neither faster nor safer, thus no point in doing it in two steps. Signed-off-by: Roman Yeryomin Hi Roman, The code needs

Re: [LEDE-DEV] [netifd] Fix incorrect eui64 IPv6 address with ula prefix for br-lan

2017-12-12 Thread John Crispin
On 04/12/17 07:04, wendy2001...@163.com wrote: From: Wendy Wu Issue description: Configurate /etc/config/network, Set the ula_prefix in globals section, config globals 'globals' option ula_prefix 'fdc7:8830:f3be::/48' Add the following option in 'lan' interface, option ip6ifaceid 'eu

[LEDE-DEV] [PATCH] base-files: allow skipping of hash verification

2017-12-12 Thread John Crispin
ly if provided hash is unsupported") Signed-off-by: Baptiste Jonglez Signed-off-by: Jo-Philipp Wich Acked-by: Stijn Tintel Signed-off-by: John Crispin --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.pl b/scripts/download.pl index

Re: [LEDE-DEV] [PATCH] firewall3: Enable TCP_ECN by default.

2017-12-12 Thread John Crispin
On 03/10/17 09:16, Rosen Penev wrote: ECN is used by fq_codel and other AQMs. Kernel 4.2 added a fallback in case of failure, so adjust to kernel default. Signed-off-by: Rosen Penev --- defaults.c | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults.c b/defaults.c index 85a3750..6

Re: [LEDE-DEV] [PATCH] base-files: allow skipping of hash verification

2017-12-12 Thread John Crispin
On 12/12/17 16:13, Jo-Philipp Wich wrote: Hi John, thanks for taking care of it. I have a minor change request, can we swap "none" with "skip"? I think that makes slightly more sense in this context. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.in

Re: [LEDE-DEV] ar71xx: latest WAN LED commit, "TL_WR1043_V5_GPIO_LED_WANORANGE" is undefined

2017-12-14 Thread John Crispin
On 14/12/17 10:42, Dirk Brenken wrote: Hi, this commit https://git.lede-project.org/?p=source.git;a=commit;h=25699 0cbc0157feb8a9f37efeebf0330ab73727f will probably lead into a compile error. "TL_WR1043_V5_GPIO_LED_WANORANGE" is undefined. br dirk ___

Re: [LEDE-DEV] [PATCH] kernel: add kmod-fou

2017-12-15 Thread John Crispin
Hi Filip please resend a V2 with a description of what the patch/module actually does     John On 13/12/17 22:35, Filip Moc wrote: Signed-off-by: Filip Moc --- package/kernel/linux/modules/netsupport.mk | 22 ++ 1 file changed, 22 insertions(+) diff --git a/package/ke

Re: [LEDE-DEV] [PATCH v2] kernel: add kmod-fou

2017-12-19 Thread John Crispin
On 17/12/17 18:44, Filip Moc wrote: Once installed fou kernel module allows you to use FOU (Foo over UDP) and GUE (Generic UDP encapsulation) tunnel protocols. To get ip fou command working you also need to install ip-full. Signed-off-by: Filip Moc Hi Filip, sorry for nitpicking ... but ..

Re: [LEDE-DEV] [PATCH fstools] libblkid-tiny: add support for NTFS superblock

2017-12-29 Thread John Crispin
On 25/12/17 20:52, Rafał Miłecki wrote: From: Rafał Miłecki Its copied from the util-linux project and its libblkid. Call to the blkid_probe_set_utf8label was commented out due to libblkid-tiny not supporting it yet. Signed-off-by: Rafał Miłecki Acked-by: John Crispin

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

2017-12-29 Thread John Crispin
Hi Kevin, fails to apply for me ?!     John On 26/12/17 20:30, Kevin Darbyshire-Bryant wrote: Refresh patches. Signed-off-by: Kevin Darbyshire-Bryant --- include/kernel-version.mk | 4 ++-- target/linux/generic/patches-4.4/653-disable_netlink_t

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

2017-12-29 Thread John Crispin
On 30/12/17 00:22, John Crispin wrote: Hi Kevin, fails to apply for me ?!     John my bad, applied, Thanks !     John On 26/12/17 20:30, Kevin Darbyshire-Bryant wrote: Refresh patches. Signed-off-by: Kevin Darbyshire-Bryant --- include/kernel-version.mk | 4 ++-- target/linux/generic

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

2018-01-01 Thread John Crispin
On 21/12/17 23:59, Michael Heimpold wrote: At the moment, the image file operated on is always truncated to 512 bytes. This limits the usage of ptgen somewhat. O_TRUNC truncates to 0 and not 512 ?!     John This change allows to use ptgen on existing, larger image files. In this case, onl

Re: [LEDE-DEV] [PATCH] kexec-tools: fix non-device tree devices on mips

2018-01-01 Thread John Crispin
On 26/12/17 12:47, Konstantin Kuzov wrote: Add additional argument '--no-dtb' which disables device tree search in currently loaded kernel. Signed-off-by: Konstantin Kuzov Hi, could you please rework this patch such that 140-mips_disable_devicetree_support.patch is fully annotated. also p

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

2018-01-01 Thread John Crispin
On 01/01/18 17:33, Michael Heimpold wrote: Hi John, Am Montag, 1. Januar 2018, 12:12:35 CET schrieb John Crispin: On 21/12/17 23:59, Michael Heimpold wrote: At the moment, the image file operated on is always truncated to 512 bytes. This limits the usage of ptgen somewhat. O_TRUNC

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2018-01-04 Thread John Crispin
On 04/01/18 13:17, Kristian Evensen wrote: On Thu, Oct 19, 2017 at 3:02 PM, Kristian Evensen wrote: When SIGTERM times out, procd sends SIGKILL and then restarts the process once SIGCHLD has been received. This all works fine, with one exception - respawn is not restored when instance_start()

[LEDE-DEV] owrt landing page

2018-01-05 Thread John Crispin
Hi, could someone please help us with rebranding the lede landing page to an openwrt colour/theme ? i would like to see this swithced over within the next 7 days. John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.o

Re: [LEDE-DEV] [OpenWrt-Devel] owrt landing page

2018-01-10 Thread John Crispin
call really.     John Thomas -Ursprüngliche Nachricht- Von: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] Im Auftrag von Thomas Endt Gesendet: Samstag, 6. Januar 2018 18:06 An: 'John Crispin'; 'LEDE Development List'; 'LEDE Project Administrati

Re: [LEDE-DEV] [PATCH v3] ar71xx: add ew-balin platform from Embedded Wireless

2018-01-12 Thread John Crispin
Hi, few small comments inline. On 11/01/18 11:27, Catrinel Catrinescu wrote: Add the Embedded Wireless "Balin" platform, based on AR9344: http://www.embeddedwireless.de/uploads/Balin_data_2016_10.pdf Can you please write the HW spec into the commit message ? the PDF link might be gone one d

Re: [LEDE-DEV] [PATCH] imx6: add support for the intel gbit driver on GW5520

2018-01-12 Thread John Crispin
On 12/01/18 11:44, Koen Vandeputte wrote: The Gateworks GW5520 board uses 2x intel gigabit phy's, instead of the internal i.MX6 FEC phy. Hi, e100e is a MAC and not a PHY. please fix up the description.     John Add support for these. Signed-off-by: Scott V. Kamp Signed-off-by: Koen Van

Re: [LEDE-DEV] [PATCH 1/1] at91: update kernel 4.9.73 to 4.14.11

2018-01-12 Thread John Crispin
On 08/01/18 23:21, Sandeep Sheriker Mallikarjun wrote: update at91 kernel 4.9.73 to 4.14.11 Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/Makefile | 2 +- target/linux/at91/{config-4.9 => config-4.14} | 6 +++

Re: [LEDE-DEV] Collecting issues on github

2018-01-13 Thread John Crispin
On 12/01/18 20:03, Ted Hess wrote: Hi folks, I would like to propose we close the issues tab on the github/openwrt/openwrt source repository as we did for the lede-project/source repo. We can continue to re-direct people to our bug-tracker for the mainline sources. The packages repo remai

Re: [LEDE-DEV] [PATCH v4] ar71xx: add ew-balin platform from Embedded Wireless

2018-01-13 Thread John Crispin
Hi, patch is whitespace mangled and does not apply. How did you send the patch ? [...] --- a/target/linux/ar71xx/config-4.4 +++ b/target/linux/ar71xx/config-4.4 @@ -109,6 +109,7 @@ CONFIG_ATH79_MACH_ENS202EXT=y CONFIG_ATH79_MACH_EPG5000=y CONFIG_ATH79_MACH_ESR1750=y CONFIG_ATH79_MACH_ESR9

Re: [LEDE-DEV] [PATCH] procd: add timing to start/stop logging

2018-01-17 Thread John Crispin
On 16/01/18 10:49, Karl Vogel wrote: Shows how long an initd task took, for example: procd: stop /etc/init.d/dropbear running - took 0.088824 us procd: Update service dnsmasq procd: Update instance dnsmasq::dnsmasq procd: running /etc/init.d/dnsmasq running procd: start /etc/init.d/d

Re: [LEDE-DEV] [PATCH] ar71xx: add support for Ubiquiti Litebeam M5

2018-01-17 Thread John Crispin
On 16/01/18 21:43, Arne Zachlod wrote: Specification: - SoC: Atheros AR9342 - Flash: 8 MiB - RAM: 64 MiB - UART: 1x UART on PCB - 115200 8N1 - Ethernet: 1 x 100 Mbit with passive PoE (24V/0.2A) Doesn't work: * Flash via TFTP with Uiquiti Uboot Installation via vendor firmware: - upload factor

Re: [LEDE-DEV] [PATCH] ipq806x: replace linux, part-probe with a proper partitions subnode

2018-01-17 Thread John Crispin
by a LEDE downstream patch that can't be upstreamed. [...] Tested-by: Stefan Lippers-Hollmann Acked-by: John Crispin [0.00] OF: fdt:Machine model: ZyXEL NBG6817 ... [0.00] Kernel command line: rootfstype=squashfs,ext4 rootwait noinitrd root=/dev/mmcblk0p8 [

Re: [LEDE-DEV] [PATCH] jshn: add functionality to read big JSON

2018-01-17 Thread John Crispin
On 07/01/18 18:08, Christian Beier wrote: The existing read functionality feeds the complete JSON to jshn as a cmdline argument, leading to `-ash: jshn: Argument list too long` errors for JSONs bigger than ca. 100KB. This commit adds the ability to read the JSON directly from a file if wanted,

Re: [LEDE-DEV] [PATCH 9/9] cns3xxx: remove linux 4.9 support

2018-01-17 Thread John Crispin
Hi merged the first 8 patches, please rework this to additionally fold the irq imbalance patch into the files/... dir     John On 11/01/18 16:04, Koen Vandeputte wrote: Signed-off-by: Koen Vandeputte --- target/linux/cns3xxx/config-4.9| 300 - ...

Re: [LEDE-DEV] [PATCH] jshn: add functionality to read big JSON

2018-01-17 Thread John Crispin
On 17/01/18 10:44, Arjen de Korte wrote: Citeren John Crispin : On 07/01/18 18:08, Christian Beier wrote: The existing read functionality feeds the complete JSON to jshn as a cmdline argument, leading to `-ash: jshn: Argument list too long` errors for JSONs bigger than ca. 100KB. This

Re: [LEDE-DEV] [PATCH v2] procd: add timing to start/stop logging

2018-01-17 Thread John Crispin
On 17/01/18 10:54, Koen Vandeputte wrote: On 2018-01-17 10:43, Karl Vogel wrote: Shows how long an initd task took, for example:   procd: stop /etc/init.d/dropbear running - took 0.088824s   procd: Update service dnsmasq   procd: Update instance dnsmasq::dnsmasq   procd: running /etc/init.d

[LEDE-DEV] [PATCH 2/2] Revert "busybox: enable flock by default"

2018-01-18 Thread John Crispin
This reverts commit 2277cd1249a6952228f36b768beea117c91123a0. Signed-off-by: John Crispin --- package/utils/busybox/Config-defaults.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in index

[LEDE-DEV] [PATCH 1/2] procd/base-files: move init.d locking to rc.common

2018-01-18 Thread John Crispin
rather than using flock for procd enabled services we add locking to the rc.common code. Signed-off-by: John Crispin --- package/base-files/files/etc/rc.common | 6 ++ package/system/procd/files/procd.sh| 15 --- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git

Re: [LEDE-DEV] [PATCH 1/2] procd/base-files: move init.d locking to rc.common

2018-01-18 Thread John Crispin
On 18/01/18 09:14, John Crispin wrote: rather than using flock for procd enabled services we add locking to the rc.common code. Signed-off-by: John Crispin --- package/base-files/files/etc/rc.common | 6 ++ package/system/procd/files/procd.sh| 15 --- 2 files changed

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

2018-01-18 Thread John Crispin
On 17/01/18 20:41, Zoltan HERPAI wrote: Hi, This series will add support for microcode update on x86 targets, in light of the recent security issues. While other distributions use an early initramfs approach to update the microcode as early as possible, in OpenWrt the earliest place where we

Re: [LEDE-DEV] [OpenWrt-Devel] patchwork

2018-01-19 Thread John Crispin
On 19/01/18 08:55, Alexandru Ardelean wrote: On Fri, Jan 19, 2018 at 3:02 AM, Val Kulkov wrote: On 18 January 2018 at 19:49, Alberto Bursi wrote: On 01/19/2018 01:05 AM, Val Kulkov wrote: There is more than a handful of PRs currently bit-rotting in openwrt/packages that are ready for mer

Re: [LEDE-DEV] [PATCH iwinfo] nl80211: Do not block when driver aborts scan

2018-01-22 Thread John Crispin
On 09/01/18 15:16, osiverts...@gmail.com wrote: From: Olof Sivertsson Drivers may abort a scan by calling cfg80211_scan_done() with a struct cfg80211_scan_info that sets aborted to true. To avoid blocking forever consider both NL80211_CMD_NEW_SCAN_RESULTS and NL80211_CMD_SCAN_ABORTED when wa

Re: [LEDE-DEV] [PATCH] [RFC] build: log time taken by each packages/steps

2018-01-22 Thread John Crispin
On 21/01/18 00:01, Etienne Champetier wrote: The idea is to easily get the list of packages taking the most time to build, and see if we can improve them Sending as RFC as this is a quick hack that might break in some case (different implementation of time) Signed-off-by: Etienne Champetier

Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread John Crispin
On 31/01/18 16:00, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't find the way to learn CONFIG_TARGET_BOARD and CONFIG_TAR

Re: [LEDE-DEV] [PATCH 1/2] service: add func for string config change check

2018-02-11 Thread John Crispin
Hi could you resend this with a description text ? I figured out what the patch does but it would be nice to have it as part of the commit history. same for the group id patch please ...     John On 11/02/18 13:07, Yousong Zhou wrote: Signed-off-by: Yousong Zhou --- service/instance.c |

[LEDE-DEV] pistachio target

2018-02-12 Thread John Crispin
Hi, the imgtecs pistachio target is apparently EOL'ed and there is no support for it anymore. imgtec promised to maintain the target inside our tree but with their current situation don't appear to be able to do so in future. I'd like to drop the target ASAP.     John _

Re: [LEDE-DEV] [PATCH 0/4] imx6: update to Linux 4.14

2018-02-13 Thread John Crispin
On 01/02/18 23:35, Tim Harvey wrote: Tested on a Gateworks GW54xx Tim Harvey (4): kernel: add missing config symbols imx6: add support for Linux 4.14 imx6: switch to kernel 4.14 imx6: remove support for 4.9 Hi, karl and hauke posted some comments to the series. I've marked the w

Re: [LEDE-DEV] [PATCH] curl: Switch all TLS libraries to use ca-bundle.

2018-02-13 Thread John Crispin
On 25/01/18 04:29, Rosen Penev wrote: On Wed, Jan 24, 2018 at 1:56 PM, Hauke Mehrtens wrote: On 01/24/2018 05:28 AM, Rosen Penev wrote: At least one application (transmission) depends on CURL_CA_BUNDLE being set in order to operate properly (Could not connect to tracker errors). As far as I

Re: [LEDE-DEV] [PATCH v2] ar71xx: add support for Ubiquiti Litebeam M5

2018-02-13 Thread John Crispin
On 17/01/18 14:23, Arne Zachlod wrote: Specification: - SoC: Atheros AR9342 - Flash: 8 MiB - RAM: 64 MiB - UART: 1x UART on PCB - 115200 8N1 - Ethernet: 1 x 100 Mbit with passive PoE (24V/0.2A) Doesn't work: * Flash via TFTP with Uiquiti Uboot Installation via vendor firmware: - upload factor

Re: [LEDE-DEV] [PATCH] ar71xx: Orders the names of the devices alphabetically.

2018-02-13 Thread John Crispin
On 17/01/18 14:16, Arne Zachlod wrote: Signed-off-by: Arne Zachlod --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 236 ++--- .../ar71xx/base-files/etc/board.d/03_gpio_switches | 12 +- target/linux/ar71xx/base-files/etc/diag.sh | 40 ++-- 3 files change

[LEDE-DEV] [PATCH] procd: fix ustream deadlock when there are 0 bytes or no newlines

2018-02-13 Thread John Crispin
Signed-off-by: John Crispin --- service/instance.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/service/instance.c b/service/instance.c index 917b003..27e35b1 100644 --- a/service/instance.c +++ b/service/instance.c @@ -469,18 +469,20 @@ instance_stdio(struct

Re: [LEDE-DEV] Bug when processing long lines

2018-02-13 Thread John Crispin
On 11/01/18 17:28, Jakub Horák wrote: Hello LEDE developers, I found a bug in procd that gets triggered when long lines are printed by services whose stdout/stderr are being logged. The bug itself is explained in the attached patch. However, when I was testing the fix, I found out that the bu

Re: [LEDE-DEV] [PATCH-v2 1/3] Update to latest ath10k-ct driver, enable AHB.

2018-02-13 Thread John Crispin
On 13/02/18 19:27, Ben Greear wrote: What is the status on this? I have some new firmware/driver changes I'd like to get upstream as well, but this series is stuck in limbo.  The first two patches should should be useful for anyone using my ath10k-ct stuff, and the third will at least help IPQ

Re: [LEDE-DEV] [PATCH] ag71xx: Add some unlikely calls + rearange some stuff in hard_start_xmit.

2018-02-13 Thread John Crispin
On 13/02/18 23:53, Rosen Penev wrote: Based on Qualcomm driver. Improves iperf3 throughput by ~20mbps on transmit on Archer C7v4. this is missing the description of what the patch does.     John Signed-off-by: Rosen Penev --- .../drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c |

Re: [LEDE-DEV] [PATCH v2] ubox/logread: add re-connect capability

2018-02-14 Thread John Crispin
On 24/11/17 14:06, Zefir Kurtisi wrote: When logd is restarted while 'logread -f' is running, the logread process terminates, which cumbers debugging in different use-cases. This patch adds re-connect functionality to logread. In follow mode, when the ustream to logd is disconnected, instead o

[LEDE-DEV] 18.03/4

2018-02-16 Thread John Crispin
Hi, whats on the critical todo list for the upcoming release ? i still have a few minor things that I'll be adding shortly, apart from that I am currently not aware of any huge problems. the release will be a mix between 4.9 and 4.14 afaik !?     John __

Re: [LEDE-DEV] [PATCH] busybox: re-enable telnet applet

2018-02-18 Thread John Crispin
On 20/06/17 19:13, Stefan Tomanek wrote: While sshd should be favoured over telnetd, having a telnet client on the router is useful for connecting to other devices in the same LAN. Signed-off-by: Stefan Tomanek sorry for the late reply, it has been discussed over and over and the decision

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v3 1/4] kernel: backport dwc pci enumeration fix

2018-02-18 Thread John Crispin
On 17/02/18 13:33, Hauke Mehrtens wrote: On 02/15/2018 05:34 PM, Tim Harvey wrote: Backport of: http://patchwork.ozlabs.org/patch/860701/ Signed-off-by: Tim Harvey --- .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch| 11 +++ 1 file changed, 11 insertions(+) creat

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v3 0/4]: imx6: update to Linux 4.14

2018-02-18 Thread John Crispin
On 17/02/18 13:30, Hauke Mehrtens wrote: On 02/15/2018 05:34 PM, Tim Harvey wrote: Testted on a Gateworks GW54xx. Does not support enabling imx-drm modules yet as those will need some adjustments based on kernel configs. v3: - included missing patch for pcie enumeration fix v2: - move dw

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v3 0/4]: imx6: update to Linux 4.14

2018-02-18 Thread John Crispin
On 18/02/18 16:35, Hauke Mehrtens wrote: On 02/18/2018 12:35 PM, John Crispin wrote: On 17/02/18 13:30, Hauke Mehrtens wrote: On 02/15/2018 05:34 PM, Tim Harvey wrote: Testted on a Gateworks GW54xx. Does not support enabling imx-drm modules yet as those will need some adjustments based on

Re: [LEDE-DEV] kernel version status

2018-02-18 Thread John Crispin
On 18/02/18 22:43, Hauke Mehrtens wrote: The next OpenWrt release will use kernel 4.9 and kernel 4.14 depending on the target. All targets that are *not* on either kernel 4.9 or 4.14 will not be included in the next release. I did some overview of the kernel version some months ago here: http:

Re: [LEDE-DEV] kernel version status

2018-02-19 Thread John Crispin
On 19/02/18 12:09, Arjen de Korte wrote: Citeren John Crispin : On 18/02/18 22:43, Hauke Mehrtens wrote: The next OpenWrt release will use kernel 4.9 and kernel 4.14 depending on the target. All targets that are *not* on either kernel 4.9 or 4.14 will not be included in the next release. I

Re: [LEDE-DEV] [OpenWrt-Devel] kernel version status

2018-02-19 Thread John Crispin
be looking for a replacement because I'll stay on 4.9 forever? Best regards, Maciej On Mon, Feb 19, 2018 at 7:41 AM, John Crispin <mailto:j...@phrozen.org>> wrote: On 18/02/18 22:43, Hauke Mehrtens wrote: The next OpenWrt release will use kernel 4.9 and kerne

Re: [LEDE-DEV] [PATCH] ramips: fix mt7620 sdhci OF match variable name

2018-02-24 Thread John Crispin
-ralink-add-sdhci-for-mt7620a-SoC.patch +++ b/target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch @@ -4748,7 +4748,7 @@ Signed-off-by: John Crispin + { .compatible = "ralink,mt7620-sdhci" }, + {}, +}; -+MODULE_DEVICE_TABLE(of, rt288x

Re: [LEDE-DEV] [PATCH 1/3] fritz-tools: add fritz_tffs_nand_read tool

2018-03-09 Thread John Crispin
from AVM: + * Copyright (C) 2004-2014 AVM GmbH + * and the OpenWrt TFFS kernel driver: + * Copyright (c) 2013 John Crispin + * my owrt mail addr has been invalid since the reboot. please use j...@phrozen.org + * This program is free software; you can redistribute it and/or modify

Re: [LEDE-DEV] [PATCH 2/3] scripts: add EVA ramboot script

2018-03-09 Thread John Crispin
. This script mimics the behavior: It loads an openwrt initramfs image. After this a sysupgrade can be done to persistently install openwrt. Signed-off-by: Valentin Spreckels I have been using an ugly shell script to do the same for a few years so ... Acked-by: John Crispin --- scripts

Re: [LEDE-DEV] [PATCH 3/3] lantiq: add support for AVM FRITZ!Box 7412

2018-03-09 Thread John Crispin
On 09/03/18 20:55, John Crispin wrote: On 09/03/18 20:17, Valentin Spreckels wrote: Specification: - SoC: Lantiq VRX 220 - CPU Cores: 2x MIPS 34Kc at 500 MHz - RAM: 128 MiB 250 MHz - Storage: 128 MiB NAND flash - Ethernet: built-in Fast Ethernet switch, only port 2 is used - Wireless

Re: [LEDE-DEV] [LEDE-DEV, 1/3] fstools: add exfat filesystem support

2018-04-02 Thread John Crispin
On 29/03/18 11:57, Jo-Philipp Wich wrote: Hi, fstools will use the full libblkid if it is installed on the system, this should also enable support for all filesystems supported by the full libblkid. Adding more and more exotic stuff to libblkid-tiny will bloat the default fstools install for

Re: [LEDE-DEV] [LEDE-DEV,2/3] fstools: fix potential memory leak

2018-04-02 Thread John Crispin
On 29/03/18 10:25, rosys...@rosinson.com wrote: Fix potential memory leak in fstools Signed-off-by: Rosy Song Hi, the description is wrong, this fixes a potential null pointer deref and i dont really see how probing of a FS would work without a magic so we probably wont ever hit this case

Re: [LEDE-DEV] [LEDE-DEV, 3/3] fstools: fix lost mount point when first boot

2018-04-02 Thread John Crispin
On 29/03/18 10:25, rosys...@rosinson.com wrote: When firmware is new flashed and reboot with a storage device plug in its usb interface. Though the filesystem is not ready (FS_STATE_UNKNOWN), the /dev/sda1 still mount on /mnt/sda1 by block-mount, then the system switching jffs... root@OpenWrt

Re: [LEDE-DEV] [PATCH 03/12] uboot-at91: fetch uboot src from u-boot-at91 github

2018-04-02 Thread John Crispin
On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: fetching uboot src from linux4sam/u-boot-at91 github for all at91 target. Signed-off-by: Sandeep Sheriker Mallikarjun Hi, Whats the difference between these uboots ? I am guessing its pre-patched ?     John --- package/boot/uboot-at

Re: [LEDE-DEV] [PATCH 10/12] at91: reorganize at91 subtargets

2018-04-02 Thread John Crispin
On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: reorganizing at91 subtargets based on sama5 soc features and this fix below problems. 1. able to set neon flags to sama5d2 & sama5d4 subtargets. 2. fix the make clean which removes all the subtargets in bin folder. 3. able to confi

Re: [LEDE-DEV] [OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

2018-04-12 Thread John Crispin
On 12/04/18 12:42, Kristian Evensen wrote: Hello, I have recently updated some ramips mt7621-devices (ZBT WG3526) to the latest nightly. Almost everything seems to work fine, but using either wifi interface in client mode seems triggers an oops. I see two different oops-messages: Message 1: [

download mirrors

2016-05-04 Thread John Crispin
Hi, few people asked me about rsync access. here is the url people should use to clone the downloads server. --> downloads.lede-project.org::downloads/ currently there is not much data present but i am sure that we will accumulate quite a bit over the coming months. as a start I will try to get

Re: List subject prefix?

2016-05-04 Thread John Crispin
On 04/05/2016 23:31, Aaron Z wrote: > On many (most?) mailing lists, there is a prefix on all subjects which > has the list name (such as [OpenWRT-Devel]) > Can this prefix be added for this list (or is that an option that I > missed when I signed up)? Hi, it was chosen not to use this prefix.

Re: Proposal to sign all commits

2016-05-04 Thread John Crispin
On 04/05/2016 23:38, Kus wrote: > Greetings > > I'd like to propose that all commits (at least to master) going forward be > signed with the commiter's gpg key. > > https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work > > Thoughts? we could do that. if you look at the keyring.git, you

Re: Proposal to sign all commits

2016-05-04 Thread John Crispin
On 05/05/2016 07:38, David Lang wrote: > On Thu, 5 May 2016, John Crispin wrote: > >> On 04/05/2016 23:38, Kus wrote: >>> Greetings >>> >>> I'd like to propose that all commits (at least to master) going >>> forward be signed with the commi

Re: [LEDE-DEV] List Prefix

2016-05-04 Thread John Crispin
On 27/04/2016 10:47, John Crispin wrote: > > > On 26/04/2016 18:51, David Woodhouse wrote: >> On Tue, 2016-04-26 at 17:16 +0200, Jo-Philipp Wich wrote: >>> This is just a test, please ignore. >> >> Hm, I thought I fixed the stupid mailman default when

Re: Proposal to sign all commits

2016-05-04 Thread John Crispin
On 05/05/2016 08:42, David Lang wrote: > On Thu, 5 May 2016, John Crispin wrote: > >> On 05/05/2016 07:38, David Lang wrote: >>> On Thu, 5 May 2016, John Crispin wrote: >>> >>>> On 04/05/2016 23:38, Kus wrote: >>>>> Greetings >>>

getting users involved in on-device testing

2016-05-04 Thread John Crispin
Hi, It would be nice if there was a process in place that would allow community members to easily be able to test images on devices and report the results some place. after some time thinking of different ways to do this I came up with one possible solution and wanted to know what others think abo

Re: getting users involved in on-device testing

2016-05-05 Thread John Crispin
On 05/05/2016 09:10, Michal Hrusecky wrote: > John Crispin - 8:56 5.05.16 wrote: >> Hi, >> >> It would be nice if there was a process in place that would allow >> community members to easily be able to test images on devices and report >> the results some p

Re: [LEDE-DEV] List Prefix

2016-05-05 Thread John Crispin
On 05/05/2016 10:14, David Woodhouse wrote: > On Thu, 2016-05-05 at 08:13 +0200, John Crispin wrote: >> >> Hi David, >> >> some folks would prefer to have the prefix on the 2 lists. I just had a >> look in the mailman settings and failed to quickly spot the locat

Re: getting users involved in on-device testing

2016-05-05 Thread John Crispin
On 05/05/2016 11:47, Hauke Mehrtens wrote: > On 05/05/2016 08:56 AM, John Crispin wrote: >> Hi, >> >> It would be nice if there was a process in place that would allow >> community members to easily be able to test images on devices and report >> the results som

Re: getting users involved in on-device testing

2016-05-05 Thread John Crispin
On 05/05/2016 13:17, Bruno Randolf wrote: > Hi, > > On 05/05/16 11:05, John Crispin wrote: >>> We could also try to integrate this with some automated testing. > > Some automated way to do testing and submit the results would definetly > be good and preferable

Re: [LEDE-DEV] [PATCH]fstools: added xfs and f2fs to block-mount

2016-10-17 Thread John Crispin
On 16/10/2016 16:23, Alberto Bursi wrote: > Damn, while this patch adds only partial xfs support to fstools (it > allows to mount xfs by block mount). > why only partial ? > Most of fstools have code to use f2fs too already so the fact that block > mount couldn't mount f2fs is 100% a bug and

Re: [LEDE-DEV] [PATCH]fstools: added xfs and f2fs to block-mount

2016-10-17 Thread John Crispin
On 17/10/2016 17:37, Alberto Bursi wrote: > > > On 10/17/2016 04:31 PM, John Crispin wrote: >>> I'm going to add xfs support to other fstools components in a following >>> patch. >> >> please explain what this would consist of. i was about to merge y

Re: [LEDE-DEV] [PATCH] Add support for Comfast E380AC v1 and v2

2016-10-17 Thread John Crispin
On 18/10/2016 07:54, Rafał Miłecki wrote: > On 17 October 2016 at 12:14, Gareth Parker wrote: >> The Comfast E380AC is a single port PoE Dual Band AP. >> >> There are two versions which are only identifiable through the web >> administration interface, v1 has 128mb ram and a uboot size of 128k,

Re: [LEDE-DEV] [PATCH] Add support for Comfast E380AC v1 and v2

2016-10-17 Thread John Crispin
Hi, 2 ordering comments inline. please prefix the patch subject with "ar71xx: " John On 17/10/2016 12:14, Gareth Parker wrote: > The Comfast E380AC is a single port PoE Dual Band AP. > > There are two versions which are only identifiable through the web > administration interface, v1 h

Re: [LEDE-DEV] [PATCH] rsyslog: do not daemonize and allow procd to manage rsyslogd

2016-10-17 Thread John Crispin
On 18/10/2016 03:15, Alexis Green wrote: > This allows user to stop and/or restart the daemon. Currently, running > "/etc/init.d/rsyslogd stop" does not stop the daemon once it's started. > > Signed-off-by: Alexis Green > --- > net/rsyslog/files/rsyslog.init | 2 +- > 1 file changed, 1 inserti

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-17 Thread John Crispin
Hi André, few comments inline On 17/10/2016 21:22, André Valentin wrote: > CPU: 1.8GHz ARM, RAM: 512MB > Storage: 4MiB Serial Flash, 3.9GiB MMC > NIC: 2x1GBit/s, 5 external and 2 internal Port Switch > WiFi: Dualband, ATH10k 2.4GHz, 5GHz MU-MIMO > > Changes: > -remove kernel compression changes

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread John Crispin
On 18/10/2016 08:54, J Mo wrote: > > > On 10/17/2016 11:22 PM, John Crispin wrote: >>> +boot_hook_add preinit_main preinit_assign_mtd2block >>> > diff --git >>> > a/target/linux/ipq806x/base-files/lib/preinit/05_set_iface_mac_ipq806x.sh >>&

Re: [LEDE-DEV] [PATCHv2] ipq806x: add support for ZyXEL NBG6817

2016-10-18 Thread John Crispin
On 18/10/2016 09:49, André Valentin wrote: > Hi John, > > thanks for your comments. Please take a look: > > Am 18.10.2016 um 08:22 schrieb John Crispin: > >>> +++ b/target/linux/ipq806x/base-files/lib/preinit/04_set_mtd_ipq806x.sh >>> @@ -0,0 +1,21

Re: [LEDE-DEV] ramips: MT7621 Ethernet IRQ Balancing

2016-10-18 Thread John Crispin
On 19/10/2016 02:59, Andrew Yong wrote: > There has previously been discussion > (https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/038118.html) > about how Ethernet on MT7621 has affinity to only the first CPU. > > Is anyone on the list particularly familiar with why this is so or

Re: [LEDE-DEV] [PATCH 2/3] ar71xx: add mac partition to the MR12/MR16

2016-10-21 Thread John Crispin
Hi, comment inline On 19/10/2016 19:53, Chris Blake wrote: > On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space > after u-boot-env is used to store the boards Mac address. Sadly as this > was removed on any device already on OpenWRT/LEDE, moving forward a new, > 64k partition nam

Re: [LEDE-DEV] [PATCH] kirkwood: remove redundant code in etc/board.d/02_network

2016-10-24 Thread John Crispin
On 23/10/2016 12:42, p.wa...@gmx.at wrote: > From: Paul Wassi > > Remove redundant code: merge boards/cases that share > the same network configuration. > > Signed-off-by: Paul Wassi patch does not apply to current HEAD. what tree did you base this on ? John > --- > linux/kirkwood

Re: [LEDE-DEV] [PATCH] package/system/mtd: fix usage message

2016-10-24 Thread John Crispin
On 24/10/2016 08:41, p.wa...@gmx.at wrote: > From: Paul Wassi > > Minor fix in the usage message on the explanation of the -p option. > > Signed-off-by: Paul Wassi this one also fails to apply John > --- > system/mtd/src/mtd.c |2 +- > 1 file changed, 1 insertion(+), 1 deletio

Re: [LEDE-DEV] [PATCH 2/3 v2] ar71xx: add mac partition to the MR12/MR16

2016-10-24 Thread John Crispin
On 21/10/2016 13:54, Chris Blake wrote: > On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space > after u-boot-env is used to store the boards Mac address. Sadly as this > was removed on any device already on OpenWRT/LEDE, moving forward a new, > 64k partition named "mac" will be us

Re: [LEDE-DEV] [PATCH V2 0/7] add support for D-Link DAP-2695 rev. A1

2016-10-24 Thread John Crispin
anges since v1: > Remove physical address of the FSF from wrgg.c > Fix endianness detection on musl in mtd > Build relocate stub for generic and legacy images > Remove ucidef_set_interfaces_lan_wan > series looks good feel free to push it Acked-by: John Crispin > Stijn

Re: [LEDE-DEV] [PATCH] [PATCH] fstools: added f2fs to block-mount, really correct indentation

2016-10-24 Thread John Crispin
Hi, after some recent changes in the fstools repo this patch applies but causes a compile error. could you please rebase/test/send the patch there were also a lot of whitespace errors. please use tabs to indent your c code John On 21/10/2016 14:54, Alberto Bursi wrote: > added the code t

Re: [LEDE-DEV] [PATCH] package/boot/uboot-kirkwood: bump to upstream 2016.09.01

2016-10-26 Thread John Crispin
On 25/10/2016 09:51, p.wa...@gmx.at wrote: > From: Paul Wassi > > Bump U-Boot for Kirkwood to upstream 2016.09.01. Local patches > cleaned up and reworked. Rename OpenWrt/LEDE occurrences. please drop this part while the remerge discussion is underway. i dont want to have to patch back to th

<    1   2   3   4   5   6   7   8   >