aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: add (disabled) support for upgrading kernel during sysupgradeRafał Miłecki2015-04-141-0/+17
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: change command line API to start with a modeRafał Miłecki2015-04-142-7/+7
| | | | | | | | 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
* ar71xx: Enable AT803X_PHY to set special flagsJohn Crispin2015-04-141-0/+1
| | | | | | | | | | | 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
* ar71xx: fix ethernet packet loss issues on OM5P-ANJohn Crispin2015-04-141-1/+21
| | | | | | | | | | | | | | | 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
* kernel: update bgmac patches to the latest version submittedFelix Fietkau2015-04-1410-80/+102
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: refresh kernel patchesFelix Fietkau2015-04-1319-176/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: finally remove layer7 filter supportFelix Fietkau2015-04-1337-4773/+51
| | | | | | | | | | | 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
* kernel: fix more bgmac dma init/cleanup issuesFelix Fietkau2015-04-136-9/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: copy the initramfs files to the bin dirImre Kaloz2015-04-131-2/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: sync bgmac changes with latest upstream submissionFelix Fietkau2015-04-138-54/+92
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for the Buffalo WXR-1900DHPFelix Fietkau2015-04-132-1/+158
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix GPIO pins > 16Felix Fietkau2015-04-131-0/+17
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add bgmac fixes for bcm53xx (fix ethernet bringup on a bcm4709 based ↵Felix Fietkau2015-04-133-2/+54
| | | | | | | | device) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add missing l2 cache controller AUXCTL bitFelix Fietkau2015-04-131-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the in-CPU RTC on the Armada 38xImre Kaloz2015-04-131-0/+403
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add comments to image generationImre Kaloz2015-04-131-0/+11
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: stop legacy image generationImre Kaloz2015-04-131-6/+0
| | | | | | | | | | 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
* mvebu: generate a single firmware for the 385-db-apImre Kaloz2015-04-131-0/+9
| | | | | | | | | | 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
* mvebu: reflect Armada 38x support in the nameImre Kaloz2015-04-131-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add a comment about the gpio base patchFelix Fietkau2015-04-121-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: add more DMA related fixesFelix Fietkau2015-04-128-48/+428
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppc40x: upgrade to 3.18Imre Kaloz2015-04-1210-50/+53
| | | | | | | | | 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
* orion: upgrade to 3.18 (compile tested only)Imre Kaloz2015-04-128-28/+38
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: try to handle Netgear R8000 VLANs configRafał Miłecki2015-04-121-0/+7
| | | | | | | | | 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
* b53: improve overriding CPU port state on BCM5301XRafał Miłecki2015-04-122-2/+30
| | | | | | | | | | | | | | | | | 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
* mvebu: refresh patchesImre Kaloz2015-04-123-8/+8
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: migrate mamba support to the upstreamed codeImre Kaloz2015-04-1218-464/+1035
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix bcma gpio chip baseFelix Fietkau2015-04-121-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing memory barrier to bgmacFelix Fietkau2015-04-121-10/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: handle other SKUs as wellImre Kaloz2015-04-121-2/+11
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: include the ahci driver in the default profileImre Kaloz2015-04-121-1/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: make sure we only try to mangle bootargs we do haveImre Kaloz2015-04-122-18/+24
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: allow sysupgrade firmwares without UBI containing rootfsRafał Miłecki2015-04-121-3/+2
| | | | | | | | | | | | | In most cases it allows reverting back to the vendor firmware (as they usually don't use UBI). If users wants to do that we can't do anything anyway. Erease counters will be just lost. The only thing we do is warn: "Flashing firmware without UBI for rootfs. All erase counters will be lost." It still requires forcing sysupgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgradeRafał Miłecki2015-04-121-0/+28
| | | | | | | | | | We can now detect that provided firmware contains kernel and UBI image partitions. Flashing it in a sane way (keeping erase counters) still needs to be implemented. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: rework vendor fw handling to don't duplicate upgrade callsRafał Miłecki2015-04-121-29/+15
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add bgmac fixes for various issuesFelix Fietkau2015-04-124-0/+330
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45388 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix UBI EOF patch to allow sysupgrade after first installationRafał Miłecki2015-04-121-12/+46
| | | | | | | | | | | | With previous version of patch info about need of erasing blocks was stored once per boot. It was breaking in following scenario: 1) First boot after installation (erasing blocks after 0xdeadc0de) 2) Doing sysupgrade (with ubidetach & ubiformat) 3) Attaching UBI again (it caused all blocks to be erased) Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: reformat the damaged syscfg partition on the mambaImre Kaloz2015-04-121-1/+10
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: revert section sorting change from r41951Felix Fietkau2015-04-116-10/+10
| | | | | | | | | It currently does not seem to make a difference anymore, except by increasing compressed kernel image size Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add missing patches from 3.14Luka Perkov2015-04-113-0/+678
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove kernel module checks/dependencies for 3.14Felix Fietkau2015-04-111-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: drop 3.14Luka Perkov2015-04-11208-39799/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: drop 3.14Luka Perkov2015-04-1140-3848/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm8668: drop 3.14Luka Perkov2015-04-1127-2957/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: drop 3.14Luka Perkov2015-04-1144-3969/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: drop 3.14Luka Perkov2015-04-1127-6247/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: switch to 3.18Luka Perkov2015-04-111-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mxs: reinstate rootfs image creation and dtb copyZoltan HERPAI2015-04-101-0/+4
| | | | | | | | | Signed-off-by: Harald Geyer <harald@ccbib.org> Acked-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mxs: Include the right kernel image in the rootfsZoltan HERPAI2015-04-101-1/+6
| | | | | | | | | Signed-off-by: Harald Geyer <harald@ccbib.org> Acked-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove references to kmod-of-i2cJohn Crispin2015-04-107-15/+15
| | | | | | | | these break the IB since the module is part of i2c-core now Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45363 3c298f89-4303-0410-b956-a3cf2f4a3e73