[OpenWrt-Devel] [PATCH] libjson-c: Update package URL

2018-07-29 Thread Rosen Penev
Found through UScan. Signed-off-by: Rosen Penev --- package/libs/libjson-c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index a9a177e5a2..fd785cdb5e 100644 --- a/package/libs/libjson-c/Makefile +++

[OpenWrt-Devel] [PATCH] thc-ipv6: Update URLs

2018-07-29 Thread Rosen Penev
Development has moved to GitHub. Found using UScan. Signed-off-by: Rosen Penev --- package/network/ipv6/thc-ipv6/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/ipv6/thc-ipv6/Makefile b/package/network/ipv6/thc-ipv6/Makefile index df3a67c23b..91b

[OpenWrt-Devel] [PATCH v2 1/4] ramips: fix RBM33G name

2018-07-29 Thread Thibaut VARÈNE
The device name is corrected to match the hardware-stored (in hard config flash space) device name. Tested-by: Tobias Schramm Signed-off-by: Thibaut VARÈNE --- target/linux/ramips/dts/RBM33G.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/RBM33G.d

[OpenWrt-Devel] [PATCH v2 4/4] ramips: improve RBM11G partitioning

2018-07-29 Thread Thibaut VARÈNE
This patch improves faf64056ddd46992a75b1e277d94541c7251035c by updating the partition scheme for the "RouterBoot" section of the flash. This section is subdivided in several segments, as they are on ar71xx RB devices, albeit with different offsets and sizes. The naming convention from ar71xx has

[OpenWrt-Devel] [PATCH v2 2/4] ramips: fix RBM33G partitioning

2018-07-29 Thread Thibaut VARÈNE
This patch improves 5684d087418d176cfdef4e045e1950ca7ba3b09f by correcting the partition scheme for the "RouterBoot" section of the flash. This section is subdivided in several segments, as they are on ar71xx RB devices, albeit with different offsets and sizes. The naming convention from ar71xx ha

[OpenWrt-Devel] [PATCH v2 3/4] ramips: fix RBM11G name

2018-07-29 Thread Thibaut VARÈNE
The device name is corrected to match the hardware-stored (in hard config flash space) device name. Tested-by: Tobias Schramm Signed-off-by: Thibaut VARÈNE --- target/linux/ramips/dts/RBM11G.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/RBM11G.d

[OpenWrt-Devel] [RFT] [PATCH] ramips: add RB750Gr3 native support

2018-07-29 Thread Thibaut VARÈNE
This patch attempts to support the MikroTik RouterBOARD 750Gr3 "natively", i.e. without reflashing the bootloader. Installation through RouterBoot probably follows the usual MikroTik method (force tftp booting via long press on the reset button, boot openwrt initramfs, and sysupgrade from there).

[OpenWrt-Devel] [PATCH 1/5] ipq-wifi: add a note / reminder about upstreaming new board files

2018-07-29 Thread Christian Lamparter
|Please send a mail with your device-specific board files upstream. |You can find instructions and examples on the linux-wireless wiki: | Signed-off-by: Christian Lamparter --- package/firmware/ipq-wifi/Makefile | 3 +++ 1 file

[OpenWrt-Devel] [PATCH 4/5] apm821xx: split MBL's rootfs.img.gz into a sysupgrade and factory image

2018-07-29 Thread Christian Lamparter
@vahid-dan reported a issue with extracting the rpi images with Gnome's Archive Manager: "Ubuntu Archive Manager cannot extract the file and it just throws a general error message: "An error occurred while extracting files".

[OpenWrt-Devel] [PATCH 2/5] brcm2708: split sdcard.img.gz into a sysupgrade and factory image

2018-07-29 Thread Christian Lamparter
@vahid-dan reported a issue with extracting the rpi images with Gnome's Archive Manager: "Ubuntu Archive Manager cannot extract the file and it just throws a general error message: "An error occurred while extracting files".

