Re: [LEDE-DEV] [PATCH] lantiq: update USB controller handling

2017-01-07 Thread Antti Seppälä
On 7 January 2017 at 04:01, Hauke Mehrtens wrote: > On 01/06/2017 11:31 PM, Antti Seppälä wrote: >> On 6 January 2017 at 21:32, Hauke Mehrtens wrote: >>> On 01/06/2017 08:26 PM, Martin Blumenstingl wrote: Hi Hauke, (CC'ing Mathias as he was looking into some of the USB issues as we

Re: [LEDE-DEV] [PATCH] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
On 01/07/2017 12:25 PM, Antti Seppälä wrote: > On 7 January 2017 at 04:01, Hauke Mehrtens wrote: >> On 01/06/2017 11:31 PM, Antti Seppälä wrote: >>> On 6 January 2017 at 21:32, Hauke Mehrtens wrote: On 01/06/2017 08:26 PM, Martin Blumenstingl wrote: > Hi Hauke, > > (CC'ing Mathia

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

2017-01-07 Thread Oswald Buddenhagen
moin, i'm wondering what could be done about the nuisance that after a sysupgrade one needs to manually re-install the user-installed packages. the documented process is pretty much algorithmic, so it seems like a shame that it's not (mostly) automated. the idea would be to simply dump the list o

[LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
This adds USB initialization fixes for Danube, Amazon SE and xrx300 and should fix the clock on at least Danube which hopefully fixes FS#351. The xrx200 usb driver now uses more memory for the dwc2 fifos, this was increased in the chip compared to ar9. This is based on the vendor documentation an

Re: [LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
On 01/07/2017 07:29 PM, Hauke Mehrtens wrote: > This adds USB initialization fixes for Danube, Amazon SE and xrx300 and > should fix the clock on at least Danube which hopefully fixes FS#351. > > The xrx200 usb driver now uses more memory for the dwc2 fifos, this was > increased in the chip compar

Re: [LEDE-DEV] [PATCH v2] lantiq: update USB controller handling

2017-01-07 Thread Hauke Mehrtens
On 01/07/2017 07:51 PM, Hauke Mehrtens wrote: > On 01/07/2017 07:29 PM, Hauke Mehrtens wrote: >> This adds USB initialization fixes for Danube, Amazon SE and xrx300 and >> should fix the clock on at least Danube which hopefully fixes FS#351. >> >> The xrx200 usb driver now uses more memory for the

[LEDE-DEV] spi-tools failure

2017-01-07 Thread Giuseppe Lippolis
I'm trying to use spi-tools on the current LEDE snapshot, but it fails at runtime: root@lede:~# echo -n -e '\x80' | spi-pipe -d /dev/spidev1.0 | hexdump SPI_IOC_MESSAGE: Invalid argument root@lede:/tmp# strace echo -n -e '\x80' | spi-pipe -d /dev/spidev1.0 | hexdump execve("/bin/echo", ["echo", "

[LEDE-DEV] spi-tools failure

2017-01-07 Thread Giuseppe Lippolis
Here the report using a different command: root@lede:/tmp# spi-pipe -d /dev/spidev1.0 -b 4 -n 40 < /dev/zero SPI_IOC_MESSAGE: Invalid argument root@lede:/tmp# strace spi-pipe -d /dev/spidev1.0 -b 4 -n 40 < /dev/zero execve("/usr/bin/spi-pipe", ["spi-pipe", "-d", "/dev/spidev1.0", "-b", "4", "-n",

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

2017-01-07 Thread Magnus Kroken
Hi Oswald 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 with it - that's usually going to just work, as the network configu

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

2017-01-07 Thread Petr Štetiar
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, but it can take

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

2017-01-07 Thread Luiz Angelo Daros de Luca
When I do upgrades, I save the list of "extra" installed packages (looking at /overlay/upper/usr/lib/opkg/info/*.control). Maybe we could save this "list of extra packages" when the configuration is saved (like before the upgrade) somewhere. It's useful and very "cheap". When this "list" is presen

[LEDE-DEV] Maybe inconsistency on ramips/rt5350.dtsi intc resets

2017-01-07 Thread Luiz Angelo Daros de Luca
Hello, I was comparing some DTS files and their respective datasheet trying to understand what goes where. I found this reset info on rt5350.dtsi target/linux/ramips/dts/rt5350.dtsi: intc: intc@200 { compatible = "ralink,rt5350-intc", "ralink,rt2880-intc"; r