Commit Graph

15197 Commits (b67a559925f9193538c6b48b2c91bd945565bb51)

Author SHA1 Message Date
Luka Perkov e02256fdd9 kirkwood: add support for the Seagate GoflexHome
Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome>

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 20:12:39 +00:00
Felix Fietkau ecaa0233e1 ar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized images)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 14:02:50 +00:00
Felix Fietkau 5109b10b70 ar71xx: allow tp-link initramfs images to exceed size limits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 14:02:43 +00:00
Felix Fietkau 777b521ad5 ar71xx/image: move TPLINK-LZMA image to new build code
There are 2 images missing: TLWR2543 TLWR1043V2 which have special properties.
v2: set correct DEVICE_PROFILES for all images.
v2: migrate TP-LINK TL-WR710N v2 which was committed after v1.
v2: split very very long line `TARGET_DEVICES +=` into smaller parts

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 14:02:23 +00:00
Felix Fietkau 743b4dd671 ar71xx: do general formatting on wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:24:30 +00:00
Felix Fietkau 7a7e6e70a8 ar71xx: fix spelling, add copyright on wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:24:23 +00:00
Felix Fietkau e63374aa2a ar71xx: add support for Green WAN LED on wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:24:17 +00:00
Felix Fietkau 55185d06aa ar71xx: add support for green LAN LEDS for wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:24:11 +00:00
Felix Fietkau 7918d6240c ar71xx: fix amber WAN LED setting for wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:24:03 +00:00
Felix Fietkau 50ad81bbcb ar71xx: make WLAN button RFKILL on wnr2000-v4
Users will now be provided with the inherent wifi toggle functionality
of /etc/rc.button/rfkill

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:23:58 +00:00
Felix Fietkau 53afee62b7 ar71xx: set all buttons to be active_low on wnr2000-v4
Originally pressing a button would trigger a release state and vice-versa,
as observed from hotplug.d.

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:23:53 +00:00
Felix Fietkau d1029e7ef1 ar71xx: fix ethernet on wnr2000-v4
Most people report broken ethernet with upstream. Last year, user "franz.flasch"
authored a working mach-file. His patch is outdated so I modernized it. Original
patch and user commentary on page 1:
https://forum.openwrt.org/viewtopic.php?pid=260861#p260861

I have figured out what the critical differences are between the two that caused
upstream ethernet to break.
  1) Both ath79_init_mac() functions calls must be invocated before any GMAC init
  2) must init GMAC0 before GMAC1

That was enough to get upstream to function, but I wanted to enjoy my confidence
having tested franz's patch for a week sucessfully, so I put his whole
function in, which only features more differences in order of function calls.

An expert should consider these changes, which could pose potential bugs/issues:
1) No longer using the flag AR934X_ETH_CFG_SW_PHY_SWAP in the
ath79_setup_ar934x_eth_cfg() call.

2) Possible consequence of no longer explicitly setting ethernet duplex/speed.

Review: With this patch, my ethernet and wireless works.

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:23:45 +00:00
Felix Fietkau 2e380a1cba ar71xx: track the correct WAN interface on wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:23:40 +00:00
Felix Fietkau 85adc80ac9 ar71xx: fix LAN portmasks on wnr2000-v4
Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:23:35 +00:00
Felix Fietkau d3c9b5e81e ar71xx: use a common naming scheme for LEDS on wnr2000-v4
It is common that the router provider be used rather than product name.
One can see this in target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:23:27 +00:00
Imre Kaloz da82db1501 mvebu: add xhci phy support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 12:12:20 +00:00
Luka Perkov 6cc98f6c55 ar71xx: make art partition read only on 16MB ew-dorin board
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 10:45:26 +00:00
Felix Fietkau f60f281b6d ar71xx: fix 82_patch_ath10k
It has been broken since the new ath10k firmware introduced in r44656.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-08 10:43:55 +00:00
Felix Fietkau 3800ac9e77 kernel: backport upstream usbnet fix (fixes #19455)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 10:19:22 +00:00
Rafał Miłecki 559da27e07 brcm47xx: fix regression in NVRAM support for WGT634U
We were calculating wrong offset, NVRAM wasn't found and OpenWrt didn't
boot.

Fixes: 9019803 ("brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 05:54:19 +00:00
Imre Kaloz 079ab1e22a generic/4.0: update to 4.0.1
Also refresh one patch.
 
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 18:04:46 +00:00
Imre Kaloz c5296f0bcb mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entry
This also changes the MAC address to one of the adresses actually used by the
stock firmware on one of the ethernet interfaces.
 
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 18:00:47 +00:00
Imre Kaloz 0b100446ed mpc85xx: gianfar: add mtd-mac-address support
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 17:59:46 +00:00
Imre Kaloz e5745fa67b mpc85xx: move newly created files from patch files to files directory
This will make these files much more maintainable.
 
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 17:58:45 +00:00
Imre Kaloz 6262fb0b65 The ability to read MAC addresses from MTD is useful for other targets besides
ramips and lantiq as well.
 
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 17:56:32 +00:00
Luka Perkov 76845cc2b8 ar71xx: fix leds and gpio on wpj344
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-29 20:04:46 +00:00
Luka Perkov 3a11e8be1e ar71xx: fix sysupgrade for compex-wpj344
Moved board to the right magic case.

Signed-off-by: Christian Mehlis <christian@m3hlis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-29 13:52:34 +00:00
Jonas Gorski 55a91bf13e kernel: disable INET_LRO by default
INET_LRO deprecated and there are exactly two drivers using it, neither
being included in any of the targets enabling INET_LRO. At the same time
both drivers needing it select it.

So just disable it for everyone.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-28 13:31:08 +00:00
Jonas Gorski 889eb34d78 brcm63xx: fix bcm6348 ext irqc compatible name
This was a remnant of an old version.

Reported-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@45583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-27 11:06:05 +00:00
Jonas Gorski 8c8389eebc brcm63xx: fix bcm3368.dtsi typo.
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@45582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-27 11:06:00 +00:00
Felix Fietkau c9ea5956a9 sdk: filter out CONFIG_SIGNED_PACKAGES for generated config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-25 12:39:02 +00:00
Felix Fietkau fac3dfc224 kernel: implement RENAME_EXCHANGE support for jffs2 - overlayfs requires it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-25 10:47:18 +00:00
Rafał Miłecki 18edcd41d1 bcm53xx: sort ports from NVRAM entries before matching them
Some devices have unsorted ports which may lead to broken config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-24 07:47:25 +00:00
Florian Fainelli 59e16a76e5 netlogic: copy initramfs image to $(BIN_DIR)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-23 22:31:36 +00:00
Rafał Miłecki c67411718f kernel: backport rest of bgmac patches to 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-23 19:11:11 +00:00
Rafał Miłecki fb71891457 kernel: backport few bgmac patches to 4.0
I still need to test following patch before backporting:
bgmac: leave interrupts disabled as long as there is work to do

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-23 12:30:51 +00:00
Rafał Miłecki 2d8d0aa352 brcm47xx: add patches for kernel 4.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-23 11:31:54 +00:00
Imre Kaloz 4e7ed985dd generic/4.0: bump to final version
Linux 4.0 was released on 2014-04-12
 
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 09:35:36 +00:00
Jonas Gorski e126d040f0 brcm63xx: fix leds bcm963269bhr
Fix the led naming and gpios.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 17:00:39 +00:00
Jonas Gorski b4fb839256 brcm63xx: add missing bcm96329bhr profile and dts
Hopefully the last missing board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 16:43:46 +00:00
John Crispin 4ed2b35d86 ralink: the systick clocksource was calculating a bad bogo mips value
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 12:42:42 +00:00
John Crispin 789949fe69 Add support for Ubiquiti Rocket M XW devices
This patch adds support for the XW version of the Rocket M series devices
manufactured by Ubiquiti, based on the Atheros AR9342 SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 12:42:13 +00:00
John Crispin 9ff605294a ar71xx: spi cleanup for ap121, db120, ubnt-xm and ap136
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 12:42:05 +00:00
John Crispin f43a75fe1a ar71xx: merge ap81 patches into one
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 12:41:55 +00:00
Felix Fietkau 7e2be0b516 kernel: backport an upstream PPPoE shutdown fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 11:24:46 +00:00
Rafał Miłecki 680b5b613d bcm53xx: sysupgrade: check if new kernel fits partition size
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 11:21:34 +00:00
Rafał Miłecki 495a1b4e5f bcm53xx: sysupgrade: improve NAND warnings
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 11:04:38 +00:00
Rafał Miłecki c83e2426c8 bcm53xx: image: prepare for generating serial flash images
There are some rare devices without NAND, like Netgear EX6200 or
TP-LINK Archer C8.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 08:42:41 +00:00
Rafał Miłecki ec18c9f6c2 bcm53xx: sysupgrade: drop some debugging message
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 08:34:25 +00:00
Rafał Miłecki 4e04e25a2d bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 08:32:59 +00:00
Rafał Miłecki 0cb38941b6 bcm53xx: sysupgrade: support flashing TRX with UBI image
Signed-off-by: Dan Haab <dhaab@luxul.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 08:20:06 +00:00
Rafał Miłecki d28f70b2f8 bcm53xx: append only 1 block (with erasing mark) to UBI
This is needed as prepare_generic_squashfs generates more data (in our
case 0x40004 B) and it's complex for sysupgrade to extract UBI image out
of TRX.

Signed-off-by: Dan Haab <dhaab@luxul.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 08:20:00 +00:00
Rafał Miłecki ca309341ed bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
Signed-off-by: Dan Haab <dhaab@luxul.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 08:19:53 +00:00
John Crispin 5cd0c2e413 ar71xx: add TP-LINK TL-WR710N v2
TP-Link TL-WR710n v2 looks like v1, but has less memory (4MB).

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 07:15:55 +00:00
John Crispin 73951af838 ipq806x: add db149 support to OpenWrt init scripts
DB149 is a IPQ8064 based platform. This patch adds the init scripts to
detect it, configure the network accordingly, and generate a flashable
image for it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 07:15:47 +00:00
John Crispin 3cb0af6e7f ipq806x: add db149 dts files
DB149 is an IPQ806x based development platform. This patch adds the dts
files to support it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 07:15:37 +00:00
John Crispin a4ced27635 ipq806x: enable AT803x driver
Certain IPQ806x based platforms are making use of this PHY. So we'll
enable it so it gets detected as such.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 07:15:30 +00:00
John Crispin d2a6459596 kernel: fix generic/3.18 wpan symbols
-removed symbol because it should be handled by wpan.mk
-add missing FAKEHARD symbol (this symbol is removed in Kernel 4.0)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-21 06:59:18 +00:00
Luka Perkov 325bc98875 ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-20 20:47:53 +00:00
Luka Perkov 68c954eb57 ar71xx: add support for compex wpj344
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
2015-04-20 20:47:48 +00:00
Felix Fietkau aa2c16e156 ar71xx: Increase RXD/RDV to 2 on OM5P-AN
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
2015-04-20 15:01:00 +00:00
Felix Fietkau be5315b4dd ar71xx: add a helper function to set RXDV/RXD of ETH_CFG on AR934x
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
2015-04-20 15:00:52 +00:00
Felix Fietkau 4960c20ca4 ar71xx: add mask and shift for RXD/RDV bits in AR934X register file
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
2015-04-20 15:00:41 +00:00
Felix Fietkau 6bc40a3f04 ar71xx: Remove TX/RX delay from pll_1000 for OM5P-AN
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
2015-04-20 15:00:20 +00:00
Jo-Philipp Wich 17edbdb9a6 all: replace genext2fs with make_ext4fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-20 13:57:43 +00:00
Felix Fietkau b305e822d9 Revert "ar71xx/image: move TPLINK-LZMA image to new build code" (r45490)
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
2015-04-19 19:19:12 +00:00
Felix Fietkau e9ae6ee894 ramips: switch WSR-1166 and WSR-600 to single-firmware mtd layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-19 16:31:54 +00:00
Jonas Gorski 025b5cf8bd kernel: refresh generic patches
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
2015-04-19 11:38:46 +00:00
Jonas Gorski 1da88fdb3e brcm63xx: fix bcm63268 rgmii port rgmii configuration
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
2015-04-19 11:38:42 +00:00
Jonas Gorski 83adccd399 brcm63xx: allow using all four rgmii ports on bcm6316x
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
2015-04-19 11:38:24 +00:00
Jonas Gorski e24609b833 brcm63xx: BCM963268BU_P300 reference board fixes
- 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
2015-04-18 22:33:50 +00:00
John Crispin 6edc1cb19f ar71xx/image: remove duplicated rootfs in new tplink initramfs images
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
2015-04-18 10:19:28 +00:00
John Crispin 470f25630f ar71xx/image: move TPLINK-LZMA image to new build code
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
2015-04-18 10:19:23 +00:00
John Crispin 9749eff876 ar71xx/image: add template tplink-16mlzma
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-18 10:19:14 +00:00
John Crispin c24f91a021 ar71xx/image: fix imagesize of template tplink-8mlzma
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
2015-04-18 10:19:09 +00:00
Jonas Gorski 72d44356bb brcm63xx: fix bcm96318ref_p300 profile name
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-18 09:34:17 +00:00
Felix Fietkau 389d99c170 bcm53xx: add profiling support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 18:52:15 +00:00
Luka Perkov 70a75d6f0c imx6: put uboot-envtools in DEFAULT_PACKAGES
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 13:47:13 +00:00
Luka Perkov 30b7b3068f kirkwood: put uboot-envtools in DEFAULT_PACKAGES
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 13:47:09 +00:00
Rafał Miłecki ff389fdc21 brcm47xx: add buttons support for WRT310N v2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 08:12:00 +00:00
Rafał Miłecki f8f24da4df bcm53xx: fix handling absolute paths in sysupgrade (for vendor formats)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 06:03:00 +00:00
Rafał Miłecki 491e568849 brcm47xx: fix handling absolute paths in sysupgrade (for vendor formats)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-17 05:45:46 +00:00
Rafał Miłecki 2d981de1e7 brcm47xx: rework vendor fw handling to don't duplicate upgrade calls
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 21:43:27 +00:00
Rafał Miłecki cef70e56fe brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74k
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
2015-04-16 21:20:37 +00:00
Felix Fietkau ef9aea6713 kernel: accidentally committed a few patches in the wrong place, move them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:43:11 +00:00
Felix Fietkau 48732ce05d bcm53xx: add power button for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:09:55 +00:00
Felix Fietkau 6ff9f53c3d bcm53xx: add power button for Buffalo WZR-1750DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:09:48 +00:00
Felix Fietkau 33db3e4435 bcm53xx: add USB LED for Buffalo WZR-1750DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:09:42 +00:00
Felix Fietkau 6894bbd36f bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:09:36 +00:00
Felix Fietkau 6013640624 bcm53xx: increate trx maxlen to prevent build failures with bigger images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:09:15 +00:00
Felix Fietkau 60d920e95b bcm53xx: fix WXR-1900DHP power led name and add usb led
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 20:09:08 +00:00
Luka Perkov 1d682d38f8 mvebu: better integrate xp-gp
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 13:53:57 +00:00
Felix Fietkau 8331de537d bcm53xx: make use of the new board detection layer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 12:18:34 +00:00
Imre Kaloz 3ec7a94d57 mvebu: add support for the Linksys Caiman and Cobra
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 09:54:39 +00:00
Luka Perkov 89b99d1177 mvebu: bring back CONFIG_CPU_THERMAL
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 00:23:34 +00:00
Luka Perkov 25240375ea mvebu: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 00:10:42 +00:00
Luka Perkov 7c0b51e373 mvebu: fix typo in marvell profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-15 16:23:20 +00:00
Luka Perkov c802282317 mvebu: better integrate 385-ap-db
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-15 16:23:10 +00:00
Felix Fietkau 08c43383e7 bcm53xx: add USB 2.0 power control for WXR-1900DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-15 16:06:20 +00:00
Felix Fietkau b3af1ac7a4 bcm53xx: add USB 2.0 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

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