[OpenWrt-Devel] [PATCH 3/5] apm821xx: build squashfs-rootfs images for the MBL

2018-07-29 Thread Christian Lamparter
This patch adds support for squashfs as the root filesystem. advantages: - migrate from a existing -ext4 installation and back with the sysupgrade utility - existing partition layout will not be lost during switch - slightly smaller image size as compared to the -ext4 image. disadvantages:

[OpenWrt-Devel] [PATCH 5/5] apm821xx: clean up gpio-hogs

2018-07-29 Thread Christian Lamparter
convert the usb and both sata port power related gpio-hogs to what they really are: fixed-regulators. The ethernet phy-reset gpio-hog is replaced by a proper upstream (4.15+) reset-gpios property in the mdio-node. So this will work eventually. Signed-off-by: Christian Lamparter --- target/linux

[OpenWrt-Devel] [PATCH 0/5] several fixes for mach-rbspi.c / correct support for wAP R

2018-07-29 Thread Thibaut VARÈNE
Repost of PR#1181 Thibaut VARÈNE (5): ar71xx: rbspi: clarify USB power gpios action ar71xx: rbspi: fix RB wAP AC gpio conflict and LED ar71xx: rbspi: mark rb911L user led as active low ar71xx: add missing diag LED support for RB wAP 2nD ar71xx: improve MikroTik wAP R support target/lin

[OpenWrt-Devel] [PATCH 4/5] ar71xx: add missing diag LED support for RB wAP 2nD

2018-07-29 Thread Thibaut VARÈNE
3b15eb06c366cf3805590a61f22e966a95bf8101 did not include diag.sh edit Signed-off-by: Thibaut VARÈNE --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/et

[OpenWrt-Devel] [PATCH 3/5] ar71xx: rbspi: mark rb911L user led as active low

2018-07-29 Thread Thibaut VARÈNE
The active_low flag was missing for the user LED. This LED is open drain (confirmed in OEM source) and open drain only makes sense for active low GPIOs. The two wireless LEDs mentioned in the comments are also #defined for future reference. Signed-off-by: Thibaut VARÈNE Tested-by: Ryan Mounce -

[OpenWrt-Devel] [PATCH 2/5] ar71xx: rbspi: fix RB wAP AC gpio conflict and LED

