4 years agotargets: Use configured distribution name for SDK, IB, and Toolchain tarball names
nbd []
targets: Use configured distribution name for SDK, IB, and Toolchain tarball names

We allow to configure the version distribution name;
let's also use it for the tarballs (SDK, ImageBuilder,
and SDK).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48081 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agotarget/toolchain: Fix tarball filename
nbd []
target/toolchain: Fix tarball filename

Toolchain makefile was missing include of version.mk
so the openwrt version was missing from the filename.
This patch fixes that.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48080 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobuild: for cmake, always use ccache from staging dir instead of relying on the host
nbd []
build: for cmake, always use ccache from staging dir instead of relying on the host

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48079 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobusybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files
nbd []
busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48078 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobusybox: fix handling of special characters in path when converting menuconfig
nbd []
busybox: fix handling of special characters in path when converting menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48077 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomalta: fix generating network configuration
nbd []
malta: fix generating network configuration

With the default network config provided by package base-files present,
board_detect won't create a new config from board.json.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48076 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: another fix to wndr3700_board_detect
nbd []
ar71xx: another fix to wndr3700_board_detect

My last bugfix (r47538) introduced a new bug in wndr3700_board_detect
(again...).

Assigning the result of ar71xx_get_mtd_offset_size_format to the model
variable before stripping of garbage using awk will cause all NUL bytes to
be removed before awk is applied, leading to model strings like
"NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to
terminate the string.

Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk
directly.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48075 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoledtrig-netdev: don't stop timer on events for different interfaces
rmilecki []
ledtrig-netdev: don't stop timer on events for different interfaces

This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48072 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoperf: select objdump instead of the full binutils package
nbd []
perf: select objdump instead of the full binutils package

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48071 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: clean up and refresh kernel patches
nbd []
ramips: clean up and refresh kernel patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48070 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: fix performance counters on mt7621
nbd []
ramips: fix performance counters on mt7621

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48069 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoperf: add myself as a maintainer
nbd []
perf: add myself as a maintainer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48068 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoperf: fix musl compatibility
nbd []
perf: fix musl compatibility

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48067 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoperf: fix parallel build support, explicitly disable more library dependencies
nbd []
perf: fix parallel build support, explicitly disable more library dependencies

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48066 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoperf: build in a copy of the source dir instead of relying on make clean
nbd []
perf: build in a copy of the source dir instead of relying on make clean

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48065 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoralink: more esw_rt3050 fixes
blogic []
ralink: more esw_rt3050 fixes

the IRQ was not setup properly causing an oops

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48064 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobcm53xx: switch to simpler devm_gpiod_get in USB driver
rmilecki []
bcm53xx: switch to simpler devm_gpiod_get in USB driver

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48062 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: make bcm47xxpart work with TRX flashed at bad block(s)
rmilecki []
kernel: make bcm47xxpart work with TRX flashed at bad block(s)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48061 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: drop bcm47xxpart patch for Xiaomi
rmilecki []
kernel: drop bcm47xxpart patch for Xiaomi

It was never tested, most likely not working (because of le32_to_cpu)
and not upstreamed.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48060 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agogeneric/4.4: update to 4.4-rc7
kaloz []
generic/4.4: update to 4.4-rc7

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48059 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoV2 ar71xx : Add Support for the Bitmain Antrouter R1
blogic []
V2 ar71xx : Add Support for the Bitmain Antrouter R1

This patch adds support for the Bitmain Antrouter R1

http://wiki.openwrt.org/toh/bitmain/r1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48058 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-vmmc: Fix compilation with linux 4.4
blogic []
lantiq: ltq-vmmc: Fix compilation with linux 4.4

gpio.h needs the linux/ prefix with linux 4.4.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48057 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: Add the xbar to vr9.dts
blogic []
lantiq: Add the xbar to vr9.dts

linux 4.4 (since commit 08b3c894e56580b8ed3e601212a25bda974c3cc2
"MIPS: lantiq: Disable xbar fpi burst mode") requires that the xbar is
defined in the .dts of vrx200 (VR9) SoCs.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48056 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: Remove LED GPIO definitions in MQmaker WiTi device tree
blogic []
ramips: Remove LED GPIO definitions in MQmaker WiTi device tree

LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48055 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoltq-vdsl-app: re-add lowlevel settings
blogic []
ltq-vdsl-app: re-add lowlevel settings

Add back a slightly modified version of the lowlevel settings which
where removed with r46920.

In compare to the old lowlevel settings, the B43c tone is added to
tone_adsl_b and tone_adsl_bv.

If an unsupported tone value is used, the auto probing mode is used, in
compare to the fallback to tone_adsl_av and tone_vdsl_av with the old
lowlevel settings.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48054 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoltq-vdsl-app: enable G.993.5 XTSE bit by default
blogic []
ltq-vdsl-app: enable G.993.5 XTSE bit by default

According to ITU-T G.997.1 Amendment 2 (04/2013) section 2.1, bit 3 of
XTSE octet 8 either allow or denies the initialization of G.993.5.

Even if the current redistributable xDSL firmware doesn't include
G.993.5 vectoring support, enable this bit by default to allow people to
get their G.993.5 line working using a custom xDSL firmware.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48053 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoltq-vdsl-app: let the driver/app probe the xtse on missing annex
blogic []
ltq-vdsl-app: let the driver/app probe the xtse on missing annex

r47933 revealed that the driver/app in combination with the chosen
firmware does a good job in selecting a working xtse.

Use this probing mode if no annex is specified.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48052 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoltq-vdsl-app: add/enable missing G.993.2 XTSE bits
blogic []
ltq-vdsl-app: add/enable missing G.993.2 XTSE bits

This patch adds the missing VDSL2 bits to the annex specific XTSE (like
it should be according to the comments above the XTSE bits).

Since r47933 it's mandatory to remove the annex option to switch to
VDSL2 (only) operation mode.

As shown by ticket #21436 and a few mails I received personally, even
experienced users are not aware that they have to remove the annex
option to get their VDSL2 line working and as shown by this patch it
doesn't need to be that "complicated".

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48051 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoltq-vdsl-app: use the final xtse format
blogic []
ltq-vdsl-app: use the final xtse format

This way we can drop the call to sed.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48050 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoralink: add WRTnode2 platform and led support
blogic []
ralink: add WRTnode2 platform and led support

Signed-off-by: xzmu <xzmu@wrtnode.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48049 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoledtrig-netdev: add support for renamed devices
blogic []
ledtrig-netdev: add support for renamed devices

The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48048 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: match default xdsl mode and default wan interface
blogic []
lantiq: match default xdsl mode and default wan interface

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48047 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: convert vendorid into human readable form
blogic []
lantiq: convert vendorid into human readable form

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48046 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: add the current profile to the stats output
blogic []
lantiq: add the current profile to the stats output

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48045 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: TDW8980 - use devicename:colour:function led naming scheme
blogic []
lantiq: TDW8980 - use devicename:colour:function led naming scheme

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48044 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: P2812HNUFX - move usb leds to P2812HNU-F1
blogic []
lantiq: P2812HNUFX - move usb leds to P2812HNU-F1

The P2812HNU-F3 doesn't have usb leds. Only the P2812HNU-F1 has those
leds.

Reported-by: Sylwester Petela <sscapi@gmail.com>
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48043 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: use devicename:colour:function led naming scheme
blogic []
lantiq: use devicename:colour:function led naming scheme

The leds of the following boards are not renamed due to lack of
manuals/informations:

- ARV7519PW
- ARV7510PW22
- ARV4510PW

