[OpenWrt-Devel] Comfast board

2016-05-02 Thread Reinoud Koornstra
Hi Everyone,

I want to buld openwrt for this cpu: CPU0 revision is: 00019750 (MIPS 74Kc).
Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
Currently I cannot find the correct options for this.
The board that is reported is this: board=COMFAST-CF-WR650AC
It carries this chipset: SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
It reports this switch:

[0.83] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
[0.92] libphy: ag71xx_mdio: probed
[1.52] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00
[uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[1.53] eth0: Atheros AG71xx at 0xb900, irq 4, mode:RGMII
[2.12] eth1: Atheros AG71xx at 0xba00, irq 5, mode:SGMII

Any hints as to what to chose to make this happen?
Thanks,

Reinoud.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Introducing the LEDE project

2016-05-03 Thread Reinoud Koornstra
On Tue, May 3, 2016 at 7:54 PM, Outback Dingo  wrote:
>
>
> On Wed, May 4, 2016 at 12:50 AM, Roman Yeryomin 
> wrote:
>>
>> On 3 May 2016 at 23:19, Bruno Randolf  wrote:
>> > On 03/05/16 18:59, Jo-Philipp Wich wrote:
>> >> we'd like to introduce LEDE, a reboot of the OpenWrt community
>> >> ...
>> >> Jo-Philipp Wich,
>> >> John Crispin,
>> >> Daniel Golle,
>> >> Felix Fietkau,
>> >> Hauke Mehrtens
>> >> John Crispin
>> >> Matthias Schiffer,
>> >> Steven Barth
>> >
>> > While a fresh start and a more open process is good move, given this
>> > list of supporters it sounds a bit ridiculous... who is left in the
>> > OpenWRT boat and why not do it as OpenWRT (V2 or whatever)???
>
>
> come on.. is this a joke? same names, same faces, if you sliced this list
> off from the current dev group, who is actually left anyway on that
> note, if its legit, ill jump onboard and throw my hat in the ring also due
> to my trust and respect for those that are listed.

I am kind of surprised.
There are still daily checkins in the tree.
Still some people are adding support for boards.
Hence I must not understand the notion of inactiveness.
The value of openwrt is still invaluable.
If rebranding helps pumping additional life into it, why not...

>
>>
>>
>> Indeed. Looks like silent rebranding. Without public discussion of the
>> issues (and possible ways to fix them) in mailing list Same people,
>> rules and methods.
>> Could you elaborate more and explain how exactly LEDE is going to fix
>> the listed problems? And why it's not possible to fix them inside
>> existing project?
>>
>>
>> Regards,
>> Roman
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] How to debug/config qos-scripts to work with OpenWRT AA?

2016-05-29 Thread Reinoud Koornstra
Traditionally this is correct. However now uplink and downlink are possible
with Cake. A more advanced fq_codel. You can find it on bufferbloat from
Dave Taht.  You'll also need his iproute2 to recognize that qdisc. Pretty
easy to compilie it in openwrt and have fun with it.
Thanks,

Reinoud.
On May 25, 2016 9:04 PM, "Danng"  wrote:

