Re: [LEDE-DEV] [PATCH] Support Candela-Tech ath10k and ath9k out-of-tree driver.

2016-06-26 Thread Felix Fietkau
On 2016-06-22 00:00, gree...@candelatech.com wrote: > From: Ben Greear > > This lets one use the ath9k and ath10k driver instead of the built-in > ath10k/ath9k driver from the upstream kernel (or backports). > > For ath10k, this should be a drop-in replacement, as well as enabling > better CT fi

Re: [LEDE-DEV] [PATCH libubox v2 3/3] blobmsg_json: add new functions blobmsg_format_json_value*

2016-06-26 Thread Felix Fietkau
On 2016-06-21 17:19, Matthias Schiffer wrote: > The current blobmsg_format_json* functions will return invalid JSON when > the "list" argument is given as false (blobmsg_format_element() will > output the name of the blob_attr as if the value is printed as part of a > JSON object). > > To avoid br

Re: [LEDE-DEV] [PATCH] Support Candela-Tech ath10k and ath9k out-of-tree driver.

2016-06-26 Thread Felix Fietkau
On 2016-06-26 13:31, Ben Greear wrote: > On 06/26/2016 03:52 AM, Felix Fietkau wrote: >> On 2016-06-22 00:00, gree...@candelatech.com wrote: >>> From: Ben Greear >>> >>> This lets one use the ath9k and ath10k driver instead of the built-in >>> ath10k/ath9k driver from the upstream kernel (or backp

Re: [LEDE-DEV] [PATCH] Support Candela-Tech ath10k and ath9k out-of-tree driver.

2016-06-26 Thread Ben Greear
On 06/26/2016 03:52 AM, Felix Fietkau wrote: On 2016-06-22 00:00, gree...@candelatech.com wrote: From: Ben Greear This lets one use the ath9k and ath10k driver instead of the built-in ath10k/ath9k driver from the upstream kernel (or backports). For ath10k, this should be a drop-in replacement

[LEDE-DEV] Kirkwood Audi U-Boot fw_setenv errors

2016-06-26 Thread David Gilman
Claudio, I have a Kirkwood EA3500 (Audi) board and it seems that at some point the patches for this board have regressed the uboot fw_setenv utility and semi-bricked my machine. I've been digging into this issue and I suspect there was some value missed somewhere but I would like to hear some feed

Re: [LEDE-DEV] Kirkwood Audi U-Boot fw_setenv errors

2016-06-26 Thread Claudio Leite
Hello David, * David Gilman (dgil...@gilslotd.com) wrote: > Claudio, I have a Kirkwood EA3500 (Audi) board and it seems that at some > point the patches for this board have regressed the uboot fw_setenv > utility and semi-bricked my machine. I've been digging into this issue > and I suspect there

Re: [LEDE-DEV] Kirkwood Audi U-Boot fw_setenv errors

2016-06-26 Thread David Gilman
On Sun, Jun 26, 2016 at 07:07:58PM -0400, Claudio Leite wrote: > > What does your /etc/fw_env.config look like? Did you perhaps restore a > saved config backup at some point which could've contained that file? > > It should look like: > > /dev/mtd1 0x0 0x4000 0x4000 Your intuition was dead on h

Re: [LEDE-DEV] [PATCH RFC v3 3/3] ath9k: parse the device configuration from an OF node

2016-06-26 Thread Martin Blumenstingl
On Sat, Jun 25, 2016 at 9:26 PM, Christian Lamparter wrote: > The problem with the owl-loader is/was that it sticks around > when it has initialized all the cards. Unloading a module by > itself is tough. One way out would be to add it to ath9k's pci.c. > The question is: will such a feature have

Re: [LEDE-DEV] [PATCH RFC v3 3/3] ath9k: parse the device configuration from an OF node

2016-06-26 Thread Christian Lamparter
On Saturday, June 25, 2016 05:08:29 PM Martin Blumenstingl wrote: > On Sat, Jun 25, 2016 at 2:01 PM, Christian Lamparter > wrote: > > On Friday, June 24, 2016 02:34:30 PM Martin Blumenstingl wrote: > >> This makes it possible to configure ath9k based devices using > >> devicetree. That makes some

[LEDE-DEV] [PATCH libubox v3] blobmsg_json: add new functions blobmsg_format_json_value*

2016-06-26 Thread Matthias Schiffer
The current blobmsg_format_json* functions will return invalid JSON when the "list" argument is given as false (blobmsg_format_element() will output the name of the blob_attr as if the value is printed as part of a JSON object). To avoid breaking software relying on this behaviour, introduce new f