The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't
match the leds from the manual or pictures (e.g. there shouldn't be a wps led).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48042 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: add support for indicating the boot state using three leds
blogic []
lantiq: add support for indicating the boot state using three leds

The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to
indicate the current boot state. This patch adds support for such cases.

The existing led sequences should be the same as before.

Boards which are using a led different from power (like TDW89x0) are
changed to switch of the led after boot

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48041 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: use dsl led defined in DTS
blogic []
lantiq: use dsl led defined in DTS

dsl_control (dsl_notify.sh) is the only process which is aware of the
state of the atm/ptm interface. Use the dsl led exclusive for the dsl
line state.

On boards which don't have a distinct internet and a dsl led, let the
netdev status of the atm interface trigger the shared led.

Triggering the shared led according to the status of the ppp interface
isn't suitable, since the led would be switched of if the ppp
connection goes down, but the line is still in sync.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48040 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: use power leds defined in DTS
blogic []
lantiq: use power leds defined in DTS

Use the power leds defined in the dts file instead of hardcoded led names.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48039 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: use default leds defined in DTS
blogic []
lantiq: use default leds defined in DTS

Remove all now double defined leds from the led board file. Use pppoe
as default for all broadband connections, since it's the default in
OpenWrt now.

Rename the the wifi leds to make sure, the not applicable default
values get overwritten.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48038 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: define default leds in dts files
blogic []
lantiq: define default leds in dts files

- ARV7525PW: use the power led as dsl led as done by the stock firmware
- FRITZ3370: use the info led as internet led
- FRITZ7320: use the power led as dsl led as done by the stock firmware

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48037 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ARV752DPW - fix dts file
blogic []
lantiq: ARV752DPW - fix dts file

Use the same led logic and labels as the OEM firmware (red = okay,
blue = failure).

Add the red internet led.

Remove missing usb led workaround. The workaround shouldn't be in the
default configuration.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48036 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ARV752DPW22 - fix dts file
blogic []
lantiq: ARV752DPW22 - fix dts file

No need to switch (and keep) on all leds at boot. Use the same led
logic and labels as the OEM firmware (red = okay, blue = failure).

Add the red internet led.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48035 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: DGN1000B - fix typo in dts file
blogic []
lantiq: DGN1000B - fix typo in dts file

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48034 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ARV4518PWR01* move redundant parts to dtsi
blogic []
lantiq: ARV4518PWR01* move redundant parts to dtsi

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48033 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: BTHOMEHUBV2B - remove missing usb led workaround
blogic []
lantiq: BTHOMEHUBV2B - remove missing usb led workaround

The workaround shouldn't be in the default configuration.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48032 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: P2812HNUFX - move leds to dtsi
blogic []
lantiq: P2812HNUFX - move leds to dtsi

Beside the used labels, they are the same on both boards.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48031 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoralink: fix rt3050/5350 ethernet switch support
blogic []
ralink: fix rt3050/5350 ethernet switch support

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48030 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: set the wifi mac address to the same as LAN on witi
nbd []
ramips: set the wifi mac address to the same as LAN on witi

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48029 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agomt76: update to the latest version from the mt7603 branch, adds support for overriding the mac address via OF
nbd []
mt76: update to the latest version from the mt7603 branch, adds support for overriding the mac address via OF

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48028 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: add a script to fix up the broken mac address on the witi board
nbd []
ramips: add a script to fix up the broken mac address on the witi board

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48027 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: fold of_get_mac_address_mtd into of_get_mac_address
nbd []
kernel: fold of_get_mac_address_mtd into of_get_mac_address

This makes it easier to keep drivers in sync with upstream

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48026 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: fix kernel configuration for mt7628
nbd []
ramips: fix kernel configuration for mt7628

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48025 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: add missing clk_round_rate function to fix buildbot errors
nbd []
ramips: add missing clk_round_rate function to fix buildbot errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48024 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: fix inverted LEDs for RE6500
nbd []
ramips: fix inverted LEDs for RE6500

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48022 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: add mac address assignment for eth0 on RE6500
nbd []
ramips: add mac address assignment for eth0 on RE6500

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48021 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: fix firmware partition size
nbd []
ramips: fix firmware partition size

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48020 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoramips: fix memory size for RE6500
nbd []
ramips: fix memory size for RE6500

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48019 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agokernel: fix duplication of sch_netem in multiple packages (#21479)
nbd []
kernel: fix duplication of sch_netem in multiple packages (#21479)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48018 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agodante: fix MD5SUM
nico []
dante: fix MD5SUM

MD5SUM is wrong, it was not updated during last update to v1.4.1.

Thanks to Daniel Dickinson <openwrt@daniel.thecshore.com> for reporting it.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48017 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: images: ventana: change name of ubi output
luka []
imx6: images: ventana: change name of ubi output

Change the name of the .ubi produced to strip out the word 'factory'. This is
mainly due to the fact that there is no difference between the Ventana 'factory'
image vs the standard image.

Name changes from:
openwrt-imx6-ventana-squashfs.nand-factory_<size>.ubi to
openwrt-imx6-ventana-squashfs-nand_<size>.ubi

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48016 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agouboot-imx6: add support for i.MX6q SABRE board
luka []
uboot-imx6: add support for i.MX6q SABRE board

U-boot ships with the `mx6qsabresd` configuration file to configure a
bootloader suitable for booting the Freescale i.MX6q SABRE evaluation board
from SD card. Expose this option in the uboot-imx6 Makefile.

Signed-off-by: Keno Fischer <keno@juliacomputing.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48014 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: fix device-tree mac address assignment for ventana sky2/eth1
luka []
imx6: fix device-tree mac address assignment for ventana sky2/eth1

Some Ventana boards have a Marvell sky2 GigE controller as eth1 however
assigning the mac address through device-tree is difficult because the
PCI slot can move around depending on board configuration and slot population.

To work around this we add a patch to the sky2 driver to allow accessing its
mac address via a device-tree alias.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48013 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: add i2c retries for Ventana /dev/i2c-0
luka []
imx6: add i2c retries for Ventana /dev/i2c-0

On Ventana boards the Gateworks System Controller is the only device on I2C1
(/dev/i2c-0) and it can NAK transfers if it is busy in an ADC loop. Because
this is a multi-function device with several slave addresses it is best to
add retries at the controller level instead of within each slave driver. This
adds a patch that adds 3 retries for i2c transactions only for Ventana boards
and only for I2C1

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48012 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: imx: thermal: use CPU temperature grade info for thresholds
luka []
imx6: imx: thermal: use CPU temperature grade info for thresholds

This is a backport of a2291badc355d58ead5c19ae0609468947416040 from thermal-soc
accepted upstream.

The IMX6Q/IMX6DL SoC's have a 2-bit temperature grade stored in OTP. Instead
of assuming 85C for passive cooling threshold and 100C for critical base
these thresholds off the thermal gade max CPU temperature:
- passive threshold: max - 10C
- critical threshold: max - 5C

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48011 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: Add pwm nodes
luka []
imx6: Add pwm nodes

Upstream status: Accepted

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48010 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: ventana: add ecspi3 host controller for GW52xx
luka []
imx6: ventana: add ecspi3 host controller for GW52xx

Certain board revisions of the GW52xx support an SPI host controller with
a single chip-select going to an off board connector.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48009 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: Add 4.3 support
luka []
imx6: Add 4.3 support

Build and boot tested on the following hardware:
* GW54xx
* GW53xx
* GW52xx
* GW51xx
* GW552x
* GW551x

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48008 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoimx6: drop lingering files
luka []
imx6: drop lingering files

Since 3.18 kernel support was dropped, remove lingering files.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48007 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years ago6in4: Corrected tunnelbroker tunnel update URL
hauke []
6in4: Corrected tunnelbroker tunnel update URL

Changed the tunnel update URL into format tunnelbrokers
example has, that made it work again. Current method gives "Username/Password
Authentication Failed." when I tried the wget line manually and logread
eventually says also "6in4: update failed". With corrected URL it works fine:
"good 111.222.333.444" or "nochg 111.222.333.444" and logread concurs with
success, and tunnel actually updates.

Tested-by: Vaasa Hacklab <info@vaasa.hacklab.fi>
Signed-off-by: Sami Olmari <sami@olmari.fi>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48006 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: fix sysupgrade for wnr2200
nbd []
ar71xx: fix sysupgrade for wnr2200

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48005 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolibnl: fix warning with poll.h include on musl
blogic []
libnl: fix warning with poll.h include on musl

Warning is:
#warning redirecting incorrect #include <sys/poll.h> to <poll.

Not a big issue.
But it can be annoying when building with -Werror set.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48004 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobinutils: upgrade to version 2.25
blogic []
binutils: upgrade to version 2.25

Fixes build:
config/tc-i386.c: In function 'build_modrm_byte':
config/tc-i386.c:6143:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
&& !op.bitfield.reg64 != 1

Contains this fix:
https://sourceware.org/ml/binutils/2014-09/msg00095.html

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48003 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: fix Image Builder
blogic []
lantiq: fix Image Builder

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48002 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agofstools: update to latest git HEAD
blogic []
fstools: update to latest git HEAD

adds stacked ram overlays.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48001 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoca-certificates: update to version 20151214
blogic []
ca-certificates: update to version 20151214

update to version 20151214

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48000 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoswconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK
blogic []
swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK

As explained earlier, using SWITCH_TYPE_LINK gives more flexibility,
it doesn't require e.g. string parsing to read some data.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47999 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoswconfig: support receiving SWITCH_TYPE_LINK from kernel
blogic []
swconfig: support receiving SWITCH_TYPE_LINK from kernel

When using cli, print link state the same way kernel used to do it.
This will allow kernel switching PORT_LINK from SWITCH_TYPE_STRING.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47998 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoswconfig: add SWITCH_TYPE_LINK and support sending link info to user space
blogic []
swconfig: add SWITCH_TYPE_LINK and support sending link info to user space

So far we were sending link data as a string. It got some drawbacks:
1) Didn't allow writing clean user space apps reading link state. It was
needed to do some screen scraping.
2) Forced whole PORT_LINK communication to be string based. Adding
support for *setting* port link required passing string and parting
it in the kernel space.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47997 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: fix PCI_DEVICE_ID_LANTIQ_PCIE
blogic []
lantiq: fix PCI_DEVICE_ID_LANTIQ_PCIE

It's not necessary to define PCI_* if pci_ids.h is included a few
lines above.

The change to pci_ids.h doesn't look intentional to me, especially
since the former value is added to the top of ifxmips_fixup_pcie.c.

Both changes were introduced with the kernel 4.1 support patches and
were not present in the 3.18 patches.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47996 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: ltq-adsl-mei: fix typo
blogic []
lantiq: ltq-adsl-mei: fix typo

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47995 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: TDW89x0 - increase spi frequency
blogic []
lantiq: TDW89x0 - increase spi frequency

Use the same max spi frequency as set in u-boot.

According to the datasheets, the Q64-104HIP as well as the Winbond
25Q64FVSIG support spi frequencies up to 50 MHz. During my tests, the
Q64-104HIP couldn't be recognized/initialized if the frequency
was > 40MHz.

Both chips do support fast read as well.

While touching the dts file, I fixed the dtc compiler warnings.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47994 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agolantiq: disable SW_PORTMAP usage in the ethernet driver
blogic []
lantiq: disable SW_PORTMAP usage in the ethernet driver

using the special tag in this way lead to port mirroring for certain types of traffic.
fallback to using th PMAC_EWAN register for the wan portmap.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47993 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoledtrig-netdev: reset link status & stats after changing device_name
rmilecki []
ledtrig-netdev: reset link status & stats after changing device_name

Previously switching to non-existing device (interface) could result in
leaving LED on.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47990 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoledtrig-netdev: drop locking from timer callback function
rmilecki []
ledtrig-netdev: drop locking from timer callback function

We may just delete timer on every trigger update and then start it again
if needed. This will let us avoid both: races and locking in frequently
called timer callback.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47987 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoledtrig-netdev: switch rwlock to spinlock
rmilecki []
ledtrig-netdev: switch rwlock to spinlock

Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47986 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: Update preinit script for new ath10k firmware
blogic []
ar71xx: Update preinit script for new ath10k firmware

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47985 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoath10k-firmware: Update QCA988X firmware to 10.2.4.97-1
blogic []
ath10k-firmware: Update QCA988X firmware to 10.2.4.97-1

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47984 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: refresh patches
blogic []
ar71xx: refresh patches

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47983 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: add support for QCA956x ethernet
blogic []
ar71xx: add support for QCA956x ethernet

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47982 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: update QCA956x support
blogic []
ar71xx: update QCA956x support

- separate qca956x and tp9343 (they use different IDs)
- rename qca9561->qca956x for consistency
- add missing bits (device reset, gpio output select)
- fix wmac setup

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47981 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agobase-files: allow timezone to be overriden by zonename (proper zoneinfo support)
blogic []
base-files: allow timezone to be overriden by zonename (proper zoneinfo support)

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47980 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoopenvpn: fix configure options
blogic []
openvpn: fix configure options

- eurephia:
commit: Remove the --disable-eurephia configure option

- fix option name:
http proxy option is now called http-proxy (see configure.ac)

fixes:
configure: WARNING: unrecognized options: --disable-nls, --disable-eurephia, --enable-http

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47979 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agotools/e2fsprogs: remove outdated configure args
blogic []
tools/e2fsprogs: remove outdated configure args

removed upstream in 1.40.5:
Don't build e2fsck statically by default anymore 7e8fe327b51051adcbb0d44169b1a933173ce1ff

fixes:
configure: WARNING: unrecognized options: --disable-shared, --enable-static, --enable-dynamic-e2fsck

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47978 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoutil-linux: remove outdated configure options
blogic []
util-linux: remove outdated configure options

removed upstream in commit:
- convert mount/ to module, rename to mount-deprecated/
- build-sys: remove deprecated-mount/

fixes log warning:
compile.txt:configure: WARNING: unrecognized options: --enable-new-mount

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47977 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agopackage/lldpd: Remove extraneous select
blogic []
package/lldpd: Remove extraneous select

Only the conditional dependency ought to be required;
if build fails with JSON there is some other problem
at work.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47976 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agofirmware-utils: allow mkfwimage2 to use - in partition names
blogic []
firmware-utils: allow mkfwimage2 to use - in partition names

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47975 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agodnsmasq: Add option --no-ping
blogic []
dnsmasq: Add option --no-ping

By default dnsmasq sends an ICMP echo request before allocating
an IP address to a host; the uci option noping allows to disable
this check.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47974 3c298f89-4303-0410-b956-a3cf2f4a3e73

4 years agoar71xx: Add support for AirTight Networks C-55
blogic []
ar71xx: Add support for AirTight Networks C-55

This patch is to add support for the AirTight Networks C-55 Access Point

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47973 3c298f89-4303-0410-b956-a3cf2f4a3e73

comments