> Hello,
>
> I am trying to use qos-scripts in OpenWRT AA. I have an issue that the
> qos-scripts can limit uplink speed but not downlink speed.
>
> For example: I set 128kbit uplink and 1024kbit downlink, however, the
> downlink is limitless
>
> This is the speedtest I captured
>
> http://speedof.me/show.php?img=160526022701-7038.png
>
> - uplink can go up to 104kbps
> - downlink can go up to 7861kbps (which is higher than the limitation I
> set)
>
> ---
>
> I also tried with wshaper and the got same result.
>
> Here is my setup:
> - eth1 is the WAN port
> - eth0 is connect to my PC
> - OpenWRT AA
> - Linux kernel 3.3.8
>
> 
> * cmd: cat /etc/config/qos
> 
>
> # QoS configuration for OpenWrt
>
> # INTERFACES:
> config interface wan
>   option classgroup  "Default"
>   option enabled  1
>   option upload   128
>   option download 1024
>
> # RULES:
> config classify
>   option target   "Priority"
>   option ports"22,53"
>   option comment  "ssh, dns"
> config classify
>   option target   "Normal"
>   option proto"tcp"
>   option ports"20,21,25,80,110,443,993,995"
>   option comment  "ftp, smtp, http(s), imap"
> config classify
>   option target   "Express"
>   option ports"5190"
>   option comment  "AOL, iChat, ICQ"
> config default
>   option target   "Express"
>   option proto"udp"
>   option pktsize  "-500"
> config reclassify
>   option target   "Priority"
>   option proto"icmp"
> config default
>   option target   "Bulk"
>   option portrange"1024-65535"
>
>
> # Don't change the stuff below unless you
> # really know what it means :)
>
> config classgroup "Default"
>   option classes  "Priority Express Normal Bulk"
>   option default  "Normal"
>
>
> config class "Priority"
>   option packetsize  400
>   option avgrate 10
>   option priority20
> config class "Priority_down"
>   option packetsize  1000
>   option avgrate 10
>
>
> config class "Express"
>   option packetsize  1000
>   option avgrate 50
>   option priority10
>
> config class "Normal"
>   option packetsize  1500
>   option packetdelay 100
>   option avgrate 10
>   option priority5
> config class "Normal_down"
>   option avgrate 20
>
> config class "Bulk"
>   option avgrate 1
>   option packetdelay 200
>
> 
> * cmd: /usr/lib/qos/generate.sh all
> 
> | insmod cls_u32 >&- 2>&-
> | insmod em_u32 >&- 2>&-
> | insmod act_connmark >&- 2>&-
> | insmod act_mirred >&- 2>&-
> | insmod sch_ingress >&- 2>&-
> | insmod cls_fw >&- 2>&-
> | insmod sch_hfsc >&- 2>&-
> | insmod sch_fq_codel >&- 2>&-
> | ifconfig eth1 up txqueuelen 5 >&- 2>&-
> | tc qdisc del dev eth1 root >&- 2>&-
> | tc qdisc add dev eth1 root handle 1: hfsc default 30
> | tc class add dev eth1 parent 1: classid 1:1 hfsc sc rate 128kbit ul rate 
> 128kbit
> | tc class add dev eth1 parent 1:1 classid 1:10 hfsc rt m1 74kbit d 6103us m2 
> 12kbit ls m1 74kbit d 6103us m2 71kbit ul rate 128kbit
> | tc class add dev eth1 parent 1:1 classid 1:20 hfsc rt m1 68kbit d 15258us 
> m2 64kbit ls m1 68kbit d 15258us m2 35kbit ul rate 128kbit
> | tc class add dev eth1 parent 1:1 classid 1:30 hfsc ls m1 0kbit d 10us 
> m2 17kbit ul rate 128kbit
> | tc class add dev eth1 parent 1:1 classid 1:40 hfsc ls m1 0kbit d 20us 
> m2 3kbit ul rate 128kbit
> | tc qdisc add dev eth1 parent 1:10 handle 100: fq_codel
> | tc qdisc add dev eth1 parent 1:20 handle 200: fq_codel
> | tc qdisc add dev eth1 parent 1:30 handle 300: fq_codel
> | tc qdisc add dev eth1 parent 1:40 handle 400: fq_codel
> | tc filter add dev eth1 parent 1: prio 1 protocol ip handle 1/0xff fw flowid 
> 1:10
> | tc filter add dev eth1 parent 1: prio 2 protocol ip handle 2/0xff fw flowid 
> 1:20
> | tc filter add dev eth1 parent 1: prio 3 protocol ip handle 3/0xff fw flowid 
> 1:30
> | tc filter add dev eth1 parent 1: prio 4 protocol ip handle 4/0xff fw flowid 
> 1:40
> | ifconfig ifb0 up txqueuelen 5 >&- 2>&-
> | tc qdisc del dev ifb0 root >&- 2>&-
> | tc qdisc add dev ifb0 root handle 1: hfsc default 30
> | tc class add dev ifb0 parent 1: classid 1:1 hfsc sc rate 1024kbit ul rate 
> 1024kbit
> | tc qdisc del dev eth1 ingre

[OpenWrt-Devel] issues compiling binutils

2018-03-10 Thread Reinoud Koornstra
Hello Everyone,

Trying to make for my acm3200.
But I'm getting a nice compilation issue with binutils wrt bfd.
Anybody else run into this, any solutions?

