Re: [OpenWrt-Devel] [buildbot breakage] ramips / ramips.rt3883 since 42807
On 10/10/2014 07:58, Dirk Neukirchen wrote: > Browsing the buildbots I saw both ramips and ramips.rt3883 [1],[2] fail > > with: > drivers/i2c/busses/i2c-ralink.c:31:26: fatal error: linux/of_i2c.h: No such > file or directory > #include > > linux/of_i2c.h is introduced in: > https://dev.openwrt.org/changeset/42807 > > it seems to be removed from upstream [3] > "i2c: move OF helpers into the core" > > > But I dont know anything about i2c / ramips / ralink, which has an > i2c-ralink.c thats not upstream yet. i have a fix in my local queue, just waiting for the test build to finish before pushing it. > > > links: > [1] http://buildbot.openwrt.org:8010/builders/ramips > [2] http://buildbot.openwrt.org:8010/builders/ramips.rt3883 > [3] > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=687b81d083c082bc1e853032e3a2a54f8c251d27 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask
Hi Basti, I support your changes to dnsmaq init, as this addresses a real use-case to enhance wireless roaming in our Freifunk mesh as well. Greetings Thomas On 09.10.2014, at 17:07, Bastian Bittorf wrote: > [dnsmasq] support enforced start-IP, end-IP, netmask > > there are corner cases where the "simple" setup via start/end/limit > option does not fit, in our case we need to hand out > > 192.168.2.1 ... 192.168.2.254 with a netmask of /24 but > the underlying interface has 192.168.0.1/16 so the smart > autodetection method of the init-script does not work. > > our section looks like: > > config dhcp 'roaming' >option interface 'voyager' >option force_netmask 255.255.255.0 >option force_startaddr 192.168.2.1 >option force_endaddr 192.168.2.254 > > we use the setup for having an decentralized roaming > mechanism for an OLSR-mesh-network. > > Signed-off-by: Bastian Bittorf > --- > package/network/services/dnsmasq/files/dnsmasq.init |5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/package/network/services/dnsmasq/files/dnsmasq.init > b/package/network/services/dnsmasq/files/dnsmasq.init > index 942acd7..3c0399b 100644 > --- a/package/network/services/dnsmasq/files/dnsmasq.init > +++ b/package/network/services/dnsmasq/files/dnsmasq.init > @@ -406,6 +406,9 @@ dhcp_add() { > config_get leasetime "$cfg" leasetime > config_get options "$cfg" options > config_get_bool dynamicdhcp "$cfg" dynamicdhcp 1 > + config_get force_netmask "$cfg" force_netmask > + config_get force_startaddr "$cfg" force_startaddr > + config_get force_endaddr "$cfg" force_endaddr > > leasetime="${leasetime:-12h}" > start="$(dhcp_calc "${start:-100}")" > @@ -413,7 +416,7 @@ dhcp_add() { > [ "$limit" -gt 0 ] && limit=$((limit-1)) > eval "$(ipcalc.sh "${subnet%%/*}" $netmask $start $limit)" > if [ "$dynamicdhcp" = "0" ]; then END="static"; fi > - xappend > "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}" > + xappend > "--dhcp-range=$networkid,${force_startaddr:-$START},${force_endaddr:-$END},${force_netmask:-$NETMASK},$leasetime${options:+ > $options}" > > dhcp_option_add "$cfg" "$networkid" > } > -- > 1.7.10.4 > ___ > 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] [PATCH 1/3] rb532: add 3.14 support
On 7 October 2014 08:32, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin > --- > target/linux/rb532/config-3.14 | 148 > + > .../rb532/patches-3.14/001-cmdline_hack.patch | 20 +++ > .../rb532/patches-3.14/002-rb532_nand_fixup.patch | 47 +++ > .../003-MIPS-rc32434-fix-broken-pci-init.patch | 37 ++ > ...tion_info-rename-rootfs-to-rootfs_onboard.patch | 11 ++ > 5 files changed, 263 insertions(+) > create mode 100644 target/linux/rb532/config-3.14 > create mode 100644 target/linux/rb532/patches-3.14/001-cmdline_hack.patch > create mode 100644 target/linux/rb532/patches-3.14/002-rb532_nand_fixup.patch > create mode 100644 > target/linux/rb532/patches-3.14/003-MIPS-rc32434-fix-broken-pci-init.patch > create mode 100644 > target/linux/rb532/patches-3.14/004-rb532_partition_info-rename-rootfs-to-rootfs_onboard.patch > Any chance this and two following patches can be applied to trunk? Regards, Roman ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] at91: fix at91-adc dependencies
Error reported by buildbot: Package kmod-at91-adc is missing dependencies for the following libraries: input-core.ko only compile tested Signed-off-by: Dirk Neukirchen --- target/linux/at91/modules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk index 4678b92..7f98233 100644 --- a/target/linux/at91/modules.mk +++ b/target/linux/at91/modules.mk @@ -38,7 +38,7 @@ $(eval $(call KernelPackage,pwm-atmel)) define KernelPackage/at91-adc SUBMENU:=$(OTHER_MENU) TITLE:=ADC on atmel SoC - DEPENDS:=@TARGET_at91 +kmod-iio-core + DEPENDS:=@TARGET_at91 +kmod-iio-core +kmod-input-core KCONFIG:=CONFIG_AT91_ADC FILES:=$(LINUX_DIR)/drivers/iio/adc/at91_adc.ko AUTOLOAD:=$(call AutoLoad,40,at91_adc) -- 2.1.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] lantiq: fix ltq-vdsl-fw
Signed-off-by: Eddi De Pieri --- package/kernel/lantiq/ltq-vdsl-fw/Makefile |2 +- package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 10 +- package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/kernel/lantiq/ltq-vdsl-fw/Makefile b/package/kernel/lantiq/ltq-vdsl-fw/Makefile index 6404067..047f557 100644 --- a/package/kernel/lantiq/ltq-vdsl-fw/Makefile +++ b/package/kernel/lantiq/ltq-vdsl-fw/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ltq-vdsl-fw PKG_VERSION:=1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=John Crispin diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh index 63ed948..e7baddf 100755 --- a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh @@ -1,15 +1,15 @@ #!/bin/sh . /lib/functions.sh -FW="/tmp/Firmware_Speedport_W921V_1.20.000.bin" -URL="http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.20.000.bin"; +FW="/tmp/Firmware_Speedport_W921V_1.36.000.bin" +URL="http://www.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.36.000.bin"; FW_TAPI="vr9_tapi_fw.bin" FW_DSL="vr9_dsl_fw_annex_b.bin" -MD5_FW="4d812f2c3476dadd738b022c4767c491" +MD5_FW="8f155d5d3f963e9fe207817280d541f9" MD5_TAPI="06b6ab3481b8d3eb7e8bf6131f7f6b7f" -MD5_DSL="59dd9dc81195c6854433c691b163f757" +MD5_DSL="96465516993771e5a192ab94813f404d" -[ -f /lib/firmware/vdsl.bin] && exit 0 +[ -f /lib/firmware/vdsl.bin ] && exit 0 [ -z "$1" ] || URL=$1 diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c index ad2e018..b43ebf1 100644 --- a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c @@ -26,7 +26,7 @@ #include "LzmaWrapper.h" -#define FW_NAME"/tmp/Firmware_Speedport_W921V_1.20.000.bin" +#define FW_NAME"/tmp/Firmware_Speedport_W921V_1.36.000.bin" #define MAGIC 0x50 #define MAGIC_SZ 0x3FFC00 -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] lantiq: fix ltq-vdsl-fw
and that works ? last i tried on 32 or 34 and it failed horribly ... On 10/10/2014 14:54, Eddi De Pieri wrote: > > Signed-off-by: Eddi De Pieri --- > package/kernel/lantiq/ltq-vdsl-fw/Makefile |2 +- > package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 10 > +- package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/package/kernel/lantiq/ltq-vdsl-fw/Makefile > b/package/kernel/lantiq/ltq-vdsl-fw/Makefile index 6404067..047f557 > 100644 --- a/package/kernel/lantiq/ltq-vdsl-fw/Makefile +++ > b/package/kernel/lantiq/ltq-vdsl-fw/Makefile @@ -7,7 +7,7 @@ > include $(TOPDIR)/rules.mk > > PKG_NAME:=ltq-vdsl-fw PKG_VERSION:=1 -PKG_RELEASE:=1 > +PKG_RELEASE:=2 > > PKG_MAINTAINER:=John Crispin > > diff --git > a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh > b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh index > 63ed948..e7baddf 100755 --- > a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh +++ > b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh @@ -1,15 > +1,15 @@ #!/bin/sh . /lib/functions.sh > > -FW="/tmp/Firmware_Speedport_W921V_1.20.000.bin" > -URL="http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.20.000.bin"; > > +FW="/tmp/Firmware_Speedport_W921V_1.36.000.bin" > +URL="http://www.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.36.000.bin"; > > FW_TAPI="vr9_tapi_fw.bin" > FW_DSL="vr9_dsl_fw_annex_b.bin" > -MD5_FW="4d812f2c3476dadd738b022c4767c491" > +MD5_FW="8f155d5d3f963e9fe207817280d541f9" > MD5_TAPI="06b6ab3481b8d3eb7e8bf6131f7f6b7f" > -MD5_DSL="59dd9dc81195c6854433c691b163f757" > +MD5_DSL="96465516993771e5a192ab94813f404d" > > -[ -f /lib/firmware/vdsl.bin] && exit 0 +[ -f > /lib/firmware/vdsl.bin ] && exit 0 > > [ -z "$1" ] || URL=$1 > > diff --git > a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c index > ad2e018..b43ebf1 100644 --- > a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c +++ > b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c @@ -26,7 > +26,7 @@ > > #include "LzmaWrapper.h" > > -#define FW_NAME "/tmp/Firmware_Speedport_W921V_1.20.000.bin" > +#define FW_NAME "/tmp/Firmware_Speedport_W921V_1.36.000.bin" > > #define MAGIC 0x50 #define MAGIC_SZ 0x3FFC00 > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] lantiq: fix ltq-vdsl-fw
Hi John, maybe you can try this together with the driver update you reverted again? I know that there are sometimes dependencies which are not obvious. I don't have more details on this, maybe I can check for the versions with my colleague, when he is back from vacation. Best Regards, Thomas --- There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors. --- > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of John Crispin > Sent: Friday, October 10, 2014 3:00 PM > To: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH] lantiq: fix ltq-vdsl-fw > > and that works ? last i tried on 32 or 34 and it failed horribly ... > > > > On 10/10/2014 14:54, Eddi De Pieri wrote: > > > > Signed-off-by: Eddi De Pieri --- > > package/kernel/lantiq/ltq-vdsl-fw/Makefile |2 +- > > package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 10 > > +- package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > > |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/package/kernel/lantiq/ltq-vdsl-fw/Makefile > > b/package/kernel/lantiq/ltq-vdsl-fw/Makefile index 6404067..047f557 > > 100644 --- a/package/kernel/lantiq/ltq-vdsl-fw/Makefile +++ > > b/package/kernel/lantiq/ltq-vdsl-fw/Makefile @@ -7,7 +7,7 @@ > > include $(TOPDIR)/rules.mk > > > > PKG_NAME:=ltq-vdsl-fw PKG_VERSION:=1 -PKG_RELEASE:=1 > > +PKG_RELEASE:=2 > > > > PKG_MAINTAINER:=John Crispin > > > > diff --git > > a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh > > b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh index > > 63ed948..e7baddf 100755 --- > > a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh +++ > > b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh @@ -1,15 > > +1,15 @@ #!/bin/sh . /lib/functions.sh > > > > -FW="/tmp/Firmware_Speedport_W921V_1.20.000.bin" > > - > URL="http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20 > W%20921V/Firmware_Speedport_W921V_1.20.000.bin" > > > > > +FW="/tmp/Firmware_Speedport_W921V_1.36.000.bin" > > > +URL="http://www.telekom.de/dlp/eki/downloads/Speedport/Speedport%20 > W%20921V/Firmware_Speedport_W921V_1.36.000.bin" > > > > > FW_TAPI="vr9_tapi_fw.bin" > > FW_DSL="vr9_dsl_fw_annex_b.bin" > > -MD5_FW="4d812f2c3476dadd738b022c4767c491" > > +MD5_FW="8f155d5d3f963e9fe207817280d541f9" > > MD5_TAPI="06b6ab3481b8d3eb7e8bf6131f7f6b7f" > > -MD5_DSL="59dd9dc81195c6854433c691b163f757" > > +MD5_DSL="96465516993771e5a192ab94813f404d" > > > > -[ -f /lib/firmware/vdsl.bin] && exit 0 +[ -f > > /lib/firmware/vdsl.bin ] && exit 0 > > > > [ -z "$1" ] || URL=$1 > > > > diff --git > > a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > > b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c index > > ad2e018..b43ebf1 100644 --- > > a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c +++ > > b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c @@ -26,7 > > +26,7 @@ > > > > #include "LzmaWrapper.h" > > > > -#define FW_NAME > "/tmp/Firmware_Speedport_W921V_1.20.000.bin" > > +#define FW_NAME > "/tmp/Firmware_Speedport_W921V_1.36.000.bin" > > > > #define MAGIC 0x50 #define MAGIC_SZ 0x3FFC00 > > > ___ > 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] [PATCH] lantiq: fix ltq-vdsl-fw
Formally this patch is good for me but I have no dsl connection and here is annexa. Someone can try this out? Regards. Eddi On Fri, Oct 10, 2014 at 2:54 PM, Eddi De Pieri wrote: > > Signed-off-by: Eddi De Pieri > --- > package/kernel/lantiq/ltq-vdsl-fw/Makefile |2 +- > package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 10 +- > package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c |2 +- > 3 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/package/kernel/lantiq/ltq-vdsl-fw/Makefile > b/package/kernel/lantiq/ltq-vdsl-fw/Makefile > index 6404067..047f557 100644 > --- a/package/kernel/lantiq/ltq-vdsl-fw/Makefile > +++ b/package/kernel/lantiq/ltq-vdsl-fw/Makefile > @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk > > PKG_NAME:=ltq-vdsl-fw > PKG_VERSION:=1 > -PKG_RELEASE:=1 > +PKG_RELEASE:=2 > > PKG_MAINTAINER:=John Crispin > > diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh > b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh > index 63ed948..e7baddf 100755 > --- a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh > +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh > @@ -1,15 +1,15 @@ > #!/bin/sh > . /lib/functions.sh > > -FW="/tmp/Firmware_Speedport_W921V_1.20.000.bin" > -URL=" > http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.20.000.bin > " > +FW="/tmp/Firmware_Speedport_W921V_1.36.000.bin" > +URL=" > http://www.telekom.de/dlp/eki/downloads/Speedport/Speedport%20W%20921V/Firmware_Speedport_W921V_1.36.000.bin > " > FW_TAPI="vr9_tapi_fw.bin" > FW_DSL="vr9_dsl_fw_annex_b.bin" > -MD5_FW="4d812f2c3476dadd738b022c4767c491" > +MD5_FW="8f155d5d3f963e9fe207817280d541f9" > MD5_TAPI="06b6ab3481b8d3eb7e8bf6131f7f6b7f" > -MD5_DSL="59dd9dc81195c6854433c691b163f757" > +MD5_DSL="96465516993771e5a192ab94813f404d" > > -[ -f /lib/firmware/vdsl.bin] && exit 0 > +[ -f /lib/firmware/vdsl.bin ] && exit 0 > > [ -z "$1" ] || URL=$1 > > diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > index ad2e018..b43ebf1 100644 > --- a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c > @@ -26,7 +26,7 @@ > > #include "LzmaWrapper.h" > > -#define FW_NAME > "/tmp/Firmware_Speedport_W921V_1.20.000.bin" > +#define FW_NAME > "/tmp/Firmware_Speedport_W921V_1.36.000.bin" > > #define MAGIC 0x50 > #define MAGIC_SZ 0x3FFC00 > -- > 1.7.10.4 > ___ > 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] [PATCH] lantiq: fix ltq-vdsl-fw
Hi, the driver works for me with the current firmware. if lantiq has an interest in an update then feel free to send patches. John On 10/10/2014 15:21, thomas.lan...@lantiq.com wrote: > Hi John, > > maybe you can try this together with the driver update you reverted again? > I know that there are sometimes dependencies which are not obvious. > > I don't have more details on this, maybe I can check for the versions with my > colleague, > when he is back from vacation. > > Best Regards, > Thomas > --- > There are two hard things in computer science: cache invalidation, naming > things, and off-by-one errors. > --- > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On >> Behalf Of John Crispin >> Sent: Friday, October 10, 2014 3:00 PM >> To: openwrt-devel@lists.openwrt.org >> Subject: Re: [OpenWrt-Devel] [PATCH] lantiq: fix ltq-vdsl-fw >> >> and that works ? last i tried on 32 or 34 and it failed horribly ... >> >> >> >> On 10/10/2014 14:54, Eddi De Pieri wrote: >>> Signed-off-by: Eddi De Pieri --- >>> package/kernel/lantiq/ltq-vdsl-fw/Makefile |2 +- >>> package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 10 >>> +- package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c >>> |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) >>> >>> diff --git a/package/kernel/lantiq/ltq-vdsl-fw/Makefile >>> b/package/kernel/lantiq/ltq-vdsl-fw/Makefile index 6404067..047f557 >>> 100644 --- a/package/kernel/lantiq/ltq-vdsl-fw/Makefile +++ >>> b/package/kernel/lantiq/ltq-vdsl-fw/Makefile @@ -7,7 +7,7 @@ >>> include $(TOPDIR)/rules.mk >>> >>> PKG_NAME:=ltq-vdsl-fw PKG_VERSION:=1 -PKG_RELEASE:=1 >>> +PKG_RELEASE:=2 >>> >>> PKG_MAINTAINER:=John Crispin >>> >>> diff --git >>> a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh >>> b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh index >>> 63ed948..e7baddf 100755 --- >>> a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh +++ >>> b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh @@ -1,15 >>> +1,15 @@ #!/bin/sh . /lib/functions.sh >>> >>> -FW="/tmp/Firmware_Speedport_W921V_1.20.000.bin" >>> - >> URL="http://hilfe.telekom.de/dlp/eki/downloads/Speedport/Speedport%20 >> W%20921V/Firmware_Speedport_W921V_1.20.000.bin" >>> >> +FW="/tmp/Firmware_Speedport_W921V_1.36.000.bin" >> +URL="http://www.telekom.de/dlp/eki/downloads/Speedport/Speedport%20 >> W%20921V/Firmware_Speedport_W921V_1.36.000.bin" >>> >> FW_TAPI="vr9_tapi_fw.bin" >>> FW_DSL="vr9_dsl_fw_annex_b.bin" >>> -MD5_FW="4d812f2c3476dadd738b022c4767c491" >>> +MD5_FW="8f155d5d3f963e9fe207817280d541f9" >>> MD5_TAPI="06b6ab3481b8d3eb7e8bf6131f7f6b7f" >>> -MD5_DSL="59dd9dc81195c6854433c691b163f757" >>> +MD5_DSL="96465516993771e5a192ab94813f404d" >>> >>> -[ -f /lib/firmware/vdsl.bin] && exit 0 +[ -f >>> /lib/firmware/vdsl.bin ] && exit 0 >>> >>> [ -z "$1" ] || URL=$1 >>> >>> diff --git >>> a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c >>> b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c index >>> ad2e018..b43ebf1 100644 --- >>> a/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c +++ >>> b/package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c @@ -26,7 >>> +26,7 @@ >>> >>> #include "LzmaWrapper.h" >>> >>> -#define FW_NAME >> "/tmp/Firmware_Speedport_W921V_1.20.000.bin" >>> +#define FW_NAME >> "/tmp/Firmware_Speedport_W921V_1.36.000.bin" >>> #define MAGIC 0x50 #define MAGIC_SZ 0x3FFC00 >>> >> ___ >> 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] x86_64 option is now missing - help!
Yes, x86_64 needs a lot of clean up to do. It’s a lot big and including too many unused modules in the kernel. Thanks. Ning From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of William Haynes Sent: Thursday, October 09, 2014 12:17 PM To: Dirk Neukirchen Cc: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] x86_64 option is now missing - help! That makes sense. So, if I build from the trunk, will Barrier Breaker packages still be able to be pulled or will the versions diverge to the point I have to maintain a separate download location for packages until time for an upgrade? Sincerely, William Haynes Sabai Technology -- Technology for the People -- p - 864-962-4072 f - 919-590-1929 e - will...@sabaitechnology.com On Thu, Oct 9, 2014 at 11:51 AM, Dirk Neukirchen wrote: On 09.10.2014 15:00, William Haynes wrote: > I've been developing a x86_64 bit system during the release candidates. > Now that the final is released, x86_64 is not an option anymore. Is there > a possibility of getting this added back or is it something I can do? I'm > developing for a baytrail (Intel) multicore processor and would like it to > run in 64 bit. x86_64 is still available in trunk Maybe it was not considered stable enough to be included in BB final? Some commits are only build tested and maybe there is not that much feedback on Hyper-V / ESXi / KVM / Virtualbox / qemu setups / real hw (apu1c , minnowboard ?). ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/2] netifd : Line up device.h include guard
Signed-off-by: Hans Dedecker --- device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.h b/device.h index 08a3055..73b2656 100644 --- a/device.h +++ b/device.h @@ -11,8 +11,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ -#ifndef __LL_H -#define __LL_H +#ifndef __NETIFD_DEVICE_H +#define __NETIFD_DEVICE_H #include #include -- 1.9.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 2/2] netifd: Fix lost interface device config for devices having default config
As the PPP main device (either a simple or old style vlan device) is freed when PPP interfaces are reloaded; interface device specific config (eg mtu/macaddr/...) is lost as the interface config is not re-applied on the newly created device. Patch fixes the issue by re-applying the interface device config after the main device is claimed and is having default config. Signed-off-by: Hans Dedecker --- interface.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface.c b/interface.c index 35f20b0..4543250 100644 --- a/interface.c +++ b/interface.c @@ -501,6 +501,8 @@ interface_claim_device(struct interface *iface) } else if (iface->ifname && !(iface->proto_handler->flags & PROTO_FLAG_NODEV)) { dev = device_get(iface->ifname, true); + if (dev && dev->default_config && iface->device_config) + device_set_config(dev, dev->type, iface->config); } else { dev = iface->ext_dev.dev; } @@ -881,8 +883,8 @@ interface_handle_link(struct interface *iface, const char *name, bool add, bool if (add) { device_set_present(dev, true); - if (iface->device_config) - device_set_config(dev, &simple_device_type, iface->config); + if (iface->device_config && dev->default_config) + device_set_config(dev, dev->type, iface->config); system_if_apply_settings(dev, &dev->settings, dev->settings.flags); ret = interface_add_link(iface, dev, link_ext); -- 1.9.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH][package] netifd: Make mtu configurable of dynamic 6rd tunnel interface
Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script. In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput Signed-off-by: Hans Dedecker --- package/network/config/netifd/files/lib/netifd/dhcp.script | 1 + package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 6 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script index 593fb93..90fa6d3 100755 --- a/package/network/config/netifd/files/lib/netifd/dhcp.script +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script @@ -65,6 +65,7 @@ setup_interface () { [ -n "$IFACE6RD_DELEGATE" ] && json_add_boolean delegate "$IFACE6RD_DELEGATE" [ -n "$ZONE6RD" ] || ZONE6RD=$ZONE [ -n "$ZONE6RD" ] && json_add_string zone "$ZONE6RD" + [ -n "$MTU6RD" ] && json_add_string mtu "$MTU6RD" json_close_object ubus call network add_dynamic "$(json_dump)" diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index b14f7be..6668b49 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -18,14 +18,15 @@ proto_dhcp_init_config() { proto_config_add_boolean delegate proto_config_add_string zone6rd proto_config_add_string zone + proto_config_add_string mtu6rd } proto_dhcp_setup() { local config="$1" local iface="$2" - local ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone - json_get_vars ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone + local ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone mtu6rd + json_get_vars ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone mtu6rd local opt dhcpopts for opt in $reqopts; do @@ -42,6 +43,7 @@ proto_dhcp_setup() { [ -n "$iface6rd" ] && append dhcpopts "-O 212" [ -n "$zone6rd" ] && proto_export "ZONE6RD=$zone6rd" [ -n "$zone" ] && proto_export "ZONE=$zone" + [ -n "$mtu6rd" ] && proto_export "MTU6RD=$mtu6rd" [ "$delegate" = "0" ] && proto_export "IFACE6RD_DELEGATE=0" proto_export "INTERFACE=$config" -- 1.9.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Barrier Breaker 14.07 Final
Congratulations! (a little late ...) On Thu, 2014-10-02 at 14:59 +0200, Steven Barth wrote: > The OpenWrt developers are proud to announce the final release > of OpenWrt Barrier Breaker. > >___ __ > | |.-.-.-.| | | |..| |_ > | - || _ | -__| || | | || _|| _| > |___|| __|_|__|__||||__| || >|__| W I R E L E S S F R E E D O M > - > BARRIER BREAKER (14.07) > - >* 1/2 oz Galliano Pour all ingredients into >* 4 oz cold Coffeean irish coffee mug filled >* 1 1/2 oz Dark Rum with crushed ice. Stir. >* 2 tsp. Creme de Cacao > - > > http://downloads.openwrt.org/barrier_breaker/14.07/ > > Important changes since RC3 > * various ath9k related fixes > * a few board related fixes > * fixes for packages depdending on curl > * per feed download folders > > Important changes since RC2 > * NAT & firewall throughput improvements > * Security updates for OpenSSL & PolarSSL > * Minor fixes in DHCP & DHCPv6 handling > * Configuration support for GRE tunnels > * Various other fixes > > Important changes since RC1 > * fix a long standing ath9k deadlock bug > * all feeds are now built > * image builder now works and RC2 contains all board specific images > * various board/stability fixes > > ** Highlights since Attitude Adjustment ** > Default configuration and images > > * Linux kernel updated to version 3.10 > * Procd: new preinit, init, hotplug and event system written in C > * Native IPv6-support > - RA & DHCPv6+PD client and server > - Local prefix allocation & source-restricted routes >(multihoming) > * Filesystem improvements > - Added support for sysupgrade on NAND-flash > - Added support for filesystem snapshot and rollback > - Rewritten mounting system in C for rootfs and block devices > * UCI configuration improvements > - Support for testing configuration and rollback to working >last working state > - Unified change trigger system to restart services on-demand > - Added a data validation layer > * Networking improvements > - Netifd now handles setup and configuration reload of >wireless interfaces > - Added reworked event support to allow obsoleting network >hotplug-scripts > - Added support for dynamic firewall rules and zones > - Added support for transparent multicast to unicast >translation for bridges > - Various other fixes and improvements > > Additional highlights selectable in the package feeds or SDK > * Extended IPv6-support > - Added DS-Lite support and improved 6to4, 6in4 and 6rd-support > - Experimental support for Lightweight 4over6, MAP-E and MAP-T > - Draft-support for self-managing home networks (HNCP) > * rpcd: new JSONRPC over HTTP-frontend for remote access to ubus > * mdns: new lightweight mdns daemon (work in progress) > * Initial support for the musl C standard library > * Support for QMI-based 3g/4g modems > * Support for DNSSEC validation > * Added architecture for package signing and SHA256 hashing > * ... and many more cool things > > Package feed reorganization > For quite a while already we are not very satisfied with the quality > of the packages-feed. To address this, we decided to do a fresh start > on GitHub. The new feed https://github.com/openwrt/packages should be > used from now on and package maintainers are asked to move their > packages there. For the final release we will still build the old > packages feed but it will be necessary to enable it manually in the > opkg package list to be usable. > Additionally we would like to give a big thank you to all of our > package > maintainers working on our various feeds. > > New build servers > We would like to express our gratitude to Imagination Technology for > funding the 2 build servers that we used for the release. > > Whats next ? > We aim at releasing Chaos Calmer (CC) before the end of the year. The > CC release will use 3.14 or a newer LTS kernel as baseline. > > > Have fun! > The OpenWrt developer team > ___ > 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] Q: update kernel from 3.10.49 to 3.10.57 (Bastian Bittorf)
> i would like to update the kernel, but just changing > the entry in 'target/linux/ar71xx/Makefile' to > > LINUX_VERSION:=3.10.57 > > will not work, because some patches cannot be applied > anymore. (it works without probs till 3.10.55). > the question is: can somebody give me a hint about the > workflow of how to rebase the patches? > > (is the reason for not updating the kernel anymore, > that we soon switch to 3.14 or just lack of time?) > > bye, bastian >From my experience upgrading a small package, there are some HUNK errors when applying the available patch for the new package. To fix the HUNK errors, some manual works are needed to manually edit patches so that those patches will apply cleanly to the new package. The developers maybe so busy, because editing patches for large package, such as kernel, require a lot of time and works. If you are interested in upgrading kernel, why don't you try to manually edit all patches available, so that the patches can be applied cleanly. If you are succeeded with editing all patches available for kernel 3.10.49 and applied to 3.10.57 cleanly, you can submit it here to see if the main OpenWrt developers will be glad and accept your work. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] SSTP-Client: added new package version 1.0.9
From: Federico Di Marco fede...@gmail.com Body of explanation: A new package has been added in packages feed under net/sstp-client directory, porting a simple SSTP client for Linux (please see http://sstp-client.sourceforge.net) to OpenWRT. There was also an old ticket requesting the porting of this tool ( https://dev.openwrt.org/ticket/10411). The libevent library used by this tool has been updated as well (it was necessary). Signed-off-by: Federico Di Marco fede...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCHv2] Build 8M image for 7Links PX-4885
7Links PX-4885 (clones) can also be purchased with 8MB flash. Creating images for these routers, use dtsi for common part Signed-off-by: Cezary Jackiewicz --- diff --git a/target/linux/ramips/dts/PX4885.dts b/target/linux/ramips/dts/PX4885.dts deleted file mode 100644 index 2bea444..000 --- a/target/linux/ramips/dts/PX4885.dts +++ /dev/null @@ -1,90 +0,0 @@ -/dts-v1/; - -/include/ "rt5350.dtsi" - -/ { - compatible = "PX4885", "ralink,rt5350-soc"; - model = "7Links PX-4885"; - - palmbus@1000 { - spi@b00 { - status = "okay"; - m25p80@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "mx25l3205d"; - reg = <0 0>; - linux,modalias = "m25p80", "mx25l3205d"; - spi-max-frequency = <1000>; - - partition@0 { - label = "u-boot"; - reg = <0x0 0x2>; - read-only; - }; - - partition@2 { - label = "devdata"; - reg = <0x2 0x2>; - read-only; - }; - - factory: partition@4 { - label = "devconf"; - reg = <0x4 0x1>; - read-only; - }; - - partition@5 { - label = "firmware"; - reg = <0x5 0x3b>; - }; - }; - }; - }; - - pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "i2c", "jtag", "uartf"; - ralink,function = "gpio"; - }; - }; - }; - - ethernet@1010 { - mtd-mac-address = <&factory 0x28>; - }; - - esw@1011 { - ralink,portmap = <0x3f>; - }; - - wmac@1018 { - ralink,mtd-eeprom = <&factory 0>; - }; - - gpio-keys-polled { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - reset { - label = "reset"; - gpios = <&gpio0 10 1>; - linux,code = <0x198>; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - orange { - label = "7links:orange:wifi"; - gpios = <&gpio0 18 1>; - }; - blue { - label = "7links:blue:storage"; - gpios = <&gpio0 19 1>; - }; - }; -}; diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 9355448..f048caf 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -466,7 +466,7 @@ Image/Build/Profile/PSR-680W=$(call BuildFirmware/Default4M/$(1),$(1),psr-680w,P Image/Build/Profile/PWH2004=$(call BuildFirmware/Default8M/$(1),$(1),pwh2004,PWH2004) -Image/Build/Profile/PX4885=$(call BuildFirmware/Default4M/$(1),$(1),px4885,PX4885) +Image/Build/Profile/PX4885=$(call BuildFirmware/DefaultDualSize/$(1),$(1),px4885,PX4885) Image/Build/Profile/RTG32B1=$(call BuildFirmware/Default4M/$(1),$(1),rt-g32-b1,RT-G32-B1) diff --git a/target/linux/ramips/dts/PX4885-4M.dts b/target/linux/ramips/dts/PX4885-4M.dts new file mode 100644 index 000..39bca1c --- /dev/null +++ b/target/linux/ramips/dts/PX4885-4M.dts @@ -0,0 +1,42 @@ +/dts-v1/; + +/include/ "PX4885.dtsi" + +/ { + palmbus@1000 { + spi@b00 { + status = "okay"; + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mx25l3205d"; + reg = <0 0>; + linux,modalias = "m25p80", "mx25l3205d"; + spi-max-frequency = <1000>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x2>; + read-only; + }; + + pa
[OpenWrt-Devel] [PATCH 0/8] BB (BACKPORT) - VGV7519 with working leds and wifi
Eddi De Pieri (8): vgv7519: backport vgv7519 dts lantiq: fix pinctrl-xway lantiq: remove strip-fcs patch that seems to introduce regression on multiple devices vgv7519: extract wifi firmware from mtd mac80211: add support for rf5362 (needed by vgv7519 wifi) lantiq: enable pci bus vgv7519: fix irq and disable pcie lantiq: start using device-tree on ifxmips_pcie .../patches/925-rt2x00-backport_rf5362.patch | 79 .../etc/hotplug.d/firmware/10-rt2x00-eeprom|2 +- target/linux/lantiq/dts/VGV7519.dtsi | 59 --- target/linux/lantiq/dts/VGV7519BRN.dts |6 ++ target/linux/lantiq/dts/VGV7519NOR.dts |6 ++ .../patches-3.10/0150-lantiq-pinctrl-xway.patch| 15 .../0151-lantiq-ifxmips_pcie-use-of.patch | 51 + .../0208-lantiq-xrx200-strip-fcs.patch | 11 --- target/linux/lantiq/xrx200/config-default |2 +- 9 files changed, 190 insertions(+), 41 deletions(-) create mode 100644 package/kernel/mac80211/patches/925-rt2x00-backport_rf5362.patch create mode 100644 target/linux/lantiq/patches-3.10/0150-lantiq-pinctrl-xway.patch create mode 100644 target/linux/lantiq/patches-3.10/0151-lantiq-ifxmips_pcie-use-of.patch delete mode 100644 target/linux/lantiq/patches-3.10/0208-lantiq-xrx200-strip-fcs.patch -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/8] BB (BACKPORT) - vgv7519: backport vgv7519 dts
Signed-off-by: Eddi De Pieri --- target/linux/lantiq/dts/VGV7519.dtsi | 53 target/linux/lantiq/dts/VGV7519BRN.dts |6 target/linux/lantiq/dts/VGV7519NOR.dts |6 3 files changed, 38 insertions(+), 27 deletions(-) diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi index 3f56d82..05c8aea 100644 --- a/target/linux/lantiq/dts/VGV7519.dtsi +++ b/target/linux/lantiq/dts/VGV7519.dtsi @@ -38,43 +38,41 @@ reg = <0xE100B10 0xA0>; state_default: pinmux { - exin3 { - lantiq,groups = "exin3"; - lantiq,function = "exin"; - }; stp { lantiq,groups = "stp"; lantiq,function = "stp"; }; spi { - lantiq,groups = "spi", "spi_cs4"; + lantiq,groups = "spi"; lantiq,function = "spi"; }; mdio { lantiq,groups = "mdio"; lantiq,function = "mdio"; }; - pci { - lantiq,groups = "gnt1", "req1"; - lantiq,function = "pci"; - }; - conf_out { - lantiq,pins = "io4", "io5", "io6", /* stp */ - "io21", - "io33", - "io7", "io44"; /* Internal ethernet phy leds */ - lantiq,open-drain; + gphy-leds_out { + lantiq,pins = "io7", "io44"; lantiq,pull = <0>; lantiq,output = <1>; }; - pcie-rst { - lantiq,pins = "io38"; + stp_out { + lantiq,pins = "io4", "io5", "io6"; + lantiq,open-drain = <0>; + lantiq,output = <1>; + lantiq,pull = <0>; + }; + pci-rst { + lantiq,pins = "io21"; + lantiq,open-drain = <0>; lantiq,pull = <0>; lantiq,output = <1>; }; - conf_in { - lantiq,pins = "io39"; /* exin3 */ - lantiq,pull = <2>; + gphy-leds { + lantiq,groups = "gphy0 led1", "gphy1 led0"; + lantiq,function = "gphy"; + lantiq,open-drain = <0>; + lantiq,pull = <0>; + lantiq,output = <1>; }; }; }; @@ -146,27 +144,22 @@ phy0: ethernet-phy@0 { reg = <0x0>; compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22"; - lantiq,c45-reg-init = <1 0 0 0>; }; phy1: ethernet-phy@1 { reg = <0x1>; compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22"; - lantiq,c45-reg-init = <1 0 0 0>; }; phy5: ethernet-phy@5 { reg = <0x5>; compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22"; - lantiq,c45-reg-init = <1 0 0 0>; }; phy11: ethernet-phy@11 { reg = <0x11>; compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22"; -
[OpenWrt-Devel] [PATCH 2/8] BB (BACKPORT) - lantiq: fix pinctrl-xway
Signed-off-by: Eddi De Pieri --- .../lantiq/patches-3.10/0150-lantiq-pinctrl-xway.patch | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 target/linux/lantiq/patches-3.10/0150-lantiq-pinctrl-xway.patch diff --git a/target/linux/lantiq/patches-3.10/0150-lantiq-pinctrl-xway.patch b/target/linux/lantiq/patches-3.10/0150-lantiq-pinctrl-xway.patch new file mode 100644 index 000..4c4cd76 --- /dev/null +++ b/target/linux/lantiq/patches-3.10/0150-lantiq-pinctrl-xway.patch @@ -0,0 +1,15 @@ +--- a/drivers/pinctrl/pinctrl-xway.c.orig 2014-09-27 14:55:20.0 +0200 b/drivers/pinctrl/pinctrl-xway.c 2014-10-05 21:15:02.0 +0200 +@@ -152,10 +152,10 @@ + MFP_XWAY(GPIO41, GPIO, NONE, NONE, NONE), + MFP_XWAY(GPIO42, GPIO, MDIO, NONE, NONE), + MFP_XWAY(GPIO43, GPIO, MDIO, NONE, NONE), +- MFP_XWAY(GPIO44, GPIO, NONE, GPHY, SIN), ++ MFP_XWAY(GPIO44, GPIO, MII,SIN,GPHY), + MFP_XWAY(GPIO45, GPIO, NONE, GPHY, SIN), + MFP_XWAY(GPIO46, GPIO, NONE, NONE, EXIN), +- MFP_XWAY(GPIO47, GPIO, NONE, GPHY, SIN), ++ MFP_XWAY(GPIO47, GPIO, MII,GPHY, SIN), + MFP_XWAY(GPIO48, GPIO, EBU,NONE, NONE), + MFP_XWAY(GPIO49, GPIO, EBU,NONE, NONE), + MFP_XWAY(GPIO50, GPIO, NONE, NONE, NONE), -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 4/8] BB (BACKPORT) - vgv7519: extract wifi firmware from mtd
Signed-off-by: Eddi De Pieri --- .../linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 5664c13..3ebd5e8 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -35,7 +35,7 @@ case "$FIRMWARE" in "RT2860.eeprom" ) local board=$(lantiq_board_name) case $board in - ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22) + ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22|VGV7519) rt2x00_eeprom_extract "board_config" 520 256 1 ;; ARV7525PW) -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 3/8] BB (BACKPORT) - lantiq: remove strip-fcs patch that seems to introduce regression on multiple devices
Signed-off-by: Eddi De Pieri --- .../lantiq/patches-3.10/0208-lantiq-xrx200-strip-fcs.patch | 11 --- 1 file changed, 11 deletions(-) delete mode 100644 target/linux/lantiq/patches-3.10/0208-lantiq-xrx200-strip-fcs.patch diff --git a/target/linux/lantiq/patches-3.10/0208-lantiq-xrx200-strip-fcs.patch b/target/linux/lantiq/patches-3.10/0208-lantiq-xrx200-strip-fcs.patch deleted file mode 100644 index ceaca4d..000 --- a/target/linux/lantiq/patches-3.10/0208-lantiq-xrx200-strip-fcs.patch +++ /dev/null @@ -1,11 +0,0 @@ a/drivers/net/ethernet/lantiq_xrx200.c -+++ b/drivers/net/ethernet/lantiq_xrx200.c -@@ -933,7 +933,7 @@ static void xrx200_hw_receive(struct xrx - struct xrx200_priv *priv = netdev_priv(dev); - struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; - struct sk_buff *skb = ch->skb[ch->dma.desc]; -- int len = (desc->ctl & LTQ_DMA_SIZE_MASK); -+ int len = (desc->ctl & LTQ_DMA_SIZE_MASK) - ETH_FCS_LEN; - unsigned long flags; - - spin_lock_irqsave(&priv->hw->lock, flags); -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 5/8] BB (BACKPORT) - mac80211: add support for rf5362 (needed by vgv7519 wifi)
Signed-off-by: Eddi De Pieri --- .../patches/925-rt2x00-backport_rf5362.patch | 79 1 file changed, 79 insertions(+) create mode 100644 package/kernel/mac80211/patches/925-rt2x00-backport_rf5362.patch diff --git a/package/kernel/mac80211/patches/925-rt2x00-backport_rf5362.patch b/package/kernel/mac80211/patches/925-rt2x00-backport_rf5362.patch new file mode 100644 index 000..84b1fcd --- /dev/null +++ b/package/kernel/mac80211/patches/925-rt2x00-backport_rf5362.patch @@ -0,0 +1,79 @@ +diff -u -N -r compat-wireless-2014-05-22.orig/drivers/net/wireless/rt2x00/rt2800.h compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800.h +--- compat-wireless-2014-05-22.orig/drivers/net/wireless/rt2x00/rt2800.h 2014-10-10 14:53:56.0 +0200 compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800.h 2014-10-10 15:09:36.0 +0200 +@@ -53,6 +53,7 @@ + * RF5592 2.4G/5G 2T2R + * RF3070 2.4G 1T1R + * RF5360 2.4G 1T1R ++ * RF5362 2.4G 1T1R + * RF5370 2.4G 1T1R + * RF5390 2.4G 1T1R + */ +@@ -75,6 +76,7 @@ + #define RF38530x3853 + #define RF53500x5350 + #define RF53600x5360 ++#define RF53620x5362 + #define RF53700x5370 + #define RF53720x5372 + #define RF53900x5390 +@@ -2207,7 +2209,7 @@ + /* Bits [7-4] for RF3320 (RT3370/RT3390), on other chipsets reserved */ + #define RFCSR3_PA1_BIAS_CCK FIELD8(0x70) + #define RFCSR3_PA2_CASCODE_BIAS_CCKK FIELD8(0x80) +-/* Bits for RF3290/RF5360/RF5370/RF5372/RF5390/RF5392 */ ++/* Bits for RF3290/RF5360/RF5362/RF5370/RF5372/RF5390/RF5392 */ + #define RFCSR3_VCOCAL_EN FIELD8(0x80) + /* Bits for RF3050 */ + #define RFCSR3_BIT1 FIELD8(0x02) +diff -u -N -r compat-wireless-2014-05-22.orig/drivers/net/wireless/rt2x00/rt2800lib.c compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800lib.c +--- compat-wireless-2014-05-22.orig/drivers/net/wireless/rt2x00/rt2800lib.c 2014-10-10 14:53:56.0 +0200 compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800lib.c 2014-10-10 15:10:43.0 +0200 +@@ -3902,6 +3902,7 @@ + case RF3070: + case RF5350: + case RF5360: ++ case RF5362: + case RF5370: + case RF5372: + case RF5390: +@@ -3923,6 +3924,7 @@ + rt2x00_rf(rt2x00dev, RF3322) || + rt2x00_rf(rt2x00dev, RF5350) || + rt2x00_rf(rt2x00dev, RF5360) || ++ rt2x00_rf(rt2x00dev, RF5362) || + rt2x00_rf(rt2x00dev, RF5370) || + rt2x00_rf(rt2x00dev, RF5372) || + rt2x00_rf(rt2x00dev, RF5390) || +@@ -5087,6 +5089,7 @@ + case RF3853: + case RF5350: + case RF5360: ++ case RF5362: + case RF5370: + case RF5372: + case RF5390: +@@ -8801,6 +8804,7 @@ + case RF3853: + case RF5350: + case RF5360: ++ case RF5362: + case RF5370: + case RF5372: + case RF5390: +@@ -9368,6 +9372,7 @@ + case RF3322: + case RF5350: + case RF5360: ++ case RF5362: + case RF5370: + case RF5372: + case RF5390: +@@ -9508,6 +9513,7 @@ + case RF3853: + case RF5350: + case RF5360: ++ case RF5362: + case RF5370: + case RF5372: + case RF5390: -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 6/8] BB (BACKPORT) - lantiq: enable pci bus
Signed-off-by: Eddi De Pieri --- target/linux/lantiq/xrx200/config-default |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200/config-default index 09dfbdd..89afcf9 100644 --- a/target/linux/lantiq/xrx200/config-default +++ b/target/linux/lantiq/xrx200/config-default @@ -36,7 +36,7 @@ CONFIG_MTD_UBI_GLUEBI=y CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_NLS=y CONFIG_PCIE_LANTIQ=y -# CONFIG_PCI_LANTIQ is not set +CONFIG_PCI_LANTIQ=y # CONFIG_PROC_DEVICETREE is not set # CONFIG_RCU_STALL_COMMON is not set CONFIG_RTL8306_PHY=y -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 8/8] BB (BACKPORT) - lantiq: start using device-tree on ifxmips_pcie
Signed-off-by: Eddi De Pieri --- .../0151-lantiq-ifxmips_pcie-use-of.patch | 51 1 file changed, 51 insertions(+) create mode 100644 target/linux/lantiq/patches-3.10/0151-lantiq-ifxmips_pcie-use-of.patch diff --git a/target/linux/lantiq/patches-3.10/0151-lantiq-ifxmips_pcie-use-of.patch b/target/linux/lantiq/patches-3.10/0151-lantiq-ifxmips_pcie-use-of.patch new file mode 100644 index 000..7cb4b5a --- /dev/null +++ b/target/linux/lantiq/patches-3.10/0151-lantiq-ifxmips_pcie-use-of.patch @@ -0,0 +1,51 @@ +--- linux-3.10.49.orig/arch/mips/pci/ifxmips_pcie.c linux-3.10.49/arch/mips/pci/ifxmips_pcie.c +@@ -18,6 +18,8 @@ + #include + #include + ++#include ++ + #include "ifxmips_pcie.h" + #include "ifxmips_pcie_reg.h" + +@@ -1048,7 +1050,7 @@ + extern int (*ltq_pci_plat_arch_init)(struct pci_dev *dev); + extern int (*ltq_pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); + +-static int __init ifx_pcie_bios_init(void) ++static int __init ifx_pcie_bios_probe(struct platform_device *pdev) + { + void __iomem *io_map_base; + int pcie_port; +@@ -1090,6 +1092,30 @@ + + return 0; + } ++ ++static const struct of_device_id ifxmips_pcie_match[] = { ++{ .compatible = "lantiq,pcie-xrx200" }, ++{}, ++}; ++MODULE_DEVICE_TABLE(of, ifxmips_pcie_match); ++ ++static struct platform_driver ltq_pci_driver = { ++.probe = ifx_pcie_bios_probe, ++.driver = { ++.name = "pcie-xrx200", ++.owner = THIS_MODULE, ++.of_match_table = ifxmips_pcie_match, ++}, ++}; ++ ++int __init ifx_pcie_bios_init(void) ++{ ++int ret = platform_driver_register(
[OpenWrt-Devel] [PATCH 7/8] BB (BACKPORT) - vgv7519: fix irq and disable pcie
Signed-off-by: Eddi De Pieri --- target/linux/lantiq/dts/VGV7519.dtsi |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi index 05c8aea..9af08a7 100644 --- a/target/linux/lantiq/dts/VGV7519.dtsi +++ b/target/linux/lantiq/dts/VGV7519.dtsi @@ -201,11 +201,15 @@ lantiq,delay-lo = <0>; /* 0.0ns delay */ interrupt-map-mask = <0xf800 0x0 0x0 0x7>; interrupt-map = < - 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29 + 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 30 >; gpio-reset = <&gpio 21 0>; req-mask = <0x1>; /* GNT1 */ }; + + pcie@d90 { + status = "disabled"; + }; }; gphy-xrx200 { -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Linksys / Belkin - WRT1900AC
Is anyone using/working on this router so far ? There has been a lot of discussion on the list in the past about it as the promised successor of famous WRT54G. I got one of these a while ago and since them I have been in contact several times with some people Linksys/Belkin team who was responsible for the Product including an ex Product Director (and which apparently has left the company afterwards). After much discussion in the OpenWRT-Devel list they have committed repair all the major mess they have done around the product release promising it would support OpenWRT but in fact it never did properly. Sometime later they have set this GitHub below where they have been doing some development and they also have done some contribution to OpenWRT code. https://github.com/wrt1900ac/opensource/ https://github.com/jimmychungbelkin/Mamba Their contributions were criticized by different people and they promised to fix it, along with opening the source of the wireless driver which at the moment is still a binary unfortunately. Also there are fundamental issues with their version available at GitHub where both 2.4 and 5 Ghz frequencies disconnects under some significant traffic and information dos now show up correctly in the WebUI. I have tried to contact them several times to ask about the status, as in the GitHub it shows the last update more than 3 months old. They have replied to some emails, saying every time someone else was working on the project, showing again a total mess to handle things. Ultimately they have been ignoring any emails and don't seem very concerned about the product itself. Does anyone have the a different view of me or any have information I'm not aware about about the development of OpenWRT for this product ? Thanks Regards, Fernando ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] kernel: gpio: pca953x: backport gpio input fix
Pushpal Sidhu schrieb am 09.10.2014 02:51: > This fix is for anyone on 3.10 using the pca953x driver. A regression > was introduced when this driver was converted to using 8-bit > reads/writes the bitmask in pca953x_gpio_get_value wasn't adjusted with > the modulus BANK_SZ and consequently looks at the wrong bits in the > input register. > > This backports the following commit from the mainline linux kernel: > 40a625daa88653d7942dc85483f6f289cd687cb7 I totally support getting this fix in, but I think the format you attempt to use is in conflict to what target/linux/generic/PATCHES states. First, I would recommend to number it according to "0xx - upstream backports", 004 seems to be free. Second, I would actually put the content of [1] into that patch file, as it contains all the useful information of when it was created originally and who was involved. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/drivers/gpio/gpio-pca953x.c?id=40a625daa88653d7942dc85483f6f289cd687cb7 > > Signed-off-by: Pushpal Sidhu > --- > .../350-gpio-pca953x-fix_gpio_input_on_gpio_offsets.patch | 13 > + > 1 file changed, 13 insertions(+) > create mode 100644 > target/linux/generic/patches-3.10/350-gpio-pca953x-fix_gpio_input_on_gpio_offsets.patch > > diff --git > a/target/linux/generic/patches-3.10/350-gpio-pca953x-fix_gpio_input_on_gpio_offsets.patch > > b/target/linux/generic/patches-3.10/350-gpio-pca953x-fix_gpio_input_on_gpio_offsets.patch > new file mode 100644 > index 000..654fccf > --- /dev/null > +++ > b/target/linux/generic/patches-3.10/350-gpio-pca953x-fix_gpio_input_on_gpio_offsets.patch > @@ -0,0 +1,13 @@ > +Index: linux-3.10.49/drivers/gpio/gpio-pca953x.c > +=== > +--- linux-3.10.49.orig/drivers/gpio/gpio-pca953x.c 2014-07-17 > 15:58:15.0 -0700 > linux-3.10.49/drivers/gpio/gpio-pca953x.c2014-10-08 > 14:49:46.974913692 -0700 > +@@ -308,7 +308,7 @@ > + return 0; > + } > + > +-return (reg_val & (1u << off)) ? 1 : 0; > ++return (reg_val & (1u << (off % BANK_SZ))) ? 1 : 0; > + } > + > + static void pca953x_gpio_set_value(struct gpio_chip *gc, unsigned off, int > val) > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] OpenWRT support for MPR-A1
Hi, Stefan Monnier writes: > AFAICT OpenWRT comes with some support for the Hame MPR-A1 thingy > (although its 16MB of RAM and 4MB of flash probably prevent it from > being fully supported). All the recent "2G/3G/4G WiFi routers" (both with and without batteries) I and my friends were buying from ebay came with 32M RAM, 8M flash. One of them (battery-less, with a case consisting of two equal halves, no screws) allowed telnet access and was possible to reflash with "mtd" (which they apparently stole from OpenWrt) from inside a running system after placing the OpenWrt image on a usb storage. The other two (battery-less, had a cap on the USB side, held with a screw) as well as one with a battery were possible to reflash by pressing (and holding?) a button while in uboot, that forced them to try downloading from TFTP, but I do not remember any details as the first thing I did was conneting serial console, and so the procedure was trivial. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [kernel] kernel: add missing symbols for 3.14
--- Without these, my earlyprintk configuration was being lost. -John target/linux/generic/config-3.14 | 5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14 index 830efff..5f16281 100644 --- a/target/linux/generic/config-3.14 +++ b/target/linux/generic/config-3.14 @@ -240,6 +240,8 @@ CONFIG_ARPD=y # CONFIG_ASYNC_TX_DMA is not set # CONFIG_AT76C50X_USB is not set # CONFIG_AT803X_PHY is not set +# CONFIG_AT91_DEBUG_LL_DBGU0 is not set +# CONFIG_AT91_DEBUG_LL_DBGU1 is not set # CONFIG_ATA is not set # CONFIG_ATAGS is not set CONFIG_ATAGS_PROC=y @@ -770,6 +772,9 @@ CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_KOBJECT_RELEASE is not set # CONFIG_DEBUG_LIST is not set # CONFIG_DEBUG_LL is not set +# CONFIG_DEBUG_LL_UART_8250 is not set +# CONFIG_DEBUG_LL_UART_NONE is not set +# CONFIG_DEBUG_LL_UART_PL01X is not set # CONFIG_DEBUG_LOCKDEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_LOCK_ALLOC is not set -- 2.1.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Postfix on OpenWRT
On 09/29/14 01:03, Denis Shulyaka wrote: Hi, I'm currently packaging a 2.11.1 version. Here is the link: http://shulyaka.org.ru/pub/tinycdb.tar.gz http://shulyaka.org.ru/pub/postfix.tar.gz I just downloaded the sources. 1. After adding pcre libraries it does compile without errors against https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 - please fix the deps. 2. Although it does compile cleanly the package tinycdb*.ipk is not created. 3. I extracted all needed files for postfix and tinycdb and copy it to my router. Unfortynatelly: root@Chronos:~# newaliases postalias: fatal: unsupported map type for this operation: hash Maybe it would be a good idea to publish it at the gihub as it is and let other people submit patches and make corrections?? -- Pozdrawiam Grzesiek Wysłane z kompa wolnego od wirusów Billa Gatesa. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel