Commit graph

15103 commits

Author SHA1 Message Date
Hauke Mehrtens
cf6b9cdbe4 kernel: add missing config options for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47796
2015-12-06 13:32:36 +00:00
Jo-Philipp Wich
9157360ac5 lantiq: fix logic error in dsl board.d code
Starting with r47755 the pppoe wan interface section isn't any longer added to
the network config on firstboot, using the default configuration. Since the
commit message does not mention such a change, I assume that this wasn't
intentionally.

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

SVN-Revision: 47793
2015-12-06 08:41:22 +00:00
Felix Fietkau
3fd67b7f41 kernel: fix linux 4.4 mac80211 build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47789
2015-12-05 13:11:28 +00:00
Felix Fietkau
ec1b121769 lantiq: add VDSL2 vectoring status information
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47785
2015-12-05 09:52:42 +00:00
Felix Fietkau
e82404ce6c lantiq: get rid of the dsl_fw mtd partition
Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware,
we can drop the dsl_fw partition and extend the firmware partition.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 47783
2015-12-05 09:52:30 +00:00
Felix Fietkau
fff859a1f6 lantiq: remove 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47774
2015-12-05 09:51:25 +00:00
Felix Fietkau
8b30afb005 lantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and subsequent timeouts)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47770
2015-12-04 20:26:22 +00:00
Felix Fietkau
9330296932 lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47768
2015-12-04 18:35:20 +00:00
Felix Fietkau
b963cec01c lantiq: fix xway spi driver timeout issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47767
2015-12-04 18:35:12 +00:00
Felix Fietkau
ae10274239 lantiq: clean up the xrx200 ethernet driver and fix stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47766
2015-12-04 17:44:06 +00:00
Felix Fietkau
435e7fb295 lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9 drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47764
2015-12-04 17:42:51 +00:00
Jo-Philipp Wich
cc59f31e44 ar71xx: convert gpio switch config to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47763
2015-12-04 15:02:42 +00:00
Jo-Philipp Wich
ba8a44995f mcs814x: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47761
2015-12-04 15:02:13 +00:00
Jo-Philipp Wich
8298dfef5c sunxi: fix board.d permissions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47760
2015-12-04 14:39:20 +00:00
Jo-Philipp Wich
2f042b452e orion: convert initial network configuration to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47759
2015-12-04 14:39:14 +00:00
Jo-Philipp Wich
b6a9c5c400 sunxi: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47758
2015-12-04 14:32:52 +00:00
Jo-Philipp Wich
ca00bd2be4 ar7: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47757
2015-12-04 14:27:47 +00:00
Jo-Philipp Wich
1e4478e83a ath25: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47756
2015-12-04 14:15:09 +00:00
Jo-Philipp Wich
5ebc5de49d lantiq: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47755
2015-12-04 12:32:44 +00:00
Jo-Philipp Wich
708c0212e7 brcm63xx: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47754
2015-12-04 12:32:36 +00:00
Jo-Philipp Wich
08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
2015-12-04 11:07:06 +00:00
Jonas Gorski
f961a3826e kernel: drop bridge hack for removing ipv6 dependency
Now that IPV6 isn't build as a module anymore, we don't need to decouple
bridge from ipv6 anymore.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47751
2015-12-04 10:06:03 +00:00
Jonas Gorski
813227d992 kernel: mvswitch: merge 3.10+ compile fix into the code
The lowest we support is 3.18, so no need to keep it as a separate
patch.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47749
2015-12-04 09:45:07 +00:00
Rafał Miłecki
304c3411ba kernel: drop unneeded modification of mtd_add_partition function
In old days mtd_add_partition was checking for partitions overlapping
which was breaking our splitting feature. We had to modify this function
by adding an extra bool dup_check parameter. Upstream commit:
3a434f66e6da ("mtd: part: Remove partition overlap checks")
removed that check so we don't need our modification anymore.

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

SVN-Revision: 47748
2015-12-04 09:33:08 +00:00
Rafał Miłecki
416243107b kernel: drop old uimage splitter from 4.4
For a long time we have a dedicated firmware splitter for uimage as a
replacement for the one builtin into mtd subsystem. For a year we got a
proper warning for users sticking to the old one (r43700). It should be
really safe to drop it now, especially since we do it for 4.4 only.

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

