Commit Graph

33978 Commits (8614d100c81f6368b7f305a951605433257909a5)

Author SHA1 Message Date
Rafał Miłecki 8614d100c8 bcm53xx: add (disabled) support for upgrading kernel during sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 20:50:59 +00:00
Rafał Miłecki 9f3b827af2 otrx: support for creating simple TRX files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 20:50:53 +00:00
Rafał Miłecki 0d8a721eb1 otrx: change command line API to start with a mode
This will allow adding more modes without options conflict.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 20:50:46 +00:00
John Crispin bd81f54e15 rpcd: update to latest git HEAD
adds support for reading md5 sums of files

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:01:29 +00:00
John Crispin de572ca6f3 ustream-ssl: update to latest git HEAD
fixes long writes when using polarssl

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:01:24 +00:00
John Crispin d0b092eaab fstools: update to latest git HEAD
fixes issues with semi-initialized overlay partitions during firstboot

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:01:09 +00:00
John Crispin 7e5b2bf5b8 ar71xx: Enable AT803X_PHY to set special flags
Open-Mesh OM5P-AN use a AT8035 (F1E) behind one of the ethernet ports. This PHY
requires special flags to work correctly. Otherwise massive packet loss happens
with active POE or when switching the link speed from gigabit ethernet to fast
ethernet. The generic PHY doesn't have support to change these settings.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:00:57 +00:00
John Crispin 4b0764d07f ar71xx: fix ethernet packet loss issues on OM5P-AN
The OM5P-AN boards are suffering from ethernet packet loss when booting with
some active POE setups or when switching to Fast Ethernet when previously
booted with Gigabit ethernet attached.

The cause of the problem is that the AR8035 PHYs requires special register
settings to work reliably on these boards. Enable the RGMII TX, RX delays and
disable SmartEE functionality of the AR8035 PHYs. Also enable the RXD and RDV
delay in the ETH_CFG register to fix the issue.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:00:51 +00:00
John Crispin dcc0f0aacd opkg: drop md5 in favour of sha256
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:00:14 +00:00
Rafał Miłecki e470997e7c otrx: use %zd to fix printf format warnings
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 16:16:11 +00:00
Steven Barth 3edb793f70 odhcpd: fix accidental logic inversion
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 14:21:52 +00:00
Felix Fietkau 4a7f3ec126 build: replace the deprecated find argument -perm +0100 with /0100 (#19480)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 12:49:30 +00:00
Rafał Miłecki e87605ee99 otrx: check TRX length read from header to avoid Segmentation fault
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 12:18:57 +00:00
Felix Fietkau cd59cb2a40 mac80211: merge a number of upstream driver fixes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 12:17:34 +00:00
Felix Fietkau 054044ff91 kernel: update bgmac patches to the latest version submitted
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 12:17:20 +00:00
Rafał Miłecki 023d3337d8 otrx: include byteswap.h to fix compilation with musl
Fixes #19470

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 11:10:14 +00:00
Steven Barth b834b35f3a odhcp6c: fix some issue discovered by scan-build
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 08:33:37 +00:00
Steven Barth 55f5e92b12 odhcpd: avoid illegal memory access in some corner cases
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 08:31:53 +00:00
Felix Fietkau ea5b63b40a build: set CCACHE_DIR for host builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 00:00:55 +00:00
Felix Fietkau 6b5fcf103d bcm53xx: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:37 +00:00
Felix Fietkau 84720a93a1 qos-scripts: remove layer7 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:26 +00:00
Felix Fietkau 250b325fe3 iptables: remove layer7 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:19 +00:00
Felix Fietkau 9882aa8649 kernel: finally remove layer7 filter support
it has been non-functional for years and caused numerous memleaks and
crashes for people that tried to enable it.
it has no maintained upstream source, and it does not look like it's
going to be fixed any time soon

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:14 +00:00
Felix Fietkau 2fb7989420 kernel: fix more bgmac dma init/cleanup issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 20:08:30 +00:00
Imre Kaloz c086443411 mvebu: copy the initramfs files to the bin dir
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 20:06:47 +00:00
Felix Fietkau 402c9a689e kernel: sync bgmac changes with latest upstream submission
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 17:32:33 +00:00
Felix Fietkau aef07fb7c8 bcm53xx: add support for the Buffalo WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 17:32:25 +00:00
Felix Fietkau ab2b5dc9a6 bcm53xx: fix GPIO pins > 16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 17:32:18 +00:00
Felix Fietkau f40359b53a kernel: add bgmac fixes for bcm53xx (fix ethernet bringup on a bcm4709 based device)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 17:32:12 +00:00
Felix Fietkau 3e82fc510d bcm53xx: add missing l2 cache controller AUXCTL bit
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 17:32:05 +00:00
Imre Kaloz 412d1e64ea mvebu: add support for the in-CPU RTC on the Armada 38x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 13:06:34 +00:00
Imre Kaloz 4c0754e533 mvebu: add comments to image generation
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 12:15:40 +00:00
Imre Kaloz f4781e1591 mvebu: stop legacy image generation
If you can't find the firmware for you board, send proper patches.

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 12:08:42 +00:00
Imre Kaloz b1c82b87fc mvebu: generate a single firmware for the 385-db-ap
This has been done without having a board, but should work.

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 12:06:56 +00:00
Imre Kaloz 45bd4eaea3 mvebu: reflect Armada 38x support in the name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 11:30:39 +00:00
Steven Barth 3c6cc6fa06 dnsmasq: fix dnssec timestamp logic, backport crashfix
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 07:49:29 +00:00
Luka Perkov 07c5f60554 wpan: remove duplicate DEPENDS
Signed-off-by: Varka Bhadram <varkab@cdac.in>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 07:01:32 +00:00
Felix Fietkau 11943811ca bcm53xx: add a comment about the gpio base patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 22:10:44 +00:00
Felix Fietkau 0ece8f9904 kernel: bgmac: add more DMA related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 22:10:40 +00:00
Imre Kaloz 92266f56f4 ppc40x: upgrade to 3.18
left "broken" as I'm not sure if my only board is to blame.. testers welcomed

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:48:13 +00:00
Imre Kaloz fb8d699ae7 orion: upgrade to 3.18 (compile tested only)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:45:55 +00:00
Jo-Philipp Wich 9bbfae07d6 fstools: reject relative mount points
To prevent future confusion around '/overlay' vs. 'overlay' simply reject
relative path specifications as mount points since such paths result in
undefined behaviour anyway.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:34:31 +00:00
Rafał Miłecki 3121f1f9dc bcm53xx: try to handle Netgear R8000 VLANs config
It seems to have few ports connected to CPU (only for CPU sending data?)
as part of "SMP dual core 3 GMAC setup" feature.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:11:25 +00:00
Rafał Miłecki 53f674d8d6 b53: improve overriding CPU port state on BCM5301X
On BCM5301X there are two different cases to handle: CPU port 8 vs. any
other one. Support for CPU port 8 was already partially implemented but
it lacked setting some extra bit for 2G speed. It also will need to be
extended to implement "SMP dual core 3 GMAC setup". That's the reason
for handling it in separated code block.
This patch also adds overriding CPU port state for port other than 8. It
requires using recently defined GMII_PORT registers.
It was tested for regressions on BCM53011 revs 2 & 3. It was also
confirmed to fix switch on some internal Broadcom board.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:00:42 +00:00
Imre Kaloz c00c6ea570 mvebu: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 17:30:41 +00:00
Imre Kaloz 99888c7af5 mvebu: migrate mamba support to the upstreamed code
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 17:29:50 +00:00
Felix Fietkau 18bcf252f7 bcm53xx: fix bcma gpio chip base
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 17:22:04 +00:00
Felix Fietkau ae3c99ce01 kernel: add missing memory barrier to bgmac
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 16:39:24 +00:00
John Crispin 4de0068887 modules: add missing imx6 depenedency to dwc2
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:34:44 +00:00
Imre Kaloz e926ef32b2 mvebu: handle other SKUs as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:04:14 +00:00