2018-07-29 Thread Thibaut VARÈNE
e15c63a37574bd15ce3a6636c2f04741ab76f7b9 introduced code that was trying to register GPIO 1 as both an LED and a button. The OEM source makes it clear that LED1 is not wired to the SoC GPIOs. GPIO 1 is the reset button. Furthermore the (green) power led default state should also be defined, (match

[OpenWrt-Devel] [PATCH 1/5] ar71xx: rbspi: clarify USB power gpios action

2018-07-29 Thread Thibaut VARÈNE
The gpios that control power toggle for USB on the RouterBOARD devices are active low _off_ switches. When they are active (low), power is off. When they are inactive (high), power is on. Rename GPIO defines, set gpios to GPIOF_ACTIVE_LOW for consistency and reflect their true action in the displ

[OpenWrt-Devel] [PATCH 5/5] ar71xx: improve MikroTik wAP R support

2018-07-29 Thread Thibaut VARÈNE
81d446b045176e3e25bb0ef74e3d060b51a0a353 introduced incomplete support for this device. This patch attempts to correct the situation based on OEM source code. LED1-3 are GSM mode on OFW (2G/3G/4G) hence unassigned here. Signed-off-by: Thibaut VARÈNE Tested-by: David Ehrmann --- target/linux/a

Re: [OpenWrt-Devel] Second RGMII ethernet on MT7621?

2018-07-29 Thread Torbjorn Jansson
On 2018-05-01 12:17, Bjørn Mork wrote: John Crispin writes: making gmac2 work s not trivial with the current driver. Thanks for confirming. Then I guess I can just wrap up what I have and make it public. Just want to figure out how the LEDs are connected first. Bootloader initiated blinkin

[OpenWrt-Devel] [RFC/RFT] musl: 1.1.20 prelease testing

2018-07-29 Thread Christian Lamparter
Rich Felker requested some field testing of his 1.1.20 release: "The biggest areas that need testing are: - stdio locking after commits c21f750727515602a9e84f2a190ee8a0a2aeb2a1 and c1014a812c90bab3c9c989863e4ebb129e987de6. - reclaim_gaps since

[OpenWrt-Devel] [PATCH] admswconfig: Remove dead URL + HTTPS

2018-07-29 Thread Rosen Penev
Found using uscan. Signed-off-by: Rosen Penev --- package/utils/admswconfig/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/utils/admswconfig/Makefile b/package/utils/admswconfig/Makefile index 0524949dde..b2a163248a 100644 --- a/package/utils/admswconfig/

Re: [OpenWrt-Devel] Disclaimer for user documentation?

2018-07-29 Thread Sebastian Kemper
On Sat, Jul 28, 2018 at 02:36:20PM +0200, Alberto Bursi wrote: > In other articles where user error might cause issues we placed a banner > on top with a warning, like this > https://openwrt.org/docs/guide-user/network/wan/smartphone.usb.tethering Hello Alberto, Thank you for your input. I put

Re: [OpenWrt-Devel] Disclaimer for user documentation?

2018-07-29 Thread Alberto Bursi
On 29/07/2018 19:53, Sebastian Kemper wrote: On Sat, Jul 28, 2018 at 02:36:20PM +0200, Alberto Bursi wrote: In the meantime you can place any disclaimer you want in the warning box at the top of your article, and be covered by that. A good starting point is copy-pasting LineageOS's https://l

Re: [OpenWrt-Devel] 6rd issues with 18.06-rc2 on ubnt-erx-sfp

2018-07-29 Thread Hans Dedecker
On Fri, Jul 27, 2018 at 2:36 PM Torbjorn Jansson wrote: > > Hello > > i decided to try to upgrade my erx-sfp from an old snapshot (probably a year > or > so old) to 18.06-rc2. > for the most part it worked out but there is something odd going on with my > 6rd > wan interface and i'm not sure whe

Re: [OpenWrt-Devel] 6rd issues with 18.06-rc2 on ubnt-erx-sfp

2018-07-29 Thread Torbjorn Jansson
On 2018-07-29 22:16, Hans Dedecker wrote: On Fri, Jul 27, 2018 at 2:36 PM Torbjorn Jansson wrote: Hello i decided to try to upgrade my erx-sfp from an old snapshot (probably a year or so old) to 18.06-rc2. for the most part it worked out but there is something odd going on with my 6rd wan int

Re: [OpenWrt-Devel] how to add/package kernel module?

2018-07-29 Thread John Crispin
On 27/07/18 17:26, Torbjorn Jansson wrote: Hello. Probably over a year ago i built a rasperry pi and made a custom build of openwrt and added a small patch for myself to make module for htu21 temp and humidity sensor available. the patch i made i'm not sure if it is correct or not and even

Re: [OpenWrt-Devel] [PATCH v2 2/4] ramips: fix RBM33G partitioning

2018-07-29 Thread John Crispin
On 29/07/18 11:07, Thibaut VARÈNE wrote: This patch improves 5684d087418d176cfdef4e045e1950ca7ba3b09f by correcting the partition scheme for the "RouterBoot" section of the flash. This section is subdivided in several segments, as they are on ar71xx RB devices, albeit with different offsets an

[OpenWrt-Devel] [PATCH] brcm63xx: update DT RedBoot binding for the Inventel Livebox 1

2018-07-29 Thread Rafał Miłecki
From: Rafał Miłecki linux,part-probe should be avoided as its only supported with OpenWrt downstream patch that is going to be dropped eventually. Signed-off-by: Rafał Miłecki --- target/linux/brcm63xx/dts/livebox-blue-5g.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git