Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-08 Thread Matti Laakso
> Adding laforge and zecke to the Cc loop. > > Matti Laakso [2017-01-08 14:39:34]: > > Hi, > > > I'm almost done with checking the connection state using a > > proto_run_command with a simple script running uqmi --get-data-status > > periodically. If the check fails, the script dies and netifd s

[LEDE-DEV] [PATCH] ar71xx: add support for PQI Air Pen

2017-01-08 Thread YuheiOKAWA
SoC: AR9331 Ethernet x1, Wireless 2.4G, uSD card slot x1. USB Power, include Li-Po Battery. Signed-off-by: YuheiOKAWA --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3

[LEDE-DEV] questions about RB953GS on LEDE

2017-01-08 Thread Gui Iribarren
So, I have two issues with porting LEDE to this mikrotik board (patch just sent in another thread) on one hand, console is not initialized properly in the default initramfs.elf the kernel cmdline is missing "console=ttyS0,115200", and so the console is disabled during boot. to workaround it, i d

Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-08 Thread Petr Štetiar
Bjørn Mork [2017-01-08 23:10:20]: > The output above comes from the Sierra Wireless EM7455 originally delivered > as part of my Lenovo X1 Carbon, running bog standard firmare. Oops. How did you get into the shell of your modem? Is it a root shell also? Seems like some serial line filtering migh

[LEDE-DEV] [PATCH] ar71xx: add initial support for RB953GS-5HnT-RP