SVN-Revision: 47747
2015-12-04 09:33:04 +00:00
Jo-Philipp Wich
03292739e0 malta: board.d: fix typo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47746
2015-12-04 09:05:43 +00:00
Jo-Philipp Wich
296212c301 kirkwood: add missing board_config_flush(), remove dead code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47745
2015-12-03 23:13:04 +00:00
Jo-Philipp Wich
527ec2af59 all: remove dummy ucidef_set_interface_loopback() from board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47744
2015-12-03 23:13:00 +00:00
Jo-Philipp Wich
3348308afd arc770: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47743
2015-12-03 23:08:02 +00:00
Jo-Philipp Wich
dc4b0037ab mxs: convert from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47742
2015-12-03 23:07:53 +00:00
Jo-Philipp Wich
60dbff6a5f malta: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47741
2015-12-03 23:07:46 +00:00
Jo-Philipp Wich
81f1ccbf96 at91: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47740
2015-12-03 23:07:38 +00:00
Jo-Philipp Wich
adbe47380e realview: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47739
2015-12-03 23:07:30 +00:00
Jo-Philipp Wich
7cf1ff8a75 imx6: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47738
2015-12-03 23:07:20 +00:00
Jo-Philipp Wich
57014a284f netlogic: fix typo, copyright in board.d script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47737
2015-12-03 23:06:57 +00:00
Jo-Philipp Wich
99cf19dfc2 netlogic: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47736
2015-12-03 22:46:54 +00:00
Jo-Philipp Wich
80a3e65a9d kirkwood, ipq806x: fix board.d script permissions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47735
2015-12-03 22:42:13 +00:00
Jo-Philipp Wich
21ea086bd3 octeon: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47734
2015-12-03 22:42:09 +00:00
Jo-Philipp Wich
7514b6d73b kirkwood: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47733
2015-12-03 22:27:18 +00:00
Jo-Philipp Wich
4615944c71 ipq806x: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47730
2015-12-03 21:13:12 +00:00
Jo-Philipp Wich
feb8bf5ddc ar71xx: board.d: add missing include (#21296)
Include /lib/functions/system.sh in 02_network to define missing
mtd_get_mac_binary() procedure.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47723
2015-12-03 19:23:44 +00:00
Jo-Philipp Wich
8f8b702f85 board.d: remove redundant ucidef_set_interfaces_lan_wan() calls
This removes calls to ucidef_set_interfaces_lan_wan() and
ucidef_set_interfaces_lan() on boards where all relevant info can be
inferred from the switch definition.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47722
2015-12-03 17:30:56 +00:00
Jo-Philipp Wich
9b02e73188 board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
This changes uci-defaults-new.sh, config_generate and all relevant board.d
files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into
a single function.

Also removes now superfluous enable and reset arguments.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47721
2015-12-03 17:30:24 +00:00
Jo-Philipp Wich
d17a64c7c0 base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()
Out of 69 switch definitions, only 3 pass something different than "1" as
values for reset and enable, with one of those three being invalid.

This change ...

 * removes the reset and enable arguments from ucidef_add_switch()
 * unconditionally writes reset:1 and enable:1 to JSON
 * converts the three users of nonstandard values to ucidef_add_switch_attr()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47720
2015-12-03 17:30:08 +00:00
Jo-Philipp Wich
de51026515 ramips: switch ucidef_add_switch_vlan() to ucidef_add_switch_ports()
This migrates the final board.d user of ucidef_add_switch_vlan() to the new
ucidef_add_switch_ports() approach, fixing some logic errors for a few boards
along the way.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47717
2015-12-03 15:46:29 +00:00
Felix Fietkau
2a68bea073 kernel: backport support for m25p80 compatible="jedec,spi-nor" in DT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47716
2015-12-03 14:47:37 +00:00
Felix Fietkau
b9849f286b kernel: add overlayfs stacking fix from upstream
Overlayfs stacking was broken in 4.1.12 but now fixed in upstream branch.
Stacking allows experimenting with configurations without the need to
reset a device to factory config.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47714
2015-12-03 13:54:33 +00:00
Rafał Miłecki
2bcbe28580 bcm53xx: move BCM5301X patches to use 08x prefix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47713
2015-12-03 11:03:07 +00:00
Rafał Miłecki
9f3300393a bcm53xx: use backported versiions or R8000 & dt-bindings patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47711
2015-12-03 10:51:52 +00:00
Rafał Miłecki
0dda38b472 bcm53xx: fix typo in BCM5310X (patch name and subject)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47710
2015-12-03 10:51:42 +00:00