Commit Graph

15161 Commits (13700f454c9a802728bf6bc78cf305b00af4b80b)

Author SHA1 Message Date
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
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 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 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
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
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 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
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
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
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
Imre Kaloz 867aa778f8 mvebu: include the ahci driver in the default profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:03:25 +00:00
Imre Kaloz 7d17c7d21e generic: make sure we only try to mangle bootargs we do have
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 14:46:19 +00:00
Rafał Miłecki 3be08a4b90 bcm53xx: allow sysupgrade firmwares without UBI containing rootfs
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
2015-04-12 12:04:13 +00:00
Rafał Miłecki 3e9dd9c10f bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
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
2015-04-12 11:46:16 +00:00
Rafał Miłecki f1e93b5907 bcm53xx: 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@45389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 10:42:27 +00:00
Felix Fietkau 3725ce7539 kernel: add bgmac fixes for various issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 10:35:21 +00:00