Commit Graph

33453 Commits

Author SHA1 Message Date
Felix Fietkau
23953244a8 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>

SVN-Revision: 48078
2016-01-03 11:38:31 +00:00
Felix Fietkau
182dd0db16 busybox: fix handling of special characters in path when converting menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48077
2016-01-03 11:36:38 +00:00
Felix Fietkau
67877462a2 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>

SVN-Revision: 48076
2016-01-03 11:36:26 +00:00
Felix Fietkau
0da9da0d33 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>

SVN-Revision: 48075
2016-01-03 11:09:45 +00:00
Rafał Miłecki
b836a7c29d 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>

SVN-Revision: 48072
2016-01-02 20:38:56 +00:00
Felix Fietkau
6314c24a04 perf: select objdump instead of the full binutils package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48071
2016-01-02 16:19:39 +00:00
Felix Fietkau
c69ffda546 ramips: clean up and refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48070
2016-01-02 14:48:27 +00:00
Felix Fietkau
140be9f1a5 ramips: fix performance counters on mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48069
2016-01-02 14:48:11 +00:00
Felix Fietkau
2004f415bb perf: add myself as a maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48068
2016-01-02 14:48:04 +00:00
Felix Fietkau
6467fef419 perf: fix musl compatibility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48067
2016-01-02 14:47:57 +00:00
Felix Fietkau
d3e233f02c perf: fix parallel build support, explicitly disable more library dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48066
2016-01-02 14:47:48 +00:00
Felix Fietkau
636a22cae2 perf: build in a copy of the source dir instead of relying on make clean
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48065
2016-01-02 14:47:42 +00:00
John Crispin
fb2d204ce4 ralink: more esw_rt3050 fixes
the IRQ was not setup properly causing an oops

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

SVN-Revision: 48064
2016-01-02 11:44:08 +00:00
Rafał Miłecki
ef53dc754f bcm53xx: switch to simpler devm_gpiod_get in USB driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48062
2016-01-02 10:49:46 +00:00
Rafał Miłecki
7bede46e58 kernel: make bcm47xxpart work with TRX flashed at bad block(s)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48061
2016-01-02 00:33:48 +00:00
Rafał Miłecki
224984ca01 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>

SVN-Revision: 48060
2016-01-02 00:33:31 +00:00
Imre Kaloz
cae1c44e4f generic/4.4: update to 4.4-rc7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 48059
2016-01-01 22:02:47 +00:00
John Crispin
9242d27b4a 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>

SVN-Revision: 48058
2016-01-01 21:21:13 +00:00
John Crispin
e0019b33a4 lantiq: ltq-vmmc: Fix compilation with linux 4.4
gpio.h needs the linux/ prefix with linux 4.4.

SVN-Revision: 48057
2016-01-01 21:21:04 +00:00
John Crispin
8c80e915a0 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.

SVN-Revision: 48056
2016-01-01 21:21:00 +00:00
John Crispin
6ca6a98622 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>

SVN-Revision: 48055
2016-01-01 21:20:54 +00:00
John Crispin
dc69b89c24 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>

SVN-Revision: 48054
2016-01-01 21:20:24 +00:00
John Crispin
4908088268 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>

SVN-Revision: 48053
2016-01-01 21:20:16 +00:00
John Crispin
846124f536 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>

SVN-Revision: 48052
2016-01-01 21:20:08 +00:00
John Crispin
7816dffd03 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>

SVN-Revision: 48051
2016-01-01 21:20:02 +00:00
John Crispin
2625c5621d 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>

SVN-Revision: 48050
2016-01-01 21:19:55 +00:00
John Crispin
de7dce21a3 ralink: add WRTnode2 platform and led support
Signed-off-by: xzmu <xzmu@wrtnode.com>

SVN-Revision: 48049
2016-01-01 21:19:50 +00:00
John Crispin
df165974c3 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>

SVN-Revision: 48048
2016-01-01 21:19:41 +00:00
John Crispin
6f95d749d6 lantiq: match default xdsl mode and default wan interface
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48047
2016-01-01 21:19:32 +00:00
John Crispin
a9896bf106 lantiq: convert vendorid into human readable form
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48046
2016-01-01 21:19:27 +00:00
John Crispin
436fdee272 lantiq: add the current profile to the stats output
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48045
2016-01-01 21:19:21 +00:00
John Crispin
28a700de9b lantiq: TDW8980 - use devicename:colour:function led naming scheme
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48044
2016-01-01 21:19:12 +00:00
John Crispin
c584aed6b1 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>

SVN-Revision: 48043
2016-01-01 21:18:59 +00:00
John Crispin
3cbfc74cde 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>

SVN-Revision: 48042
2016-01-01 21:18:54 +00:00
John Crispin
4cf3fd49fc 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>

SVN-Revision: 48041
2016-01-01 21:18:47 +00:00
John Crispin
ebc71a4d16 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>

SVN-Revision: 48040
2016-01-01 21:18:38 +00:00
John Crispin
a3c3b2a9a8 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>

SVN-Revision: 48039
2016-01-01 21:18:30 +00:00
John Crispin
d7a5d66ea1 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>

SVN-Revision: 48038
2016-01-01 21:18:21 +00:00
John Crispin
a3042500ab 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>

SVN-Revision: 48037
2016-01-01 21:18:08 +00:00
John Crispin
5b6f0250f6 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>

SVN-Revision: 48036
2016-01-01 21:18:00 +00:00
John Crispin
aa99acdb46 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>

SVN-Revision: 48035
2016-01-01 21:17:55 +00:00
John Crispin
2eead1c891 lantiq: DGN1000B - fix typo in dts file
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48034
2016-01-01 21:17:50 +00:00
John Crispin
e557011041 lantiq: ARV4518PWR01* move redundant parts to dtsi
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48033
2016-01-01 21:17:42 +00:00
John Crispin
b6b128f63d lantiq: BTHOMEHUBV2B - remove missing usb led workaround
The workaround shouldn't be in the default configuration.

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

SVN-Revision: 48032
2016-01-01 21:17:34 +00:00
John Crispin
56fa6d8241 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>

SVN-Revision: 48031
2016-01-01 21:17:26 +00:00
John Crispin
6b95386fd3 ralink: fix rt3050/5350 ethernet switch support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48030
2016-01-01 21:17:21 +00:00
Felix Fietkau
c55d8d4253 ramips: set the wifi mac address to the same as LAN on witi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48029
2016-01-01 18:58:02 +00:00
Felix Fietkau
e269b3b4bc 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>

SVN-Revision: 48028
2016-01-01 18:57:54 +00:00
Felix Fietkau
eaf8889cf8 ramips: add a script to fix up the broken mac address on the witi board
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48027
2016-01-01 18:57:39 +00:00
Felix Fietkau
46519964ff 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>

SVN-Revision: 48026
2016-01-01 18:57:29 +00:00