Commit graph

12820 commits

Author SHA1 Message Date
Felix Fietkau
2eb6b059ba ar71xx: refresh 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43051
2014-10-24 20:39:42 +00:00
Felix Fietkau
7004b79665 kernel: refresh generic 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43050
2014-10-24 20:39:36 +00:00
Felix Fietkau
0aca075a97 kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
All platforms which are using 3.10.x at the moment are upgraded.

Changelogs:
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58

A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f
("x86-espfix-make-it-possible-to-disable-16-bit-support.patch")
I defaults to 'unset', but it's worth a discussion to enable it
("turn off support for any 16-bit software").

Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e
("fix build failure on memcpy() in decompress.c")
and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream.
included in kernel 3.10.56

compile tested on all platforms with:
make tools/install
make toolchain/install
make target/linux/compile

user@box:~/user/openwrt$ cat /tmp/log.txt
[Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK
[Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK
[Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK
[Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK
[Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK
[Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK
[Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK
[Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK
[Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK
[Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK
[Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK
[Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK
[Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK
[Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK
[Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK
[Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK
[Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK

run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43049
2014-10-24 20:39:26 +00:00
Felix Fietkau
4c1a0a5f34 netlogic: use KERNEL_PATCHVER
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43048
2014-10-24 19:35:52 +00:00
Felix Fietkau
c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
2014-10-24 19:34:02 +00:00
Florian Fainelli
8e776bf5ae netlogic: fix modular USB build
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43039
2014-10-24 00:16:48 +00:00
Florian Fainelli
7166fbbb67 netlogic: add basic user-space support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43038
2014-10-24 00:16:37 +00:00
Florian Fainelli
c6285fd82f netlogic: add XLR/XLP support
Add support for Broadcom/Netlogic XLR/XLP support

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43037
2014-10-24 00:16:23 +00:00
Florian Fainelli
2c62ad1fda kernel: add a memmove() implementation for MIPS boot decompressor
This is required due to 306-mips_mem_functions_performance.patch, just
add a memmove() implementation to satisfy the lzma2 decompressor code.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43036
2014-10-24 00:16:10 +00:00
Rafał Miłecki
c14e0807bd bcm53xx: backport forgotten spi-nor change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43031
2014-10-22 14:34:43 +00:00
Rafał Miłecki
2466b04a5a bcm53xx: backport spi-nor patches from 3.18-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43030
2014-10-22 14:16:18 +00:00
Felix Fietkau
a1837135e0 ar71xx: add support for buffalo WZR-450HP2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43026
2014-10-22 11:02:18 +00:00
Rafał Miłecki
bf0342f0ef bcm53xx: add support for Asus RT-N18U LEDs & buttons
Got GPIOs from #18152 thanks to Grrruk

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

SVN-Revision: 43010
2014-10-21 14:37:44 +00:00
Rafał Miłecki
4669d08e83 bcm53xx: switch RT-N18U firmware to the UBI
According to the ticket #18152 it also uses NAND with 0x20000 erase size
and 0x800 page size.

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

SVN-Revision: 43008
2014-10-20 22:09:40 +00:00
John Crispin
32acfefb6a ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42992
2014-10-20 06:29:58 +00:00
John Crispin
5c33e9565b ramips: add comments for image/Makefile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42991
2014-10-20 06:29:51 +00:00
John Crispin
182d63bc40 ar71xx: add comments for Image/BuildLoader{, Alone}.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42990
2014-10-20 06:29:44 +00:00
John Crispin
6e1637f8fa firmware-utils: restore compilation of mkhilinkfw.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42989
2014-10-20 06:29:38 +00:00
John Crispin
24d886c472 kernel: add another missing symbol for 3.14
SENSORS_VEXPRESS is masked by HWMON

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 42984
2014-10-20 06:28:57 +00:00
John Crispin
7bac455a4c ramips: add support for Nexx WT3020 devices
SVN-Revision: 42983
2014-10-20 06:28:48 +00:00
John Crispin
5b40a150ea ramips: sort boards in upgrade/platform.sh alphabetically
SVN-Revision: 42982
2014-10-20 06:28:39 +00:00
Jo-Philipp Wich
05abf01ac0 x86_64: fix invoking sysupgrade on PARTUUID mounted system
Fix sysupgrade to determine the correct boot block device to use if
/proc/cmdline contains a PARTUUID root.

Change the preinit move_config() hook to use the UUID scanning code
from sysupgrade in order to avoid code duplication.

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

SVN-Revision: 42968
2014-10-19 20:28:43 +00:00
Jo-Philipp Wich
e2e2e54bfe x86_64: unbreak squashfs images
Enable the required squashfs and block2mtd support in the kernel in order
to be able to actually boot them.

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

SVN-Revision: 42967
2014-10-19 17:58:46 +00:00
Jo-Philipp Wich
1a376e9f1c x86_64: use default block2mtd timeout of 5s
If the underlying block device is a USB device it might require some
time to settle, observed when booting a squashfs image from sd card
on an Alix APU board.

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

SVN-Revision: 42966
2014-10-19 17:46:37 +00:00
Jo-Philipp Wich
226db60627 x86_64: sysupgrade: consider hdX and vdX devices as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42965
2014-10-19 17:13:50 +00:00
Felix Fietkau
35e9d448f2 ramips: fix usercfg partition offset for WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42958
2014-10-19 08:45:56 +00:00
Felix Fietkau
a7ee0142e7 ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42955
2014-10-18 19:25:30 +00:00
Jo-Philipp Wich
45d2e6d5a0 x86_64: support sysupgrade config restore on PARTUUID mounted disks
Fix the move_config() procedure to properly find the corresponding disk if
the rootfs was mounted by PARTUUID instead of a device node.

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

SVN-Revision: 42946
2014-10-17 22:50:38 +00:00
Jo-Philipp Wich
ce405e5757 x86_64: add kmod-r8169 to the default packages
This kmod is required by the Alix APU 1D4 to be reachable after
installing an x86-64 image.

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

SVN-Revision: 42945
2014-10-17 13:09:37 +00:00
Rafał Miłecki
4fce5d1951 bcm53xx: image: switch Netgear and Buffalo devices to UBI
We still don't have a smart sysupgrade method, but at least we can use
UBI which provides some protection for rootfs (SquashFS).

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

SVN-Revision: 42941
2014-10-16 21:33:34 +00:00
Rafał Miłecki
150c200e91 bcm53xx: hack UBI to erase all dirty blocks left by CFE
UBI requires PEBs to be formatted (with a valid UBI header) or empty
(0xFF), however CFE doesn't clear blocks after flashing the image. To
workaround this problem, teach UBI to recognize EOF mark in a similar
way JFFS2 handles that in OpenWrt.

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

SVN-Revision: 42940
2014-10-16 20:52:22 +00:00
Rafał Miłecki
1ffe299eab bcm53xx: enable UBI and UBIFS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42939
2014-10-16 20:50:36 +00:00
Rafał Miłecki
aa5b5153f9 bcm53xx: image: build UBI partition image
This could be used on NAND devices once we get UBI working.

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

SVN-Revision: 42938
2014-10-16 20:48:56 +00:00
Rafał Miłecki
241c098fa1 bcm53xx: image: specify flash type for all devices
This will allow us to add proper support for NAND one day.

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

SVN-Revision: 42937
2014-10-16 20:44:44 +00:00
Jo-Philipp Wich
299c8c3291 x86_64: initial support for PARTUUID
This change configures grub to mount the rootfs by PARTUUID instead of the
device path if CONFIG_TARGET_ROOTFS_PARTNAME is unset.

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

SVN-Revision: 42936
2014-10-16 16:28:16 +00:00
Jo-Philipp Wich
cc97eaff10 sdk: improve feed setup
- Add current buildroot scm url as base feed to feeds.conf
 - Prefer feeds.conf over feeds.conf.default when generating the SDK feeds.conf.default

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

SVN-Revision: 42935
2014-10-16 16:28:12 +00:00
Rafał Miłecki
579b0d9c5b bcm53xx: add support for Buffalo WZR-600DHP2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42925
2014-10-15 07:14:13 +00:00
Rafał Miłecki
96a33c0dd7 bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42924
2014-10-15 07:12:46 +00:00
John Crispin
6e46fc8a38 wr1043nd-v2: Change .code of the wi-fi button to KEY_RFKILL
This patch changes the code of the Wi-Fi On/Off button on the TP-Link WR1043ND v2
from KEY_WLAN to KEY_RFKILL (and renames a few constants to match). The reason
for this change is, that the KEY_WIFI button code is not recognized by the
hotplug subsystem. This means that the userspace is not notified about the
button being pressed which effectively renders it useless.

Signed-off-by: Josef Gajdusek <atx@atx.name>

SVN-Revision: 42922
2014-10-14 19:01:21 +00:00
John Crispin
ddb9bf4bac lantiq xway: generate ramdisk image by default
The installation process on nand-based boards using ubi
like the BTHOMEHUBV2B makes use of a ramdisk image, so it
makes sense to generate this by default.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 42920
2014-10-14 19:01:10 +00:00
John Crispin
70def60b04 ar71xx: fix seama factory type image generation.
Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the
computation of image's MD5 checksum as part of the seama header.  But
OpenWrt will erase blocks including and after the marker thus
invalidating the checksum after the first boot.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42915
2014-10-14 12:21:41 +00:00
John Crispin
24a0269b71 ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

	root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
	00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
	00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
	00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
	00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
	00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
	00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
	00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 42914
2014-10-14 12:21:36 +00:00
John Crispin
064f50871b target/toolchain/Config.in: Clarify packaging of toolchain.
Change the "help" info to emphasize that this option refers
specifically to packaging the toolchain that would be built anyway.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

SVN-Revision: 42912
2014-10-14 12:21:16 +00:00
John Crispin
20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
John Crispin
8267c0e2ac rb532: switch to 3.14 and ath5k
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42910
2014-10-14 11:32:57 +00:00
John Crispin
cc292d7de8 generic: fix yaffs compilation on 3.14
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42909
2014-10-14 11:32:48 +00:00
John Crispin
af58224462 rb532: add 3.14 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42908
2014-10-14 11:32:43 +00:00
John Crispin
0f790247e3 lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable pcie by dts
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 42907
2014-10-14 11:04:25 +00:00
John Crispin
99c238ff15 ar71xx: Fix LED definitions for the DRAGINO2 board
This patch fixes LED definitions for the DRAGINO2 board.

1. It renames the Router/USB led to System, as it is now marked "SYS" on the board.
2. It gives control of the LAN and WAN leds and some other GPIOs to Linux.
3. It fixes the active_low property for the LAN and WAN leds.
4. It sets up WLAN, LAN and WAN leds in the UCI defaults.
5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 42897
2014-10-14 10:33:07 +00:00
John Crispin
28d57f707d mpc85xx: use wpad-mini in WDR4900 profile instead of wpad
This change makes the profile of WDR4900 more consistent with other router
specific profiles.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

SVN-Revision: 42896
2014-10-14 10:30:56 +00:00
Rafał Miłecki
5a03d0c931 bcm53xx: fix hangs in PCIe2 host driver
Accessing CFG regs with no card present results in SoC hang.

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

SVN-Revision: 42895
2014-10-14 08:06:15 +00:00
Rafał Miłecki
540a6a45e4 bcm53xx: add temp bcma workaround that allows debugging
This way we will get logs if case of hang/crash in bcma or related code.

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

SVN-Revision: 42894
2014-10-14 05:31:54 +00:00
John Crispin
4b45695c9a at91: fix at91-adc dependencies
Error reported by buildbot:
Package kmod-at91-adc is missing dependencies for the following libraries:
input-core.ko

only compile tested

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

SVN-Revision: 42893
2014-10-13 19:45:31 +00:00
John Crispin
06a849575d ralink: Build 8M image for 7Links PX-4885
7Links PX-4885 (clones) can also be purchased with 8MB flash.
Creating images for these routers, use dtsi for common part

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

SVN-Revision: 42892
2014-10-13 19:41:36 +00:00
Rafał Miłecki
746b80f166 brcm47xx: image: create initramfs TRX nodictionary images
Signed-off-by: Stephen Parry <sgparry@mainscreen.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42889
2014-10-13 05:53:33 +00:00
Felix Fietkau
d2b08fb4ab x86: remove old soekris config hacks, install a more appropriate default /etc/config/network with lan+wan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42888
2014-10-12 20:25:30 +00:00
Felix Fietkau
275cef6363 image.mk: clean up and parallelize mkfs calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42878
2014-10-12 15:00:49 +00:00
John Crispin
1bbc5de86e ralink: various i2c related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42868
2014-10-10 08:56:53 +00:00
John Crispin
af1207b58c ramips: add support for Nexx WT1520
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 42867
2014-10-10 08:56:43 +00:00
Rafał Miłecki
78be7225c3 bcm53xx: prepare to support Asus RT-N18U
DT file doesn't include any GPIOs yet, but let's add it as we got some
interest in this device on IRC.

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

SVN-Revision: 42864
2014-10-09 16:36:51 +00:00
Rafał Miłecki
9473673ae3 bcm53xx: add support for Buffalo WZR-1750DHP
Let's generate a simple TRX file as we can't get encrypted one.

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

SVN-Revision: 42863
2014-10-09 16:36:05 +00:00
Steven Barth
195a618877 kernel: add missing symbols for 3.14
spotted by buildbot brcm2708:
http://buildbot.openwrt.org:8010/builders/brcm2708/

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

SVN-Revision: 42858
2014-10-09 07:18:07 +00:00
Steven Barth
c118e5edf4 network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42848
2014-10-08 13:08:05 +00:00
Felix Fietkau
fa5237d936 cns3xxx: Adopt irq_domain support for cns3xxx gpio driver
Have gpio driver adopt irqdomain support so that there are
non-overlapping allocations of irq numbers mapped to gpio's.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 42844
2014-10-08 10:28:10 +00:00
Felix Fietkau
736419452b cns3xxx: fix shared PCI interrupt mapping
This patch originally failed to combine INTA/B/C/D onto a single ARM CPU
interrupt. Instead, it mapped INTA/B/C and excluded D. This patch
corrects the issue by mapping all four interrupts to the single ARM CPU
interrupt. The original intent of the patch still holds as the newer PCB
take advantage of isolated interrupts. This fix only applies to older
PCB's that do not route INTA/B/C/D to unique external ARM CPU
interrupts.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 42830
2014-10-07 10:37:48 +00:00
Felix Fietkau
0563e0225e cns3xxx: fix register for enabling MMC/SD pins
also fixes a GPIO related regression from the upgrade to 3.10

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

SVN-Revision: 42829
2014-10-07 10:37:09 +00:00
Rafał Miłecki
b9d3767ada kernel: move old "rootfs" splitter into separated file
This will simplify removing it in the future.

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

SVN-Revision: 42828
2014-10-07 07:35:17 +00:00
Rafał Miłecki
2818493e82 bcm53xx: add Netgear R6300 V2 LEDs and buttons
Thanks tusc (our forum user) for checking GPIOs.

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

SVN-Revision: 42827
2014-10-06 21:33:17 +00:00
John Crispin
ec69988d09 at91: remove support for TQMa9263
This board is EOL, we should not bother anymore with it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 42825
2014-10-06 20:08:40 +00:00
John Crispin
c085d07ee3 lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
SVN-Revision: 42824
2014-10-06 20:08:30 +00:00
John Crispin
6a961da231 lantiq - vgv7519: enable pci bus
SVN-Revision: 42823
2014-10-06 20:08:18 +00:00
John Crispin
c2e4007bc1 lantiq - vgv7519: remove spi_cs4, since the board use this line for something else
SVN-Revision: 42822
2014-10-06 20:08:11 +00:00
John Crispin
4cdf861521 lantiq - vgv7519: fix open-drain configuration for stp
SVN-Revision: 42821
2014-10-06 20:08:04 +00:00
John Crispin
1e7962ceaf lantiq - vgv7519: add pci-rst entry into dts
SVN-Revision: 42820
2014-10-06 20:07:56 +00:00
John Crispin
ea9aec2fa9 lantiq - vgv7519: remove exin definition copied from dev-board dts
SVN-Revision: 42819
2014-10-06 20:07:45 +00:00
John Crispin
9483a322dd lantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for this board
SVN-Revision: 42818
2014-10-06 20:07:30 +00:00
John Crispin
48d67fe650 lantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for pci handling
SVN-Revision: 42817
2014-10-06 20:07:19 +00:00
John Crispin
d0606948cb lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio and let peripherials on pci bus to comes up)
SVN-Revision: 42816
2014-10-06 20:07:04 +00:00
John Crispin
7103d61271 lantiq: fix some alt function on pinctrl-xway
SVN-Revision: 42815
2014-10-06 20:06:51 +00:00
John Crispin
619de2faf2 octeon: add patches which are not upstreamed yet
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42811
2014-10-06 20:06:06 +00:00
John Crispin
7350373657 octeon: remove kmod-ath9k from default packages
Looks like the targets are Ubiquiti routers which don't come with any wireless cards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42810
2014-10-06 20:05:52 +00:00
John Crispin
90cbc9a04f octeon: prepare elf kernel image and md5sum for usb copying
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42809
2014-10-06 20:05:39 +00:00
John Crispin
3ff9c76e9e octeon: fix serial console for 3.14 kernel
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42808
2014-10-06 20:05:29 +00:00
John Crispin
97c202968a ralink: various i2c fixes
the driver did not handle all states correctly causing a deadlock of the i2c hw block.

Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it>

SVN-Revision: 42807
2014-10-06 20:05:13 +00:00
Rafał Miłecki
d30e92884e kernel: add some warnings to the old (built-in) rootfs splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42806
2014-10-06 15:07:54 +00:00
Rafał Miłecki
a58a4bb580 kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT
This enables dedicated "rootfs" splitter by default. We still keep
CONFIG_MTD_SPLIT_SQUASHFS_ROOT, so the old (built-in) splitter will be
used as a fallback in case of problems.
Once we decide the dedicated partitioner works stable, we should remove
the old one completely.

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

SVN-Revision: 42805
2014-10-06 14:02:06 +00:00
Rafał Miłecki
b87ff2cae7 kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT
We want to remove that old (built-in) splitter at some point.

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

SVN-Revision: 42804
2014-10-06 13:49:11 +00:00
John Crispin
36faa5b145 lantiq: led name has changed from adsl -> dsl
make the notify script aware of this.

https://dev.openwrt.org/ticket/18005

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

SVN-Revision: 42798
2014-10-06 05:18:52 +00:00
John Crispin
e77ae183a1 ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 42797
2014-10-06 04:53:34 +00:00
John Crispin
7f772910a1 ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
[ ] conditions should use = instead of == for string equality.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 42796
2014-10-06 04:53:25 +00:00
John Crispin
05777fb947 ar71xx: simplify TP-LINK model detection
All TP-LINK machine names begin with "TP-LINK", so there's no need to check for
more specific model names. This also allows adding new models like the Archer
series more easily.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 42795
2014-10-06 04:53:20 +00:00
John Crispin
73acd5050f ar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)
Signed-off-by: Jaehoon You <teslamint@gmail.com>

SVN-Revision: 42792
2014-10-06 04:52:57 +00:00
John Crispin
d76b7e0221 ramips: D-Link DIR-810L: make led naming consistent with other boards
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 42789
2014-10-06 04:52:36 +00:00
John Crispin
98114e7cdd ralink: Add missing code to free GPIO on Ralink SoC
Signed-off-by: schildt@ibr.cs.tu-bs.de
Acked-by: info@gerhard-bertelsmann.de

SVN-Revision: 42788
2014-10-06 04:52:26 +00:00
John Crispin
491e028e2d ar71xx: add LED defaults for the EnGenius ESR1750
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 42786
2014-10-06 04:52:13 +00:00
John Crispin
b04bb3eea7 ramips: Support for RAMIPS based Tripmate HT-TM02 board
Provides support for the Tripmate HT-TM02 personal router including LEDs and
reset button. “Mode” switch is not supported. New profile includes full set
of packages required to enable LEDs, USB, and LUCI. Patches were applied
against trunk snapshot r42649. Functionality has been tested in AP, basic wifi
client, wifi router, and routed client modes - all good.

Signed-off-by: Ron Curry <wingspinner@gmail.com>

SVN-Revision: 42785
2014-10-06 04:52:07 +00:00
John Crispin
e2c3c2280c ar71xx: fix reset button gpio for OM2P/OM2P-HS
A typo in the definition for the OM2P reset button disabled its functionality
in OpenWrt. The actual button for these two devices is "1" and not "11".

Signed-off-by: Oren Poleg <oren@poleg.org>
[sven@open-mesh.org: added a commit subject+message]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 42782
2014-10-06 04:51:51 +00:00
Felix Fietkau
f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
2014-10-05 20:17:19 +00:00
Zoltan Herpai
fbbce1c8d8 sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42775
2014-10-05 17:32:36 +00:00
Jonas Gorski
14ebb012a4 brcm63xx: fix wrong fixups pointer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42756
2014-10-03 11:03:58 +00:00
Rafał Miłecki
7436b17075 bcm53xx: build R6250 firmware with "Other Regions" region
This prevents vendor firmware from warning about incompatible region.

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

SVN-Revision: 42754
2014-10-03 10:40:12 +00:00
Felix Fietkau
156b296b20 ar8216: set the pvid based on runtime state instead of port number to fix learning with enable_vlan = 0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42753
2014-10-02 20:00:41 +00:00
Rafał Miłecki
66922082ed bcm53xx: early support for Netgear R6300 V2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42743
2014-10-02 19:30:08 +00:00
Jonas Gorski
2fa8a656a6 brcm63xx: update spw500v sprom to values from gpl tarball
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42740
2014-10-02 12:26:36 +00:00
Jonas Gorski
60cb45427e brcm63xx: reorder some patches according to their upstream state
The irq rewrite was accepted upstream.

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

SVN-Revision: 42739
2014-10-02 12:26:19 +00:00
Jonas Gorski
57214b00ae brcm63xx: Add DT support for 96368MVWG
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42738
2014-10-02 12:26:07 +00:00
Jonas Gorski
477826ef31 brcm63xx: Add DT support for 96368MVNgr
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42737
2014-10-02 12:25:57 +00:00
Jonas Gorski
cdea47cbc3 brcm63xx: Add DT support for 96358VW2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42736
2014-10-02 12:25:41 +00:00
Jonas Gorski
80db30b508 brcm63xx: Add DT support for 96358VW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42735
2014-10-02 12:25:36 +00:00
Jonas Gorski
e7ade47fba brcm63xx: Add DT support for 96338W
Renamed of_board_id to convention.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42734
2014-10-02 12:25:27 +00:00
Jonas Gorski
d9194da882 brcm63xx: Add DT support for 96338GW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42733
2014-10-02 12:25:22 +00:00
Jonas Gorski
73f576dff2 brcm63xx: Add DT support for 96348R
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42732
2014-10-02 12:25:13 +00:00
Jonas Gorski
35cf1adfc6 brcm63xx: Add DT support for 96348GW-11
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42731
2014-10-02 12:25:07 +00:00
Jonas Gorski
eaee4e3eb7 brcm63xx: Add DT support for 96348GW-10
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42730
2014-10-02 12:25:01 +00:00
Jonas Gorski
73d59ed675 brcm63xx: Add DT support for 96348GW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42729
2014-10-02 12:24:39 +00:00
Jonas Gorski
99ecfbf702 brcm63xx: Add DT support for 96345GW2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42728
2014-10-02 12:24:34 +00:00
Jonas Gorski
a950e2fce8 brcm63xx: Add DT support for 963281TAN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42727
2014-10-02 12:24:29 +00:00
Jonas Gorski
ddcc29290c brcm63xx: fix brcm63xx fallback typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42726
2014-10-02 12:24:14 +00:00
Rafał Miłecki
28301ea0b1 bcm53xx: early buttons support (without interrupts)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42718
2014-10-02 12:05:58 +00:00
Rafał Miłecki
bd12c49473 bcm53xx: backport bcma RFC patch that fixes LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42717
2014-10-02 10:42:30 +00:00
Rafał Miłecki
01ab343779 bcm53xx: support devices with more (13+) partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42716
2014-10-02 09:51:54 +00:00
Rafał Miłecki
bbae0f7df0 bcm53xx: select LEDs support by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42715
2014-10-02 05:54:18 +00:00
Rafał Miłecki
1421516e65 bcm53xx: add BCM5301X patches sent upstream (bus and R6250 LEDs)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42711
2014-10-01 13:38:50 +00:00
Rafał Miłecki
59b965194d kernel: update bcma to the tag master-2014-09-30 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42710
2014-10-01 13:37:36 +00:00
Rafał Miłecki
26e85084b5 bcm53xx: rename BCM5301X DTS patch to match upstream order
SVN-Revision: 42708
2014-10-01 07:59:03 +00:00
Zoltan Herpai
175aad61d4 sunxi: add profile for Olimex A13 SOM
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42693
2014-09-28 23:21:59 +00:00
Hauke Mehrtens
a6616a6e48 bcm53xx: activate some workarounds for errors in the Cortex-A9
BCM4708 uses a Cortex-A9 rev r3p0 and a L2C-310 rev r3p2.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42690
2014-09-28 18:03:33 +00:00
Felix Fietkau
61f960071d ar71xx: revert accidental kernel upgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42687
2014-09-27 20:54:12 +00:00
Felix Fietkau
3e833dcf90 ar71xx: add wmac callback for reading soc revision on ar934x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42685
2014-09-27 20:52:05 +00:00
Felix Fietkau
84d81d5844 ar71xx: refresh 3.14 kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42684
2014-09-27 20:51:49 +00:00
Florian Fainelli
54a18b3fe8 brcm2708: switch to 3.14
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42681
2014-09-27 19:11:55 +00:00
Florian Fainelli
3f5cc1882b brcm2708: add 3.14 support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42680
2014-09-27 19:11:37 +00:00
Florian Fainelli
04c0ef5263 kernel: add missing CONFIG_BACKLIGHT_GPIO to 3.14
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42679
2014-09-27 19:11:06 +00:00
Florian Fainelli
6918ea2484 brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y
against linux-stable/v3.10.49.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42678
2014-09-27 19:10:51 +00:00
Rafał Miłecki
71a03fb168 kernel: merge two mtdpart.c patches
It does not make sense to add some code and remove is 4 patches later.

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

SVN-Revision: 42673
2014-09-27 09:44:24 +00:00
Rafał Miłecki
8e525a43b4 kernel: update bcma to the tag master-2014-09-26 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42672
2014-09-27 07:49:48 +00:00
Florian Fainelli
e5ef34ba02 realview: add protocol argument to ucidef_set_interface_raw
Now that ucidef_set_interface_raw() has been updated to take a protocol
argument, use that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42666
2014-09-25 19:09:17 +00:00
Rafał Miłecki
747fd7871c bcm53xx: add a patch that fixes booting problems
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42659
2014-09-24 21:08:17 +00:00
Felix Fietkau
38a8f5ae63 ar71xx: ar8216: tagged+untagged on ar8327 (#12181)
This allows tagged and untagged traffic together on the same port on ar8327
switch devices.

I looked at the first attempt to do this in r40777 (ar71xx: Fix tagged+untagged
operation on AR8327N (#12181)). I also set the vlan and port egress policies
like that change. But I change vlan_tagged in an less intrusive way. The
tagged/untagged decision is now based on the following rules:
- if vid != pvid then traffic is always tagged
- if vid == pvid then vlan_tagged stores if the traffic should be tagged

Tested on TP-Link WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

SVN-Revision: 42653
2014-09-23 10:19:58 +00:00
Felix Fietkau
1c675ee9be ar71xx: ar8216: move policies, pvid to setup_port
This moves ingress, egress policy and pvid decisions to setup_port methods.
They arenow device type dependent.

This allows policy changes on only one device type which is needed to allow
tagged + untagged operation on ar8327.

Tested on TP-LINK WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

SVN-Revision: 42652
2014-09-23 10:18:38 +00:00
Zoltan Herpai
9c43ea9a8b mxs: remove 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42651
2014-09-23 06:42:29 +00:00
Zoltan Herpai
5105e10608 mxs: disable mmc debugging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42650
2014-09-23 06:38:58 +00:00
Rafał Miłecki
f036f5801f bcm53xx: image: use IMG_PREFIX for chk images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42649
2014-09-22 18:11:09 +00:00
Rafał Miłecki
23a07c6d18 bcm53xx: image: make filesystem a suffix for TRX files
This makes TRX files more /compatible/ with firmware files (e.g. CHK).
This will allow us to put some TRX files in BIN_DIR if we need to.

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

SVN-Revision: 42646
2014-09-22 09:16:20 +00:00
Rafał Miłecki
fd515112db bcm53xx: image: document arguments of various functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42645
2014-09-22 08:37:18 +00:00
Rafał Miłecki
5f7be0ebf4 bcm53xx: image: rework Makefile and merge some functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42644
2014-09-22 08:04:26 +00:00
Zoltan Herpai
144c9992a2 sunxi: enable GPIO_SYSFS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42643
2014-09-22 06:15:45 +00:00
Hauke Mehrtens
182e1dbcd4 bcm53xx: activate vfpv3 support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42642
2014-09-21 21:58:29 +00:00
Hauke Mehrtens
47aefcc563 bcm53xx: add nand flash driver
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42641
2014-09-21 21:58:02 +00:00
Hauke Mehrtens
2c6e0e0ae0 bcm53xx: update patches adding bcma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42640
2014-09-21 21:57:17 +00:00