Commit Graph

30603 Commits (0f7a9d7a21c292236fb21c03cbc6360599fcdcf4)

Author SHA1 Message Date
Hauke Mehrtens 0f7a9d7a21 brcm47xx: migrate basic network settings from old releases
Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 21:40:59 +00:00
Hauke Mehrtens bf1bcf5f27 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 20:22:33 +00:00
Felix Fietkau 4ea528e4af ubus: update to the latest version, fixes compile error regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 18:57:47 +00:00
Florian Fainelli f1961ea6ec realview: set LAN interface to be in DHCP
Realview is mostly used as a QEMU development platform, which will provide a
built-in DHCP server to NAT or bridge the connection outside of the emulated
environment.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 17:19:10 +00:00
Florian Fainelli 051287907a realview: disable SWP emulation
This is not needed since our toolchain produces the expected binaries for the
target CPU.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 17:18:58 +00:00
John Crispin 71741b55b2 wrt55agv2-spidevs: fix compile issues
i think this breakage was introduced when linux moved to uapi header

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 11:56:56 +00:00
Felix Fietkau 21e787d3a2 ubus: update to the latest version, increases maximum message size and adds a few fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 10:49:41 +00:00
Jo-Philipp Wich a61c1dd597 firewall: fix issue with parsing network options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 09:21:44 +00:00
Felix Fietkau 3c5ac3fecb rc.common: when reloading a service using procd, fall back to calling start instead of restart
This avoids unnecessary service restarts

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 06:21:49 +00:00
Hauke Mehrtens 1e1faa2ebe mac80211: update regulatory database to master-2014-06-13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 22:27:32 +00:00
Hauke Mehrtens a38320f412 brcm47xx: add CONFIG_LEDS_GPIO_REGISTER
CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 22:07:46 +00:00
Hauke Mehrtens d412d3583a brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 22:03:03 +00:00
Hauke Mehrtens 33c281b77e brcm47xx: backport BCM47XX Linksys WRT54G series patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 21:54:59 +00:00
Hauke Mehrtens f6523f58d9 iwinfo: fix string format for country code
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 21:43:17 +00:00
Hauke Mehrtens fbd1aa64c4 b43-tools: update to version 019
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 20:52:50 +00:00
Felix Fietkau 8ef67937f1 igmpproxy: automatically add firewall rules for multicast routing based on the current config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:23 +00:00
Felix Fietkau 218ae8eb00 procd: add a shell helper function to emit a config.change event
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:20 +00:00
Felix Fietkau 42647b77cc procd: add shell functions to add instance data
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:16 +00:00
Felix Fietkau 3a49df3b9c firewall: update to the latest version, adds support for fetching firewall rules from procd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:13 +00:00
Felix Fietkau d0668e0a94 iptables: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:09 +00:00
Felix Fietkau 0df29b8831 procd: update to the latest version, adds support for dumping per-instance service data with an optional type filter
also fixes a crash on stopping a service with triggers after reloading it

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 19:18:05 +00:00
John Crispin 5b6a47e692 kernel: disable CONFIG_IRQ_ALL_CPUS by default
this fixes the mpc85xx build error

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 18:52:36 +00:00
John Crispin 970192986d ramips: add missing rt3352 usb phy node to dts
Signed-off-by: michael <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:30 +00:00
John Crispin 292bfa7d04 ramips: fix target rt5350 only have 28 gpios
Signed-off-by: michael <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:26 +00:00
John Crispin 3fff418f14 lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files
New make target in lantiq to use UbinizeImage and SysupgradeNand.
Only enabled for BTHOMEHUBV2B for the moment but should be useable
for other lantiq nand boards.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:23 +00:00
John Crispin e09682fd7b lantiq: more PKG_CHECK_FORMAT_SECURITY fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:33:20 +00:00
John Crispin 6ec3299aa8 lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:33:11 +00:00
John Crispin e72b4b2291 ralink: make xhci platform depend on mt7621
this broke CONFIG_ALL builds for mt7620

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 14:32:43 +00:00
John Crispin 2c538ee17f ubox: fix remote logging
in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 12:56:20 +00:00
Jo-Philipp Wich 62fe9393f9 iproute2: re-enable PIC, it is only applied to libnetlink.a and required for collectd
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 12:41:36 +00:00
Jo-Philipp Wich f920c0fa5c include: remove SDK exception from package install targets
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 11:39:28 +00:00
Jo-Philipp Wich 4af52fee4e iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 11:39:24 +00:00
Felix Fietkau 942c91b60b strace: fix build failure on arm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 08:19:43 +00:00
John Crispin 513191f33b lantiq: more PKG_CHECK_FORMAT_SECURITY related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 08:17:36 +00:00
John Crispin acff7f6508 ar71xx: add missing config symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 08:00:44 +00:00
John Crispin 0940ab15dd lantiq: fix missing symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 07:43:32 +00:00
John Crispin a78345d9f5 ralink: add Wansview NCS601W IP Camera
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 07:42:44 +00:00
John Crispin 4b1bad3e63 ralink: register wifi firmware for WRTnode
After r41444 wifi working on WRTnode. Tested.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 18:17:55 +00:00
John Crispin bb49d467bd ltq-vdsl-mei: disable PKG_CHECK_FORMAT_SECURITY
the build breaks when PKG_CHECK_FORMAT_SECURITY:=1

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 18:05:09 +00:00
John Crispin 0c2f0bd6a8 ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite.

The new RB911L series is also supported as a result.

v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:38:30 +00:00
John Crispin aa6b558b13 lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

These drivers are not needed for ASE, Danube and AR9.
As side effect PHY11G and PHY22F firmwares are not included in the
kernel image, which saves 64 KB.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:18:38 +00:00
John Crispin 127563a4b3 ramips: set default vid of each vlan, so it won't need be set explicitly.
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:18:27 +00:00
John Crispin 5058f19e84 ramips: add WHR-1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:42 +00:00
John Crispin 54175f29c3 ramips: sync the WHR-600D flash layout with that of the vendor FW
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:38 +00:00
John Crispin 11a85aabcc ramips: add wmac to mt7620a device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:33 +00:00
John Crispin 5094a89e3c ramips: add wmac to mt7620n device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:30 +00:00
John Crispin 6f2759acdf ramips: enable wmac clock for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:25 +00:00
John Crispin 2369dc9d54 mac80211: enable driver compilation for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:21 +00:00
John Crispin a45b9cfc44 mac80211: add support for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:18 +00:00
John Crispin b174e169b7 base-files: fix ramfs / nand upgrade
/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:14 +00:00