2017-01-08 Thread Gui Iribarren
Add board support, no userspace files yet. Tested over TFTP, switch is working (the 3 ports report link status, didn't configure VLANs) Both miniPCIe slots are confirmed working, including their status LEDs Not tested: reset button, USB port, SFP cages, AR9558 radio. Signed-off-by: Gui Iribarren

Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-08 Thread Bjørn Mork
Petr Štetiar writes: > Adding laforge and zecke to the Cc loop. > > Matti Laakso [2017-01-08 14:39:34]: > > Hi, > >> I'm almost done with checking the connection state using a proto_run_command >> with a simple script running uqmi --get-data-status periodically. If the >> check fails, the script

Re: [LEDE-DEV] MikroTik RouterBoard ar71xx changes

2017-01-08 Thread Stijn Tintel
On 08-01-17 14:54, Felix Fietkau wrote: > Hi all, > > I've just pushed the code for converting ar71xx routerboard support to > UBI + sysupgrade to my staging tree at: > https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary > > So far I've only managed to test it on RB 912UAG-5HPnD, other d

Re: [LEDE-DEV] [PATCH v2] cns3xxx: remove deprecated mpcore watchdog device

2017-01-08 Thread Felix Fietkau
On 2017-01-08 21:14, Koen Vandeputte wrote: > This code was exclusively used by the mpcore_wdt > driver which got removed from the kernel mid 2013. > > https://www.spinics.net/lists/linux-watchdog/msg02724.html > > Tested on Laguna GW2388 > > Signed-off-by: Koen Vandeputte Interesting. I hadn't

[LEDE-DEV] [PATCH v2] cns3xxx: remove deprecated mpcore watchdog device

2017-01-08 Thread Koen Vandeputte
This code was exclusively used by the mpcore_wdt driver which got removed from the kernel mid 2013. https://www.spinics.net/lists/linux-watchdog/msg02724.html Tested on Laguna GW2388 Signed-off-by: Koen Vandeputte --- .../cns3xxx/base-files/lib/upgrade/platform.sh | 2 +- .../cns3xxx/file

[LEDE-DEV] [PATCH] cns3xxx - Remove deprecated mpcore watchdog device

2017-01-08 Thread Koen Vandeputte
This code was exclusively used by the mpcore_wdt driver which got removed from the kernel mid 2013. https://www.spinics.net/lists/linux-watchdog/msg02724.html Tested on Laguna GW2388 Signed-off-by: Koen Vandeputte --- .../cns3xxx/base-files/lib/upgrade/platform.sh | 2 +- .../cns3xxx/file

Re: [LEDE-DEV] externalizing package management?

2017-01-08 Thread Jo-Philipp Wich
Hi Oswald, the imagebuilder should support all that already and it likely fills the "powerful desktop tools" part your concept requires. Given the recent advances with Linux support on Windows 10 plus Docker etc. it shouldn't be too hard to bundle an ImageBuilder with some Desktop ui and an RPC c

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-08 Thread Jo-Philipp Wich
Hi Oswald, > scripts for doing just that have been posted years ago, so i'm wondering > why such a mechanism wasn't integrated upstream. am i missing something, > or did just nobody think it important enough to do? as far as I remember there never was a clean patch series proposed to implement su

[LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-08 Thread Petr Štetiar
Adding laforge and zecke to the Cc loop. Matti Laakso [2017-01-08 14:39:34]: Hi, > I'm almost done with checking the connection state using a proto_run_command > with a simple script running uqmi --get-data-status periodically. If the > check fails, the script dies and netifd should restart the

Re: [LEDE-DEV] MikroTik RouterBoard ar71xx changes

2017-01-08 Thread David Goodenough
On Sunday, 8 January 2017 14:54:33 GMT Felix Fietkau wrote: > Hi all, > > I've just pushed the code for converting ar71xx routerboard support to > UBI + sysupgrade to my staging tree at: > https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary > > So far I've only managed to test it on RB

Re: [LEDE-DEV] MikroTik RouterBoard ar71xx changes

2017-01-08 Thread Felix Fietkau
On 2017-01-08 15:23, Nishant Sharma wrote: > Hi, > > On 8 January 2017 7:24:33 PM IST, Felix Fietkau wrote: >>Hi all, >> >>I've just pushed the code for converting ar71xx routerboard support to >>UBI + sysupgrade to my staging tree at: >>https://git.lede-project.org/?p=lede/nbd/staging.git;a=summ

Re: [LEDE-DEV] newbie opkg upgrading questions..

2017-01-08 Thread Bastian Bittorf
* B. Cook [08.01.2017 16:19]: > // LE \ ||___|___/|___| lede-project.org > \\ DE / > \LE \/ --- >\ DE\ /Reboot (SNAPSHOT, r2701-c5ca304) > \\/--

Re: [LEDE-DEV] newbie opkg upgrading questions..

2017-01-08 Thread B. Cook
gmail thankfully moved these to spam.. :/ Sorry for the delay.. grep '/ overlay ro,' /proc/mounts overlayfs:/overlay / overlay ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work 0 0 I never noticed this under the graphic motd login before: BusyBox v1.25.1 () built-in shell (as

Re: [LEDE-DEV] Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]

2017-01-08 Thread Matti Laakso
> Petr Štetiar [2016-12-12 10:06:59]: > > > I'm going to ask Quectel about this issue and will share the results. > > So it ended with the following result: "I raceived the additional > informations that it’s not well to use autoconnect feature on EC20 and EC25. > R&D will work to solve this,

Re: [LEDE-DEV] externalizing package management?

2017-01-08 Thread Oswald Buddenhagen
On Sun, Jan 08, 2017 at 02:16:55PM +0100, Stefan Lippers-Hollmann wrote: > Using imagebuilder (and keeping the existing configs, which is the > default for sysupgrade) seems to tick all of your boxes, doesn't it? > not quite. obviously, wrapping the image builder into a script solves the upgrade

[LEDE-DEV] per-device rootfs generated on buildbots

2017-01-08 Thread Daniel Golle
Hi! While testing the current snapshot builds I realized that for some reason the additional default packages to be included for each board aren't selected, ie. DEVICE_PACKAGES seems to be ignored in snapshot builds. Ie. eventhough kmod-rtc-ds1307 is set in DEVICE_PACKAGES for the akitio board (ox

[LEDE-DEV] [PATCH v2] Curl: fix HTTPS network timeouts with OpenSSL

2017-01-08 Thread Stijn Segers
Fixes HTTPS timeouts with OpenSSL. Upstream curl bug #1174. Upstream commit message: Fixed an old leftover use of the USE_SSLEAY define which would make a socket get removed from the applications sockets to monitor when the multi_socket API was used, leading to timeouts. Signed-off-by: Stijn Seg

Re: [LEDE-DEV] MikroTik RouterBoard ar71xx changes

2017-01-08 Thread Nishant Sharma
Hi, On 8 January 2017 7:24:33 PM IST, Felix Fietkau wrote: >Hi all, > >I've just pushed the code for converting ar71xx routerboard support to >UBI + sysupgrade to my staging tree at: >https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary > >So far I've only managed to test it on RB 912UA

[LEDE-DEV] MikroTik RouterBoard ar71xx changes

2017-01-08 Thread Felix Fietkau
Hi all, I've just pushed the code for converting ar71xx routerboard support to UBI + sysupgrade to my staging tree at: https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary So far I've only managed to test it on RB 912UAG-5HPnD, other devices are still untested. If you have any affected

Re: [LEDE-DEV] externalizing package management?

2017-01-08 Thread Stefan Lippers-Hollmann
Hi On 2017-01-08, Stefan Lippers-Hollmann wrote: > On 2017-01-08, Oswald Buddenhagen wrote: [...] > openwrt aims to be a "proper" linux distribution, and therefore comes > with on-device package management. > > but we know that to be a problem for the more space-constrained devices. > also, the s

Re: [LEDE-DEV] externalizing package management?

2017-01-08 Thread Stefan Lippers-Hollmann
Hi On 2017-01-08, Oswald Buddenhagen wrote: > moin, > > openwrt aims to be a "proper" linux distribution, and therefore comes > with on-device package management. > > but we know that to be a problem for the more space-constrained devices. > also, the space constraints make the package manager p

[LEDE-DEV] externalizing package management?

2017-01-08 Thread Oswald Buddenhagen
moin, openwrt aims to be a "proper" linux distribution, and therefore comes with on-device package management. but we know that to be a problem for the more space-constrained devices. also, the space constraints make the package manager pretty dumb by modern standards. both issues have been raise

[LEDE-DEV] [PATCH] curl: vtls: s/SSLEAY/OPENSSL

2017-01-08 Thread Stijn Segers
Fixed an old leftover use of the USE_SSLEAY define which would make a socket get removed from the applications sockets to monitor when the multi_socket API was used, leading to timeouts. Pulled directly from upstream. Upstream curl bug: #1174 Signed-off-by: Stijn Segers --- lib/vtls/vtls.c | 4

Re: [LEDE-DEV] how to make sysupgrade not drop user-installed packages

2017-01-08 Thread Oswald Buddenhagen
On Sat, Jan 07, 2017 at 11:31:01PM +0100, Magnus Kroken wrote: > On 07.01.2017 19.04, Oswald Buddenhagen wrote: > > the idea would be to simply dump the list of user-installed packages into > > a config file which is preserved by sysupgrade. now, firstboot would see > > that file and start opgk wit

[LEDE-DEV] spi-tools failure

2017-01-08 Thread Giuseppe Lippolis
Same error using the spidev_test tool: root@lede:/tmp# spidev_test -D /dev/spidev1.0 -s 100 spi mode: 0x3 bits per word: 8 max speed: 100 Hz (1000 KHz) can't send spi message: Invalid argument Aborted The error occurs on this system call: ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);