aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: refresh patchesLuka Perkov2015-04-207-15/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for compex wpj344Luka Perkov2015-04-209-7/+224
| | | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Increase RXD/RDV to 2 on OM5P-ANFelix Fietkau2015-04-201-3/+2
| | | | | | | | | | It was reported that OM5P-AN needs not only a delay setting of 1 for RXD/RDV but 2. These was found when testing with a NetGear GS752TP POE switch with a cable length of 50ft and 250ft. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a helper function to set RXDV/RXD of ETH_CFG on AR934xFelix Fietkau2015-04-202-0/+27
| | | | | | | | | | | | | | | The ETH_RXDV_DELAY (17:16) and ETH_RXD_DELAY (15:14) are currently not cleared by the function ath79_setup_ar934x_eth_cfg. Clearing these in the ath79_setup_ar934x_eth_cfg may cause problems on some hardware because they rely on the preset value by the bootloader. Instead another function is introduced which also works on ETH_CFG on AR934x. It can be used to safely clear and set ETH_RXDV_DELAY and ETH_RXD_DELAY on machines which require special settings. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add mask and shift for RXD/RDV bits in AR934X register fileFelix Fietkau2015-04-201-1/+5
| | | | | | | | | | | | | The commit r38948 ("ag71xx: add F1E specific feature bit definitions to AR934X register file") introduced definitions for some bits in the RDV/RXD part of the ETH_CFG register of AR934x. These are incomplete because ETH_RXDV_DELAY is specified as 17:16 and ETH_RXD_DELAY is specified 15:14. The original commit only specified the lower bits. The upper bits also have to be unset when the lower bits should only be set. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Remove TX/RX delay from pll_1000 for OM5P-ANFelix Fietkau2015-04-201-1/+1
| | | | | | | | | | The tx/rx delay bits in the ETH_XMII_CONTROL register have to be unset when the enable_rgmii_rx_delay/enable_rgmii_tx_delay will be set in the AT803x PHY. Othwise the throughput in gigabit mode is heavily reduced. Signed-off-by: Sven Eckelmann <sven@open-mesh.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: replace genext2fs with make_ext4fsJo-Philipp Wich2015-04-201-4/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx/image: move TPLINK-LZMA image to new build code" (r45490)Felix Fietkau2015-04-191-325/+45
| | | | | | | | | Profile definitions need to be checked and fixed before this patch can be applied again. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: switch WSR-1166 and WSR-600 to single-firmware mtd layoutFelix Fietkau2015-04-192-22/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh generic patchesJonas Gorski2015-04-1933-60/+60
| | | | | | | | | Refresh patches to remove the trailing whitespaces caused by an old diffutils version on osx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm63268 rgmii port rgmii configurationJonas Gorski2015-04-191-0/+13
| | | | | | | | | | | This should rather be done by passing appropriate platform_data/OF, but should suffice for now. Fixes e.g. GbE ports on BCM963268BU_P300. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: allow using all four rgmii ports on bcm6316xJonas Gorski2015-04-192-9/+5
| | | | | | | | | At least the third rgmii port is available on 63169, so assume all are available. Simplifies cpu vs. variant handling. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: BCM963268BU_P300 reference board fixesJonas Gorski2015-04-184-4/+4
| | | | | | | | | | | - Fix profile name. - Rremove whitespace on board patch. - Refresh patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove duplicated rootfs in new tplink initramfs imagesJohn Crispin2015-04-181-4/+14
| | | | | | | | | | The new building code included the rootfs twice when building tplink initramfs images. To make it more readable move initramfs into an own build step Build/mktplinkfw-initramfs. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: move TPLINK-LZMA image to new build codeJohn Crispin2015-04-181-45/+325
| | | | | | | | There are 2 images missing: TLWR2543 TLWR1043V2 which have special properties Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: add template tplink-16mlzmaJohn Crispin2015-04-181-0/+6
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: fix imagesize of template tplink-8mlzmaJohn Crispin2015-04-181-1/+1
| | | | | | | | | The new image size is verified by a running tplink device and checked against mktplinkfw source code. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm96318ref_p300 profile nameJonas Gorski2015-04-181-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add profiling supportFelix Fietkau2015-04-171-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: put uboot-envtools in DEFAULT_PACKAGESLuka Perkov2015-04-173-4/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: put uboot-envtools in DEFAULT_PACKAGESLuka Perkov2015-04-174-17/+13
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add buttons support for WRT310N v2Rafał Miłecki2015-04-171-2/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix handling absolute paths in sysupgrade (for vendor formats)Rafał Miłecki2015-04-171-4/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix handling absolute paths in sysupgrade (for vendor formats)Rafał Miłecki2015-04-171-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: rework vendor fw handling to don't duplicate upgrade callsRafał Miłecki2015-04-161-14/+10
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74kRafał Miłecki2015-04-161-0/+4
| | | | | | | | | | | | | | The mips74k subtarget of brcm47xx configures gcc to compile for mips32r2; however, the generated kernel config for 3.14 and later kernels ends up with CPU_MIPS32_R1 and CPU_MIPSR1 selected. The generated kernel config for the 3.10 kernel (Barrier Breaker) properly selected CPU_MIPS32_R2 and CPU_MIPSR2. Modify the default kernel config for mips74k to explicitly select CPU_MIPS32_R2 and CPU_MIPSR2. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> Tested-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: accidentally committed a few patches in the wrong place, move themFelix Fietkau2015-04-162-0/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add power button for WXR-1900DHPFelix Fietkau2015-04-161-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add power button for Buffalo WZR-1750DHPFelix Fietkau2015-04-161-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add USB LED for Buffalo WZR-1750DHPFelix Fietkau2015-04-161-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issuesFelix Fietkau2015-04-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: increate trx maxlen to prevent build failures with bigger imagesFelix Fietkau2015-04-161-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix WXR-1900DHP power led name and add usb ledFelix Fietkau2015-04-161-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: better integrate xp-gpLuka Perkov2015-04-162-0/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: make use of the new board detection layerFelix Fietkau2015-04-161-5/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Linksys Caiman and CobraImre Kaloz2015-04-1616-13/+1091
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: bring back CONFIG_CPU_THERMALLuka Perkov2015-04-161-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: refresh kernel configLuka Perkov2015-04-161-3/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fix typo in marvell profileLuka Perkov2015-04-151-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: better integrate 385-ap-dbLuka Perkov2015-04-152-2/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add USB 2.0 power control for WXR-1900DHPFelix Fietkau2015-04-151-1/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add USB 2.0 supportFelix Fietkau2015-04-153-19/+184
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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