configure: creating ./config.status
config.status: creating Makefile
touch 
/home/reinoud/LEDE/openwrt/build_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/binutils-2.29.1/.configured
make  -C 
/home/reinoud/LEDE/openwrt/build_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/binutils-2.29.1
all
make[4]: Entering directory
'/home/reinoud/LEDE/openwrt/build_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/binutils-2.29.1'
make[5]: Entering directory
'/home/reinoud/LEDE/openwrt/build_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/binutils-2.29.1'
Configuring in ./libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo...
/home/reinoud/LEDE/openwrt/build_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/binutils-2.29.1/missing
makeinfo --split-size=500
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
checking for perl... perl
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-ar... ar
checking for x86_64-pc-linux-gnu-ranlib... ranlib
checking whether to install libiberty headers and static library... no
configure: target_header_dir =
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e...
/home/reinoud/LEDE/openwrt/staging_dir/host/bin/grep
checking for egrep... /home/reinoud/LEDE/openwrt/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wc++-compat... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wshadow=local... yes
checking whether gcc supports -pedantic ... yes
checking whether gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... (cached) yes
checking for stdio_ext.h... yes
checking for process.h... no
checking for sys/prctl.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking size of int... 4
checking size of long... 8
checking size of size_t... 8
checking for long long... yes
checking size of long long... 8
checking for a 64-bit type... uint64_t
checking for intptr_t... yes
checking for uintptr_t... yes
checking for ssize_t... yes
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking

[OpenWrt-Devel] acm3200 wifi problems

2018-03-10 Thread Reinoud Koornstra
Hi Everyone,

I did build an image forthe acm3200, but it does have wifi problems.

Linux version 4.14.25 (reinoud@router-dev) (gcc version 7.3.0 (OpenWrt
GCC 7.3.0 r6420-4e8f1e9f4c)) #0 SMP Sat Mar 10 10:58:19 2018

Please see below, did anyone else see this?

[8.632226] <>
[8.640291] pci :00:01.0: enabling device (0140 -> 0142)
[8.646071] ieee80211 phy0: priv->pcmd_buf = de248000
priv->pphys_cmd_buf = 1e248000
[8.699213] ieee80211 phy0: fw download start
[8.699218] ieee80211 phy0: ddr init: download start
[8.699595] ieee80211 phy0: ddr init: download complete
[8.837306] ieee80211 phy0: FwSize = 450512 downloaded Size =
450512 curr_iteration 65522
[   11.709190] ieee80211 phy0: fw download complete
[   11.709218] ieee80211 phy0: device node: /soc/pcie/pcie@1,0
[   11.724587] ieee80211 phy0: pcmd = de248000
[   11.742629] ieee80211 phy0: firmware version: 0x9030205
[   12.103212] ieee80211 phy0: firmware region code: 10
[   12.134797] ieee80211 phy0: 2G disabled, 5G enabled
[   12.139712] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   12.145175] pci :00:02.0: enabling device (0140 -> 0142)
[   12.150981] ieee80211 phy1: priv->pcmd_buf = d9e9c000
priv->pphys_cmd_buf = 19e9c000
[   12.158518] ieee80211 phy1: fw download start
[   12.158523] ieee80211 phy1: ddr init: download start
[   12.158908] ieee80211 phy1: ddr init: download complete
[   12.300381] ieee80211 phy1: FwSize = 450512 downloaded Size =
450512 curr_iteration 65527
[   13.495197] ieee80211 phy1: fw download complete
[   13.495243] ieee80211 phy1: device node: /soc/pcie/pcie@2,0
[   13.510657] ieee80211 phy1: pcmd = d9e9c000
[   13.528214] ieee80211 phy1: firmware version: 0x9030205
[   13.888199] ieee80211 phy1: firmware region code: 10
[   13.911809] ieee80211 phy1: 2G enabled, 5G disabled
[   13.916711] ieee80211 phy1: 4 TX antennas, 4 RX antennas

However, it isn't happy at all.

[   17.255416] ieee80211 phy0: change: 0x100
[   17.264214] ieee80211 phy0: change: 0x60
[   17.309628] ieee80211 phy1: change: 0x100
[   17.318217] ieee80211 phy1: change: 0x42
[   17.465219] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   17.482624] ieee80211 phy0: change: 0x40
[   17.699202] ieee80211 phy0: change: 0x60
[   17.797216] ieee80211 phy0: change: 0x100
[   17.851427] ieee80211 phy0: change: 0x100
[   17.859194] ieee80211 phy0: change: 0x62
[   18.024206] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.466483] ieee80211 phy1: staid 1 deleted
[   35.029038] ieee80211 phy1: staid 1 deleted
[   36.438466] ieee80211 phy0: staid 1 deleted
[   38.83] ieee80211 phy0: staid 1 deleted
[   39.819456] ieee80211 phy0: staid 1 deleted
[   41.645183] ieee80211 phy1: staid 1 deleted
[   48.539349] ieee80211 phy1: staid 1 deleted
[   49.469574] ieee80211 phy1: staid 1 deleted
[   62.347371] ieee80211 phy1: staid 1 deleted
[   66.269491] ieee80211 phy1: staid 1 deleted
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel