Re: [OpenWrt-Devel] [RFC 0/3] ath25: move Fonera 2.0g to subtarget

2018-06-04 Thread Sergey Ryazanov
Hello David,

On Fri, Jun 1, 2018 at 11:14 AM, David Woodhouse  wrote:
> On Fri, 2018-06-01 at 03:36 +0300, Sergey Ryazanov wrote:
>> This series adds a new ath25 subtarget for the Fonera 2.0g (FON2202)
>> router. This router is unique since it have a USB port and uses PCI
>> controller of AR2315 SoC. AFAIK, there are no other AR231x based routers
>> which at least uses SoC's PCI controller.
>
> Hm, I have one of these, still running the ancient unmaintained Fonera
> firmware. I've resisted 'fixing' it so far because I don't actually
> want to lose the Fon functionality. Is there a way to get that working
> again if I upgrade to a modern OpenWRT (with 802.11r etc.)?

I do not know. I have an experience with this hardware but I have
never used the stock firmware and the Fon functionality.

-- 
Sergey

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [RFC 0/3] ath25: move Fonera 2.0g to subtarget

2018-06-01 Thread David Woodhouse
On Fri, 2018-06-01 at 03:36 +0300, Sergey Ryazanov wrote:
> This series adds a new ath25 subtarget for the Fonera 2.0g (FON2202)
> router. This router is unique since it have a USB port and uses PCI
> controller of AR2315 SoC. AFAIK, there are no other AR231x based routers
> which at least uses SoC's PCI controller.

Hm, I have one of these, still running the ancient unmaintained Fonera
firmware. I've resisted 'fixing' it so far because I don't actually
want to lose the Fon functionality. Is there a way to get that working
again if I upgrade to a modern OpenWRT (with 802.11r etc.)?



smime.p7s
Description: S/MIME cryptographic signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel


[OpenWrt-Devel] [RFC 0/3] ath25: move Fonera 2.0g to subtarget

2018-05-31 Thread Sergey Ryazanov
This series adds a new ath25 subtarget for the Fonera 2.0g (FON2202)
router. This router is unique since it have a USB port and uses PCI
controller of AR2315 SoC. AFAIK, there are no other AR231x based routers
which at least uses SoC's PCI controller.

This series have two goals:
* simplify building of image with all packets that are required for
* FON2202 USB support
* debloat the generic kernel by disabling the PCI support

The second goal was achieved only partially. On the one hand the
uncompressed (ELF) kernel become smaller by ~120kb, lzma-compressed
kernel become smaller by ~38kb, but on the other hand the 64kb alignment
kills this reduction. See the size reduction details below.

   ELF LZMA   Padded
 old generic   4209348  1368408  1376256
 new generic   4079044  1328723  1376256

Sergey Ryazanov (3):
  ath25: factor out Fonera 2.0g to subtarget
  ath25: factor out Fonera 2.0g kernel options
  ath25: fon2202: add packages for USB support

 target/linux/ath25/Makefile|  5 +-
 target/linux/ath25/config-4.14 | 14 +
 target/linux/ath25/fon2202/config-default  | 10 +++
 target/linux/ath25/fon2202/profiles/00-default.mk  | 16 +
 target/linux/ath25/fon2202/target.mk   |  8 +++
 target/linux/ath25/generic/config-default  |  6 ++
 .../ath25/{ => generic}/profiles/00-default.mk |  0
 target/linux/ath25/generic/target.mk   |  5 ++
 target/linux/ath25/image/Makefile  | 71 ++---
 target/linux/ath25/image/fon2202.mk| 16 +
 target/linux/ath25/image/generic.mk| 73 ++
 11 files changed, 143 insertions(+), 81 deletions(-)
 create mode 100644 target/linux/ath25/fon2202/config-default
 create mode 100644 target/linux/ath25/fon2202/profiles/00-default.mk
 create mode 100644 target/linux/ath25/fon2202/target.mk
 create mode 100644 target/linux/ath25/generic/config-default
 rename target/linux/ath25/{ => generic}/profiles/00-default.mk (100%)
 create mode 100644 target/linux/ath25/generic/target.mk
 create mode 100644 target/linux/ath25/image/fon2202.mk
 create mode 100644 target/linux/ath25/image/generic.mk

-- 
2.16.1


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel