Commit graph

11168 commits

Author SHA1 Message Date
Luka Perkov
7bacb745dd mvebu: drop patch that has been upstreamed
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38545
2013-10-27 16:08:23 +00:00
John Crispin
849f74f930 ralink: pinctrl fix for non muxed pins
Pins with no mux option failed to be recognized as gpios.

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

SVN-Revision: 38540
2013-10-26 12:24:55 +00:00
Hauke Mehrtens
40790e6b84 brcm47xx: b44: fix error handling for dummy phy creation
When the mdio bus is unregistered the newly created phy will also be
unregistered and freed.

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

SVN-Revision: 38539
2013-10-25 21:12:48 +00:00
Hauke Mehrtens
c185d48b7c brcm47xx: b44: add dummy phy device if we do not find any
On some devices with e.g. a BCM2535F switch the second MAC is used, but
we can not find a phy under all addresses between 0 and 31, 0xffffffff
is returned as phy id. If we can not find a phy at the expected address
create a dummy one.

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

SVN-Revision: 38538
2013-10-25 21:02:13 +00:00
Florian Fainelli
61a4b9753d malta: add kernel configuration for 3.12
Boot tested using QEMU

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

SVN-Revision: 38536
2013-10-25 01:48:29 +00:00
Florian Fainelli
531d2b7aae kernel: handle Cavium Octeon Kconfig rename
Upstream commit 9ddebc46 ("MIPS: OCTEON: Rename Kconfig
CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC") renamed a Kconfig
symbol, thus making all MIPS builds ask for this specific Kconfig
symbol, add it.

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

SVN-Revision: 38535
2013-10-25 01:48:20 +00:00
Florian Fainelli
2333212ace kernel: add some missing 3.12 config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38532
2013-10-25 01:47:54 +00:00
Imre Kaloz
e72c7e17a4 preliminary 3.12 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38528
2013-10-24 13:50:11 +00:00
Florian Fainelli
857a7a0124 kernel: make swconfig checkpath compliant
Fix the warnings and errors reported by checkpatch on swconfig.c

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

SVN-Revision: 38523
2013-10-24 00:25:52 +00:00
Luka Perkov
a494a0027a imx6: ventana boards use kmod-sky2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38522
2013-10-23 23:12:59 +00:00
Luka Perkov
37c040f41a imx6: use more descriptive function name
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38521
2013-10-23 22:55:00 +00:00
Luka Perkov
de7c615cfe imx6: use more common name for ubi(fs) images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38520
2013-10-23 22:54:59 +00:00
Luka Perkov
9e17f251d5 imx6: fix pcie interrupt mapping
The interrupt mapping for legacy interrupts was backwards causing interrupts
to be mapped improperly behind a PCIe to PCI bridge (ie GW16082 mezzanine).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38519
2013-10-23 22:26:54 +00:00
Luka Perkov
2f4ae98018 imx6: add support for building uImage
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38518
2013-10-23 22:16:12 +00:00
Luka Perkov
7938d16451 build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38516
2013-10-23 22:16:09 +00:00
Luka Perkov
86aff32701 imx6: enable SATA support
Enable SATA support (for IMX6D/IMX6Q) static in the kernel.  It seems there
are some issues causing the driver to not load properly when built as
a module which still need to be worked out.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38515
2013-10-23 22:16:08 +00:00
Luka Perkov
44ae9a2b7a imx6: enable cpufreq
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38514
2013-10-23 22:16:07 +00:00
Luka Perkov
70d75dc068 imx6: enable i2c-dev
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38513
2013-10-23 22:16:06 +00:00
Luka Perkov
cdcce432d0 imx6: remove obsolete files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38512
2013-10-23 22:16:05 +00:00
Luka Perkov
cd43416a78 imx6: pcie driver fixups
Add upstream patches needed for PCIe through a switch.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38511
2013-10-23 22:16:03 +00:00
Luka Perkov
a0c9c711cd imx6: fix symlink of dtb files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38510
2013-10-23 20:21:27 +00:00
Gabor Juhos
9e01011b5c ar71xx: rename 'nand' subtarget to 'mikrotik'
It is for Mikrotik devices only, rename the subtarget
to reflect that. Also fix the wget2nand script to use
the new image names.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38509
2013-10-23 15:43:26 +00:00
Gabor Juhos
757a6fdef9 ar71xx: change title and description for NAND subtarget
The nand subtarget supports Mikrotik boards only. Change
the title and the description to reflect that.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38508
2013-10-23 15:43:19 +00:00
Gabor Juhos
a59934dbd0 ar71xx: remove 'Target/Description' from main Makefile
Ensure that menuconfig shows the correct help text for
subtargets.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38507
2013-10-23 15:43:13 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Hauke Mehrtens
6d2136c3f2 brcm47xx: b44: detect external phy by bit set in DevControl register
Without this patch we treated only phy addr 30 as an external phy, but
there is a register to check that. Now we do not have to try to reset
the switch to check for an external switch.

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

SVN-Revision: 38502
2013-10-22 21:01:35 +00:00
Gabor Juhos
5d4cc68b66 x86/generic: remove 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38501
2013-10-22 19:00:25 +00:00
Gabor Juhos
b94f8452cb x86/generic: switch to 3.10.15
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38500
2013-10-22 19:00:22 +00:00
Gabor Juhos
921246f73b x86/generic: add kernel config for 3.10
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38499
2013-10-22 19:00:20 +00:00
Gabor Juhos
2a3df11af8 kernel/3.10: add missing config symbol
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38498
2013-10-22 19:00:19 +00:00
Luka Perkov
38aefbfa8d imx6: make symlinks for dtb's
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38496
2013-10-22 17:13:18 +00:00
Gabor Juhos
80a15fe8ad ar71xx: Fix sysupgrades for Allnet and OpenMesh devices
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to
change different settings in the uboot environment. uboot-envtools version
2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee
mutually exclusive access to the uboot environment. But the path /var doesn't
exist on the sysupgrade ramfs.

An upgrade on these devices fails since r36033 ("[package] uboot-envtools:
upgrade to version 2013.01.01") with following messages:

 Error opening lock file /var/lock/fw_printenv.lock
 failed to update U-Boot environment

Creating the "/var/lock" path before running fw_setenv is therefore a
requirement unless the locking functionality in fw_setenv is removed or
replaced with optional locking.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38483
2013-10-20 15:59:05 +00:00
Gabor Juhos
68e13de37d ar71xx: fix WLAN 5 GHz LED init on dir-825-c1
Fixes the 5 GHz LED.

The same function has no effect on the 2.4 GHz LED at all, so we might
as well remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38482
2013-10-20 15:59:04 +00:00
Jo-Philipp Wich
e855d498e3 x86: fix condition in base-files.mk
TARGET_x86_generic_Soekris48xx is not defined,
CONFIG_TARGET_x86_generic_Soekris48xx is

This changes makes it possible to override the network config for soekris net48xx
and net45xx targets.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38450
2013-10-18 11:45:33 +00:00
Luka Perkov
ee5b7c2859 imx6: reorganize build system
Changes include:

 * switching to profiles
 * adding ubifs support
 * building image for GW54XX board

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38441
2013-10-18 00:02:45 +00:00
Luka Perkov
59eb6137dd build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38439
2013-10-17 15:45:41 +00:00
Felix Fietkau
0b57c1ccc6 x86: Update kernel for alix2 to 3.10.15
Without this patch, the patch
target/linux/generic/patches-3.10/770-bgmac-backport.patch
would not apply.

Signed-off-by: Tobias Steinicke <tsteinicke@net.t-labs.tu-berlin.de>

SVN-Revision: 38438
2013-10-17 14:03:11 +00:00
Luka Perkov
416d58a3d6 imx6: fix file names when building images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38434
2013-10-17 11:54:52 +00:00
Luka Perkov
0102284bbd imx6: enable FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38432
2013-10-16 21:23:27 +00:00
Luka Perkov
acdb0ac35c build: move mkits.sh script to more common place
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38430
2013-10-16 10:29:50 +00:00
Luka Perkov
39ba5482d0 imx6: enable fixed voltage reulator
Fixed voltage regulator support is required by several drivers that have
regulator consumers, such as the sgtl5000 audio codec used on many i.MX6
boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38426
2013-10-16 03:25:58 +00:00
Luka Perkov
0a0ac79cb7 imx6: add support for gw52xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL 512MB DDR3
 * 256MB NAND FLASH
 * 2x PCIe
 * 1x USB EHCI (to PCIe socket2)
 * 1x USB OTG (to front panel or PCIe socket1)
 * 1x uSD
 * LVDS
 * HDMI AudioVideo out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38425
2013-10-16 03:25:57 +00:00
Luka Perkov
365ed4d22f imx6: dts: update ventana dts
- fix spi chipselect for GW5400-A
- fix audmux pinctrl for GW54xx
- remove unused alias nodes
- remove unused regulator nodes (will be adding pmic nodes next)
- remove duplicate eeprom entries
- add regulator definitions
- fix sgtl5000 regulator reference
- add egalax touchscreen controller interrupt
- fix gw5400-a audmux pinctrl
- fix usb ehci alias

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38424
2013-10-16 03:25:55 +00:00
Luka Perkov
662e3943ff imx6: split out ventana init patch from devicetree
SVN-Revision: 38423
2013-10-16 03:25:54 +00:00
Luka Perkov
adb70acecb imx6: add pfuze100 regulator support
- backport driver
- apply patch to allow misprogrammed parts
- enable driver in kernel

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38422
2013-10-16 03:25:52 +00:00
Luka Perkov
88590e4cb7 imx6: minor (cosmetic) changes in uci-defaults
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38421
2013-10-16 03:25:51 +00:00
Luka Perkov
3365d89817 imx6: add back bootargs
They make our life easier when testing ramdisk images.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38420
2013-10-16 03:25:49 +00:00
John Crispin
9a97c56535 ralink: fix default vlan mapping for MT7620a_MT7610e
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38418
2013-10-15 14:56:49 +00:00
Felix Fietkau
21fe2b7c5b mpc85xx: revert the napi polling code to the one from an older kernel version to fix stability issues (#14020)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38409
2013-10-15 11:20:06 +00:00
Zoltan Herpai
d75f9ca58a imx23: build DCP crypto co-processor support by default
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38408
2013-10-14 22:43:50 +00:00
Zoltan Herpai
9e2b69139b mxs: add support for I2SE Duckbill devices
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38407
2013-10-14 21:22:40 +00:00
Zoltan Herpai
bea9d64f4a mxs: improve image generation support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38406
2013-10-14 21:00:01 +00:00
Zoltan Herpai
fed363b6be mxs: enable device tree support in /proc
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38405
2013-10-14 19:53:06 +00:00
Luka Perkov
ad7564142d kirkwood: drop 3.3.x kernel version
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38404
2013-10-14 19:46:45 +00:00
Luka Perkov
73246d2f64 kirkwood: upgrade to 3.10.15
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38402
2013-10-14 19:46:40 +00:00
Zoltan Herpai
07043a853a imx23: rename imx23 to mxs for upcoming imx23/28 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38394
2013-10-14 19:01:23 +00:00
Hauke Mehrtens
f023c09699 brcm47xx: activate ARP daemon support
This just add some bytes to the kernel and is activated on other targets.

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

SVN-Revision: 38388
2013-10-13 22:46:18 +00:00
Hauke Mehrtens
dd3f451d55 cobalt: do not build userland with support for mips1
Without specifying -march gcc uses -march=mips1 by default, but that
causes problems when compiling openssl. Use -march=r5000 instead to
compile a userland optimized for the CPU used on this device.

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

SVN-Revision: 38386
2013-10-13 22:10:57 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Hauke Mehrtens
551a250e58 brcm47xx: fix detection of some boards
This adds some more boards.

This fixes parts of #14316 and #14133.

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

SVN-Revision: 38383
2013-10-13 19:27:24 +00:00
Vasilis Tsiligiannis
aac26bfbca ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

SVN-Revision: 38382
2013-10-13 18:39:09 +00:00
Luka Perkov
8c2f571ddd kirkwood: enable appended dtb (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38379
2013-10-13 03:35:13 +00:00
Luka Perkov
c808a4a7ef ubifs: enable building modular images
Now it is possible to build ubi/ubifs images for only selected boards inside
single target.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38375
2013-10-12 21:44:48 +00:00
Jonas Gorski
06382c5b15 ar7: drop linux 3.9 support
Linux 3.9 is EOL since quite a while, no need to keep support for it.

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

SVN-Revision: 38370
2013-10-12 10:50:47 +00:00
Jonas Gorski
5ba5efcd9b ar7: add support for linux 3.10 and switch to it
Run tested on WAG354Gv2.

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

SVN-Revision: 38369
2013-10-12 10:50:44 +00:00
Jonas Gorski
c08dc5bffa mvswitch: fix compilation for linux 3.10
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38368
2013-10-12 10:50:39 +00:00
Imre Kaloz
5f272ca813 make the generated images actually flashable on the Unifi devices.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38364
2013-10-11 15:41:42 +00:00
Jo-Philipp Wich
0c2ce3f37a x86: kvm: disable squashfs and jffs2 images by default
SVN-Revision: 38355
2013-10-10 14:40:52 +00:00
Hauke Mehrtens
a05d20a60f kernel: add default config for ARM_ERRATA symbols for kernel 3.3
Commit r37470 did not add a default conig for the ARM_ERRATA symbols for kernel 3.3.

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

SVN-Revision: 38352
2013-10-10 11:13:54 +00:00
John Crispin
b93e5498ae ralink: fixes mpr a1/a2 network setup
Signed-off-by: Suschman <suschman@gmx.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38348
2013-10-09 10:08:52 +00:00
John Crispin
e382d2c7e6 ralink: add support for the mt7530 eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38345
2013-10-08 21:10:15 +00:00
John Crispin
697bb191b0 ralink: add missing header file to mt7530 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38344
2013-10-08 21:10:00 +00:00
John Crispin
654dfb1784 lantiq: fix up diag.sh
init no longer exists as a parameter

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

SVN-Revision: 38342
2013-10-08 15:28:33 +00:00
John Crispin
715b62ebad lantiq: experia v8 fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38328
2013-10-07 15:03:00 +00:00
John Crispin
81fb43d2f1 lantiq: fix fritz3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38327
2013-10-07 15:02:56 +00:00
John Crispin
ae225124c6 lantiq: fix fritz image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38326
2013-10-07 15:02:52 +00:00
John Crispin
1398a5d849 lantiq: fix eva partition split for squashfs
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38325
2013-10-07 15:02:48 +00:00
John Crispin
c903de043e ralink: fix asiarf image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38324
2013-10-07 15:02:44 +00:00
John Crispin
ddcb800018 ralink: split mt7530 driver out of the gsw driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38323
2013-10-07 15:02:39 +00:00
John Crispin
c077698e38 ralink: build recovery images for dcs930 ip cam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38322
2013-10-07 15:02:35 +00:00
John Crispin
420c62205b ralink: DIR610A1 Fix remaining issues
This patch fixes:

 - Ethernet and Wireless LEDs
 - Wireless MAC Address
 - Remove whitespaces from dts file

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 38321
2013-10-07 15:02:31 +00:00
John Crispin
5eacfc1c60 ralink: MT7620 eval board pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38320
2013-10-07 15:02:27 +00:00
John Crispin
cc58dd26d3 ralink: make cevt systick selectable via kconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38319
2013-10-07 15:02:23 +00:00
John Crispin
baf9d53792 ralink: fix mt7620a pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38318
2013-10-07 15:02:18 +00:00
Hauke Mehrtens
64c2bc256c brcm47xx: Cocci spatch "noderef"
sizeof when applied to a pointer typed expression gives the size of the
pointer.
Found by coccinelle spatch "misc/noderef.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>

SVN-Revision: 38312
2013-10-07 00:01:01 +00:00
Hauke Mehrtens
2402f8a9ee brcm47xx: move clock detection patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38311
2013-10-07 00:00:10 +00:00
Hauke Mehrtens
4c193a30ce brcm47xx: move and rename nvram gpio patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38310
2013-10-06 23:57:11 +00:00
Hauke Mehrtens
b201818044 brcm47xx: update early printk patches
Early printk was disabled because it caused hangs on some devices, the
old patches were using the CFE console now we use the normal serial
console, it is at a constant address.

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

SVN-Revision: 38309
2013-10-06 23:55:35 +00:00
Hauke Mehrtens
ebf0778721 brcm47xx: update board detection patches
Add patches like they are currently in the mainline mips tree and add
some more pending patches for board detection.

* Now the board name is shown under machine in /proc/cpuinfo.

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

SVN-Revision: 38308
2013-10-06 23:51:24 +00:00
Hauke Mehrtens
53a2c19c69 kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38307
2013-10-06 22:35:28 +00:00
Hauke Mehrtens
2c5e4aa6ad brcm47xx: b44: fix some problems with the phy
* do not try initialize a unused phy
* some improvements to the phylib patch
* do not turn the phy off when mac is off

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

SVN-Revision: 38306
2013-10-06 18:31:32 +00:00
Luka Perkov
fa3ab0c237 kirkwood: add support for UBI (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38301
2013-10-04 03:45:52 +00:00
Luka Perkov
60dd4429b7 imx6: update upstream pcie patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38298
2013-10-03 13:06:42 +00:00
Luka Perkov
5617993e10 kirkwood: enable dts compilation
In 3.10 we might build those, so for now just add this functionality.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38297
2013-10-03 02:50:03 +00:00
Luka Perkov
a30df8987d kirkwood: fix initramfs images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38296
2013-10-03 02:50:02 +00:00
Luka Perkov
38936426f7 kirkwood: update patches and configuration (3.10)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38295
2013-10-03 02:50:00 +00:00
Hauke Mehrtens
97b15fc45b brcm47xx: add support for ipv6 in default network config
Modify /etc/init.d/netconfig to use UCI defaults for building the
default network config, which includes appropriate defaults for IPV6.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38294
2013-10-02 23:22:18 +00:00
Hauke Mehrtens
9e5eeb3c38 kernel: bgmac: fix BCM4707 patch
The bool logic was the wrong way around.

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

SVN-Revision: 38292
2013-10-02 23:12:46 +00:00
Hauke Mehrtens
101034fa23 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38291
2013-10-02 22:26:43 +00:00
Hauke Mehrtens
fa839274b0 kernel: bcma: update to wireless-testing master-2013-10-01
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38290
2013-10-02 22:26:15 +00:00
Hauke Mehrtens
125fc703bb kernel: bgmac: move other bgmac patches to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.

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

SVN-Revision: 38289
2013-10-02 22:25:26 +00:00
Hauke Mehrtens
06c8b90ebf kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.
These are only the patches already applied in current net-next/master
branch.

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

SVN-Revision: 38288
2013-10-02 22:24:01 +00:00
Luka Perkov
8f1499c448 imx6: add default profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38282
2013-10-02 00:33:49 +00:00
Luka Perkov
0eb732c659 kirkwood: drop PROFILE from image names
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38281
2013-10-02 00:33:48 +00:00
Luka Perkov
0331657a4f kirkwood: add linux 3.10 support
Backport appropriate patches to allow using device tree only board
defintions.

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

SVN-Revision: 38280
2013-10-02 00:33:47 +00:00
Luka Perkov
7d1e5ae918 kirkwood: prepare for 3.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38279
2013-10-02 00:33:45 +00:00
Luka Perkov
914ca3cb55 kirkwood: explicitly set CPU_TYPE to xscale
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38278
2013-10-02 00:33:43 +00:00
Hauke Mehrtens
20513fedf2 ep93xx: fix kmod-input-keyboard-ep93xx dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38275
2013-10-01 22:39:28 +00:00
Hauke Mehrtens
1158f22b02 ep93xx: fix sound dependencies for ep93xx
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38274
2013-10-01 22:38:40 +00:00
Hauke Mehrtens
e28d2b88ea at91: fix missing drivers/iio/adc/at91-adc.ko in kmod-at91-adc
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38273
2013-10-01 22:37:17 +00:00
John Crispin
4f3797386f lantiq: add support for VGV7519 KPN Experia box v8
Signed-off-by: Maikel Bloemendal <mbloemendal@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38266
2013-09-30 20:48:46 +00:00
John Crispin
65bb48cf23 ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38265
2013-09-30 20:48:39 +00:00
John Crispin
52fe1211b3 ralink: fix DIR-320-B1 board detection
https://dev.openwrt.org/ticket/14226

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

SVN-Revision: 38264
2013-09-30 20:48:34 +00:00
John Crispin
396cb4f405 ralink: Change size of image for DIR-320 B1 to 8MB
http://patchwork.openwrt.org/patch/4102/

Signed-off-by: Vladimir Stolyarov <xakep6666@yandex.ru>

SVN-Revision: 38263
2013-09-30 20:48:27 +00:00
Felix Fietkau
a5e85d5a3e kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38246
2013-09-27 21:12:19 +00:00
Felix Fietkau
3e2aa6105c octeon: remove CONFIG_FW_LOADER override to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38244
2013-09-27 21:12:12 +00:00
Felix Fietkau
bff3637d24 lantiq: add a default for CONFIG_MTD_NAND_XWAY to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38243
2013-09-27 21:12:08 +00:00
Felix Fietkau
50ae6314d8 kernel: add another missing symbol for iio
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38241
2013-09-27 21:12:01 +00:00
Felix Fietkau
08a232c8cf kernel: add missing symbols for iio on older kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38240
2013-09-27 20:54:00 +00:00
Gabor Juhos
7815af409a ar71xx: ar934x-nfc: disable subpage write when hardware ECC is used
It is not supported by the controller.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38234
2013-09-27 11:15:34 +00:00
Luka Perkov
5da90c4e1f imx6: enable cpufreq-imx6q by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38233
2013-09-27 10:49:37 +00:00
Luka Perkov
b5e56bd31f mvebu: enable thermal module by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38232
2013-09-27 10:49:36 +00:00
Luka Perkov
03051c1442 imx6: enable thermal module by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38231
2013-09-27 10:49:35 +00:00
Luka Perkov
8ec28437c3 imx6: backport thermal driver
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38229
2013-09-27 10:49:28 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Luka Perkov
1d89a89667 mvebu: add myself as maintainer
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38226
2013-09-27 01:52:29 +00:00
Luka Perkov
d0603d6615 mvebu: drop 3.8 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38225
2013-09-27 01:52:28 +00:00
Luka Perkov
a0848b5884 mvebu: switch to 3.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38224
2013-09-27 01:52:26 +00:00
Luka Perkov
d3c3919a85 mvebu: add 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38223
2013-09-27 01:52:25 +00:00
Luka Perkov
4fa3e3aae9 build: fix typo
vfp3 should be named vfpv3

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38222
2013-09-26 22:43:06 +00:00
Florian Fainelli
6bbb5272ad rb532: fix initramfs image creation (#14215)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38219
2013-09-26 19:16:19 +00:00
Gabor Juhos
8d4eb18740 kernel/3.10: use backported patch for PMC SPI flash support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38218
2013-09-26 18:01:57 +00:00
Gabor Juhos
396c3b023e kernel/3.10: add '003-11-' prefix for patches backported from 3.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38217
2013-09-26 18:01:49 +00:00
Gabor Juhos
5847ec55ab kernel/3.9: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38216
2013-09-26 17:58:17 +00:00
Gabor Juhos
4562eb875b kernel/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38215
2013-09-26 17:58:16 +00:00
Felix Fietkau
0db9125157 build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38213
2013-09-26 17:53:28 +00:00
Felix Fietkau
ef68210f93 build: unify x86 target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38212
2013-09-26 17:53:24 +00:00
Felix Fietkau
c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
2013-09-26 17:53:20 +00:00
Felix Fietkau
a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
2013-09-26 17:53:14 +00:00
Luka Perkov
907d0f76b7 imx6: enable XZ_DEC_BCJ and XZ_DEC_ARM
squashfs is unable to decompress some blocks without that:

[    1.880530] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.887268] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.893889] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.900636] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.907275] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.913994] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.920631] SQUASHFS error: Unable to read page, block bc77a, size 14c50

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38202
2013-09-25 23:35:55 +00:00
Luka Perkov
2d1775dafc imx6: fix spi on gw5400-a
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38201
2013-09-25 23:35:54 +00:00
Hauke Mehrtens
6910cb4d6f bcm53xx: bgmac: use srab switch driver
use the srab switch driver on these SoCs.

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

SVN-Revision: 38200
2013-09-25 21:49:12 +00:00
Hauke Mehrtens
0bdc137636 bcm53xx: update bgmac driver
Update the bgmac driver with the patches already used for bcm47xx target.

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

SVN-Revision: 38199
2013-09-25 21:47:25 +00:00
Hauke Mehrtens
c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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

SVN-Revision: 38198
2013-09-25 21:44:28 +00:00
Gabor Juhos
fc79d210e0 kernel: create firmware partition from MyLoader partition parser
This is in preparation for sysupgrade support for Compex devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38197
2013-09-25 20:13:12 +00:00
Gabor Juhos
942e69b166 avr32: optimize image generation
- remove the kernel+rootfs partitions from the MTD partition map,
 - use a temporary directory for intermediate image files,
 - append the root squashfs directly to the kernel,
 - don't hardcode uImage size in the jffs2 images,

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38194
2013-09-25 19:32:34 +00:00
Gabor Juhos
11e4e6ebfb avr32: enable the new mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38193
2013-09-25 19:32:33 +00:00
Gabor Juhos
b71c7d8d3c ar71xx: use correct board id for TL-MR3040 v2
Fix the image building code so that the kernel correctly
distinguishes between hardware revisions.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38192
2013-09-25 18:42:14 +00:00
Gabor Juhos
164cd38b41 ar71xx: add user-space support for TL-MR3040 v2
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38191
2013-09-25 18:42:11 +00:00
Gabor Juhos
f8aef84e49 ar71xx: improve kernel support for the TL-MR3040 v2
This patch adds support for the hardware slide switch on
the TL-MR3040 v2.

Signed-off-by: Mads Hansen <d@taba.se>
[juhosg: use EV_SW instead of EV_KEY]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38190
2013-09-25 18:42:10 +00:00
Luka Perkov
77d075aa54 imx6: add support for gw51xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 - i.MX6DL 512MB DDR3
 - 256MB NAND FLASH
 - 1x PCIe
 - 1x USB EHCI (to PCIe socket)
 - 1x USB OTG
 - HDMI out
 - Analog Video in
 - Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38189
2013-09-25 18:07:24 +00:00
Luka Perkov
f55d0ff66c imx6: add support for gw54xx
The Gateworks GW54xx family of products is based on the Freescale
i.MX6Q SoC and offers a large variety of peripherals such as:

  - i.MX6Q 1GB DDR3 (standard)
  - 256MB NAND FLASH (standard)
  - 6x PCIe (3x with USB)
    - Optional expansion for additional USB/PCI based periperhals
  - 1x USB EHCI
  - 1x USB OTG
  - HDMI Audio/Video in/out
  - Analog Video in/out
  - Analog Audio in/out
  - Gateworks System Controller

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38188
2013-09-25 18:07:20 +00:00
Gabor Juhos
7530971113 package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38187
2013-09-25 18:00:35 +00:00
Luka Perkov
cbcd3024dc imx6: update gw5400-a dts cleanup
- remove dead code
- alphabatize

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38184
2013-09-25 17:55:38 +00:00
Gabor Juhos
8daeba6d47 atheros: fix kernel warning about usage of reset gpio
During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:

[  147.930000] ------------[ cut here ]------------
[  147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc()
[  147.930000] autorequest GPIO-5
[  147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug
[  147.930000] Call Trace:
[  147.930000] [<8004e3bc>] dump_stack+0x8/0x34
[  147.930000] [<80058430>] warn_slowpath_common+0x78/0xa4
[  147.930000] [<800584e4>] warn_slowpath_fmt+0x2c/0x38
[  147.930000] [<80166f18>] gpio_ensure_requested+0x68/0xcc
[  147.930000] [<80167264>] gpio_direction_output+0xdc/0x168
[  147.930000] [<8004aba8>] ar2315_restart+0x28/0x54
[  147.930000] [<80069778>] sys_reboot+0x178/0x1c0
[  147.930000] [<80043670>] stack_done+0x20/0x40
[  147.930000]
[  147.930000] ---[ end trace 2c7a53d8549562d6 ]---

This is fixed with this patch by using another gpiolib api call
which includes the missing request.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38183
2013-09-25 17:51:12 +00:00
Gabor Juhos
0380904acb kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38182
2013-09-25 17:13:24 +00:00
Gabor Juhos
76a1617063 ramips: sync 3.10 configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38181
2013-09-25 16:39:23 +00:00
Gabor Juhos
482b5f34e5 lantiq/3.10: unbreak the mtd-split patch
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38180
2013-09-25 16:22:04 +00:00
Gabor Juhos
1bd2b56081 kernel/3.10: add upstream commit id to the backported hso patches
Also remove the internal patch numbers.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38179
2013-09-25 14:38:57 +00:00
Gabor Juhos
443072fda7 kernel/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38178
2013-09-25 14:38:56 +00:00
Gabor Juhos
87fb2dad70 avr32: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38175
2013-09-25 13:34:52 +00:00
Gabor Juhos
816820575b avr32: switch to 3.10
It works:
    _______                     ________        __
   |       |.-----.-----.-----.|  |  |  |.----.|  |_
   |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
   |_______||   __|_____|__|__||________||__|  |____|
            |__| W I R E L E S S   F R E E D O M
   -----------------------------------------------------
   BARRIER BREAKER (Bleeding Edge, r38163)
   -----------------------------------------------------
    * 1/2 oz Galliano         Pour all ingredients into
    * 4 oz cold Coffee        an irish coffee mug filled
    * 1 1/2 oz Dark Rum      with crushed ice. Stir.
    * 2 tsp. Creme de Cacao
   -----------------------------------------------------
  root@OpenWrt:/# uname -a
  Linux OpenWrt 3.10.12 #1 Tue Sep 24 18:47:12 CEST 2013 avr32 GNU/Linux
  root@OpenWrt:/# cat /proc/cpuinfo
  processor       : 0
  chip type       : AT32AP700x revision C
  cpu arch        : AVR32B revision 1
  cpu core        : AP7 revision 0
  cpu MHz         : 140.000
  i-cache         : 16K (4 ways x 128 sets x 32)
  d-cache         : 16K (4 ways x 128 sets x 32)
  features        : dsp simd ocd perfctr java
  bogomips        : 281.23
  root@OpenWrt:/#

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38174
2013-09-25 13:34:51 +00:00
Gabor Juhos
b8d09278a1 avr32: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38173
2013-09-25 13:33:49 +00:00
Steven Barth
d6c62705fb uml: work around mangled parameter handling for ubd
SVN-Revision: 38166
2013-09-24 13:36:42 +00:00
Steven Barth
31f654396a uml: fix some kernel compilation issues with GCC
SVN-Revision: 38165
2013-09-24 13:36:38 +00:00
Steven Barth
777e69451d uml: work-around console issue with procd
SVN-Revision: 38164
2013-09-24 13:36:33 +00:00
Gabor Juhos
5016b6513c ppc44x: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38163
2013-09-24 13:17:48 +00:00
Gabor Juhos
059d90e6f6 ppc44x: switch to 3.10
Compile tested only. The target is marked as
broken since 16 months so the kernel version
does not matter too much.

The target is scheduled for removal.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38162
2013-09-24 13:17:47 +00:00
Gabor Juhos
4356a214eb ppc44x: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38161
2013-09-24 13:17:46 +00:00
Gabor Juhos
521f5df589 rb532: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38160
2013-09-24 13:17:45 +00:00
Gabor Juhos
58fbd3ce5c rb532: switch 3.10
Compile tested only. The target is marked as
broken since 9 months so the kernel version
does not matter too much.

The target is scheduled for removal.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38159
2013-09-24 13:17:43 +00:00
Gabor Juhos
2f05e1f6d6 rb532: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38158
2013-09-24 13:17:42 +00:00
Gabor Juhos
13ec78c18f rb532: image: fix broken ifneq statement
Fixes the following build error:

  /devel/openwrt/staging_dir/host/bin/patch-cmdline \
  /devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \
  'root=/dev/mtdblock1 rootfstype=yaffs2 '
  Could not open kernel imagemake[5]: *** [install] Error 255

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38157
2013-09-24 13:17:39 +00:00
Gabor Juhos
91e1fa6d70 rb532: remove trailing whitespaces from image/Makefile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38156
2013-09-24 13:17:38 +00:00
Gabor Juhos
904ffa32d8 ar71xx: image: simplify mynet_n600_mtdlayout
Remove the kernel and rootfs partitions. The Seama
parser can find those automatically:

  0x000000070000-0x000000ff0000 : "firmware"
  2 seama-fw partitions found on MTD device firmware
  0x000000070000-0x0000001b0000 : "kernel"
  0x0000001b0000-0x000000ff0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  1 squashfs-split partitions found on MTD device rootfs
  0x000000360000-0x000000ff0000 : "rootfs_data"
  0x000000ff0000-0x000001000000 : "radiocfg"

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38155
2013-09-24 12:19:57 +00:00
Gabor Juhos
2f5694398d ar71xx: enable the Seama firmware parser
It will be used for the WD My Net N600 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38154
2013-09-24 12:19:54 +00:00
Gabor Juhos
2ea3cac075 ar71xx: update the Image/Build/WZRHP macro
- append the root squashfs directly after the kernel,
 - use the 64kraw/128kraw template instead of the 64k/128k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on WZR-HP-G300NH and WZR-600DHP boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38153
2013-09-24 09:36:26 +00:00
Gabor Juhos
d0ba5d1584 ar71xx: image: use a common macro for Buffalo WZRHP devices
The Image/Build/WZRHP64K and the Image/Build/WZRHP128K macros
are similar. Move the common stuff into the Image/Build/WZRHP
macro and update the orignal macros to use that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38152
2013-09-24 09:36:25 +00:00
Gabor Juhos
370405bfd0 ar71xx: image: update Image/Build/CameoAP94 macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-673GRU board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38151
2013-09-24 08:14:44 +00:00
Gabor Juhos
167c4b5fa7 ar71xx: image: use a common macro for Cameo AP94 based devices
The Image/Build/DIR825B1 and the Image/Build/DLRTDEV macros
are identical. Merge those into a new Image/Build/CameoAP94
macro, and update the device profiles to use the new macro.
Also rename the dir825b1_* mtdlayout macros to cameo_ap94_*.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38150
2013-09-24 08:14:43 +00:00
Gabor Juhos
fe525cd2c0 ar71xx: image: use the board name for temporary mtdpart files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38149
2013-09-24 06:13:14 +00:00
Gabor Juhos
5da3667d79 ar71xx: update the Image/Build/UBNT2 macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a WispStation M5 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38148
2013-09-24 05:58:34 +00:00
Gabor Juhos
18141628dc ar71xx: build intramfs images for the Ubiquiti XM boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38147
2013-09-24 05:58:32 +00:00
Gabor Juhos
4fc427e211 ar71xx: image: use a common macro for UBNTXM/UBNTDEV
The firmware generation part is the same for both
macros. Move that into a separate macro and use the
new macro for Image/Build/UB{NTXM,DEV}.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38146
2013-09-24 05:58:31 +00:00
Gabor Juhos
0b09a89340 ar71xx: image: update Image/Build/WHRHPG300N macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on the WHR-G301N board only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38141
2013-09-23 19:49:27 +00:00
Gabor Juhos
0264fed9bd ar71xx: image use the 64kraw template for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38140
2013-09-23 12:54:05 +00:00
Gabor Juhos
7c8c366a14 ar71xx: image: update Build/Image/Planex macro
- remove the 'kernel' and 'rootfs' partitions from the mtd layout,
 - move the .okli image into the uImage,
 - append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on the MZK-W300NH board only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38139
2013-09-23 12:14:20 +00:00
Gabor Juhos
58e3d03ae0 ar71xx: image: allow to build initramfs for Planex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38138
2013-09-23 12:14:19 +00:00
Gabor Juhos
0ff5dc2f38 ar71xx: image: build Planex kernels in a separate step
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38137
2013-09-23 12:14:18 +00:00
Gabor Juhos
cdda5b041f ar71xx: add profile and build image for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38133
2013-09-23 09:49:04 +00:00
Gabor Juhos
525fcc6e11 ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38132
2013-09-23 09:49:02 +00:00
Gabor Juhos
8b920136a0 ar71xx: add kernel support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38131
2013-09-23 09:49:01 +00:00
Gabor Juhos
3f5fae5e1a ar71xx: image: update the Image/Build/CameoHornet macro
- append the root squashfs directly to the kernel,
 - use the 64kraw-nojffs template instead of sqashfs-only
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-712BR devices only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38130
2013-09-23 09:22:50 +00:00
Gabor Juhos
4dd84248d2 ar71xx: update the Image/Build/Cameo macro
- append the root squashfs directly to the kernel,
 - use the 64kraw/64kraw-nojffs template instead of 64k/squashfs-only,
 - ensure, that the signature is placed at the correct offset in
   the *-factory images,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on DIR-600-A1 and TEW-632BR devices only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38129
2013-09-23 09:01:06 +00:00
Gabor Juhos
3131a1c11a ar71xx: image: add new macros for AP99 based Cameo devices
The MTD layout of the AP99 based devices is different.
Add new macros to reflect that and use the new macros
for the DIR-615-E4 board.

This prevents overwriting of the 'mac' partition which
contain vital informations. The disadvantage of the change
is that the usable space is reduced by 192KiB. Blame the
vendors for the unfriendly partition layout.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38128
2013-09-23 08:24:10 +00:00
Gabor Juhos
ac2cd03c73 ar71xx: image: rename the Cameo macros
Use the reference board name in the macro
instead of the SoC number.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38127
2013-09-23 08:24:05 +00:00
Gabor Juhos
dd171f7d14 ar71xx: image: add optional JFFS2 padding support to the CatFiles macro
Also remove the similar code from the Netgear
profile and use the new feature instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38126
2013-09-22 20:14:23 +00:00
Gabor Juhos
d3c75d79cd ar71xx: image: remove too big files in the CatFiles macro
Also improve the warning message.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38125
2013-09-22 20:14:22 +00:00
Gabor Juhos
3b00bf1a68 ar71xx: simplify wndr3700 image generation
- remove the kernel and rootfs partitions from the mtd layout,
   the kernel creates those automatically,
 - remove estimation step, it is not needed anymore
 - put the root squashfs directly after the kernel
 - use the 64kraw template

With the default configuration, this allows to use more space for
rootfs_data with 64KiB. Tested on WNDR3700 v1 only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38120
2013-09-22 11:45:09 +00:00
Gabor Juhos
10a0f65be0 ar71xx: use the separate rootfs and uImage parsers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38119
2013-09-22 11:45:08 +00:00
Gabor Juhos
2434b9e413 ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38118
2013-09-22 11:45:06 +00:00
Gabor Juhos
ea0ff700e8 ar71xx: image: add mtdpartsize macro
The new macro will be used to determine the firmware
partition size from an MTD layout.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38117
2013-09-22 09:11:25 +00:00
Gabor Juhos
48a3a30fec ar71xx: image: improve the rootfs_align macro
Improve the macro to return correct value for
all squashfs variant.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38116
2013-09-22 09:11:24 +00:00
Gabor Juhos
b77d4d8d19 ar71xx: image: improve the CatFiles macro
Make it possible to append the rootfs image directly
to the kernel.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38115
2013-09-22 09:11:22 +00:00
Gabor Juhos
2e62ff9320 kernel/3.10: add partition parser for Seama firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38114
2013-09-21 17:56:18 +00:00
Gabor Juhos
2f2ed5c5c1 kernel/3.10: add partition parser for uImage firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38113
2013-09-21 17:56:09 +00:00
Gabor Juhos
98db90576c kernel/3.10: add default partition name defines to mtdsplit.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38112
2013-09-21 17:56:01 +00:00
Gabor Juhos
61c39f923b kernel/3.10: add more helpers to the mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38111
2013-09-21 17:55:54 +00:00
Gabor Juhos
daec7ad768 kernel/3.10: add separate rootfs partition parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38110
2013-09-21 17:55:49 +00:00
Gabor Juhos
d89bea92b3 kernel/3.10: move squashfs check from rootfs split code into a separate file
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38109
2013-09-21 17:55:44 +00:00
Gabor Juhos
3b71cd94bc kernel/3.10: allow to use partition parsers for rootfs and firmware split
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38108
2013-09-21 17:55:30 +00:00
Gabor Juhos
6f2b80dff1 kernel/3.10: allow to use different MTD parser types
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38107
2013-09-21 17:55:18 +00:00
Gabor Juhos
0ee77c1efb ar71xx: enable wlan2g led in the default configuration of dir-825-c1
Enable the wlan2g led in the default configuration of dir-825-c1.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4079/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38106
2013-09-21 16:08:45 +00:00
Gabor Juhos
d661af0b77 ar71xx: vanity changes for dir-825-c1
This patch

- changes the color names from orange to amber
- changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G
  (wlan2g) to be more consistent with the other routers' files
- changes the descriptions of the hardware keys to be a tad more
  explicit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4081/
[juhosg: update the LED migration script as well]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38105
2013-09-21 16:08:44 +00:00
Gabor Juhos
b02cb983d9 ar71xx: diag.sh: consolidate netgear device entries
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38104
2013-09-21 15:55:57 +00:00
Gabor Juhos
5dc4786200 ar71xx: use the green power led for diag on the WNR2200 board
Make it consistent with the other Netgear boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38103
2013-09-21 15:55:56 +00:00
Gabor Juhos
0a813e9e3c ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38102
2013-09-21 15:55:55 +00:00
Gabor Juhos
d0fe16cedf ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38101
2013-09-21 15:55:54 +00:00
Gabor Juhos
ae7d14f701 ar71xx: use netgear prefix for WNR2200 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38100
2013-09-21 15:55:52 +00:00
Gabor Juhos
87f7ac6b4e ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38099
2013-09-21 15:55:51 +00:00
Gabor Juhos
e33ccdc295 ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38098
2013-09-21 15:55:50 +00:00
Gabor Juhos
d381cd170d ar71xx: add an uci-defaults script for LED configuration migration
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38097
2013-09-21 15:55:49 +00:00
Gabor Juhos
10ed605a89 ar71xx: let HW switch control WAN LED on dir-825-c1
Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38096
2013-09-21 14:56:24 +00:00
Gabor Juhos
20c8252a8f ar71xx: image: override mkcameofw status
This allows to build images for other boards, even if
the image is too big for Cameo devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38095
2013-09-21 14:56:22 +00:00
Gabor Juhos
50f4732438 ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38094
2013-09-21 12:04:45 +00:00
Gabor Juhos
fe19f5a718 ar71xx: set proper wan mac during initial configuration on dir-825-c1
The goal is to set the WAN MAC address to the one on the
sticker on the bottom of the unit. Currently it is not
used at all. But some users expect the WAN interface to
have the MAC address that is written on the sticker.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38091
2013-09-20 16:59:44 +00:00
Gabor Juhos
1dd33c4d6c ar71xx: tew-712br: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38090
2013-09-20 16:41:36 +00:00
Gabor Juhos
cb18e38996 ar71xx: tew-673gru: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38089
2013-09-20 16:41:34 +00:00
Gabor Juhos
a98df83f5f ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38088
2013-09-20 16:41:33 +00:00
Gabor Juhos
710314990a ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38087
2013-09-20 16:41:32 +00:00
Gabor Juhos
2a777a272c ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38086
2013-09-20 16:41:31 +00:00
Gabor Juhos
e312a917d3 ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
Rename the function and extend it in order to make it
usable from board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38085
2013-09-20 16:41:30 +00:00
Gabor Juhos
cf5891fb39 ar71xx: fix Cameo934x initramfs image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38084
2013-09-20 16:41:28 +00:00
Luka Perkov
7665c57a72 lantiq: fix usb on sx76x
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 38083
2013-09-20 14:24:30 +00:00
Luka Perkov
c90e521790 imx6: update gw5400-a dts
- remove common imx6q-ventana.dtsi - there isn't enough commonality to
  warrent this
- rename user led's to 1-based
- add alises used by bootloader
- clean up iomux gpios
- fix pfuze slave address
- enable sata
- add delay after release of pci reset downstream from PCIe switch
- remove PCIe clock configuration as its now handled in updated driver

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38081
2013-09-20 01:59:33 +00:00
Luka Perkov
3f059f58db imx6: update PCIe driver
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38080
2013-09-20 01:59:32 +00:00
Luka Perkov
19bd25f4ec imx6: update network defaults for Gateworks Ventana
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38079
2013-09-20 01:59:30 +00:00
Luka Perkov
cd1257ee0c imx6: update config
* enable PERF_EVENTS
* enable REGULATOR_ANATOP
* enable VMSPLIT_2G

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38078
2013-09-20 01:59:29 +00:00
Luka Perkov
7c9b567371 imx6: drop inittab
It's the same as in base-files package.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38077
2013-09-20 01:59:27 +00:00
Gabor Juhos
cd9ff05845 ar71xx: add profile and build image for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38076
2013-09-19 22:36:43 +00:00
Gabor Juhos
37968b3be1 ar71xx: add sysupgrade support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38075
2013-09-19 22:36:42 +00:00
Gabor Juhos
7f9d2292fa ar71xx: add user-space support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38074
2013-09-19 22:36:41 +00:00
Gabor Juhos
9a2e94476a ar71xx: add kernel support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38072
2013-09-19 22:36:39 +00:00
Gabor Juhos
9200807877 ar71xx: wndr4300: enable HW ECC mode for the NAND controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38071
2013-09-19 18:43:43 +00:00
Gabor Juhos
83915a8d78 ar71xx: add ath79_nfc_set_ecc_mode helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38070
2013-09-19 18:43:42 +00:00
Gabor Juhos
d6fef0cb39 ar71xx: ar934x_nfc: add experimental support for hardware ECC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38069
2013-09-19 18:43:41 +00:00
Gabor Juhos
ceecdfb1c9 ar71xx: ar934x_nfc: return error code from some low-level functions
Change some flow-level unctions to return with an
error code in order to be able to report errors
to the core code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38068
2013-09-19 18:43:40 +00:00
Gabor Juhos
df8485c7cb ar71xx: ar934x_nfc: use devm_* functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38067
2013-09-19 18:43:38 +00:00
Gabor Juhos
54c0e72f9d ar71xx: add profile and build image for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38066
2013-09-19 17:52:45 +00:00
Gabor Juhos
5e3c7d14ec ar71xx: add user-space support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38064
2013-09-19 17:52:42 +00:00
Gabor Juhos
e3e31835ae ar71xx: add kernel support for TP-Link TL-MR13U
This patch adds support for TP-Link TL-MR13U router with built-in 10AH
rechargeable battery.

The patch is based on kamwanlai's patch:
https://forum.openwrt.org/viewtopic.php?pid=206746#p206746

Updated to accommodate recent changes introduced with:
ar71xx: remove fs_* variables from image/Makefile

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
[juhosg:
  - refresh and rename rename 930-add-tl-mr13u-support.patch =>
    625-MIPS-ath79-add-tl-mr13u-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38063
2013-09-19 17:52:41 +00:00
Gabor Juhos
5e23012c77 ar71xx: wnr2200: fix a typo in a LED name
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38062
2013-09-19 17:52:40 +00:00
Gabor Juhos
fe781581df ar71xx: add profile and build image for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38061
2013-09-19 16:56:51 +00:00
Gabor Juhos
3d4b042c4b ar71xx: add user-space support for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38060
2013-09-19 16:56:50 +00:00
Gabor Juhos
49ed06e36f ar71xx: add kernel support for Netgear WNR2200 wireless router
This patch adds OpenWRT support for the Netgear WNR2200 (N300)
wireless router with USB.

Technical details of this router can be found at
http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx
and http://wikidevi.com/wiki/Netgear_WNR2200

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
[juhosg:
  - add commit message and SoB line from the original patch
  - remove dead code from mach-wnr2200.c
  - refresh 624-MIPS-ath79-WNR2200-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38059
2013-09-19 16:56:48 +00:00
John Crispin
08abb8822b ralink: make dcs930 uvc camera work
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38054
2013-09-19 05:57:00 +00:00
John Crispin
c0f6bf05f4 ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38053
2013-09-19 05:56:46 +00:00
John Crispin
898c164b46 ralink: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38052
2013-09-19 05:56:31 +00:00
Luka Perkov
d2ad87885d lantiq: style fixes
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38051
2013-09-19 00:50:49 +00:00
Luka Perkov
43f1a47430 lantiq: add initial support for Siemens GIGASX76X
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38050
2013-09-19 00:50:48 +00:00
Luka Perkov
3b33adeb99 lantiq: add support for ZyXEL P2601HNFX
SVN-Revision: 38049
2013-09-19 00:50:46 +00:00
Luka Perkov
7d2c5682b9 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38048
2013-09-19 00:50:44 +00:00
Luka Perkov
da01479d73 malta: target.mk cosmetical fixup
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38047
2013-09-18 23:03:47 +00:00
Hauke Mehrtens
86f7ca96af brcm47xx: b44: bgmac: some small changes to the phylib patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38044
2013-09-18 16:49:52 +00:00
John Crispin
40ac8dd9df lantiq: fix FRITZ7320 flash window size
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38042
2013-09-18 16:31:45 +00:00
John Crispin
f9f73ef2ec lantiq: fix ath9k eeprom loading order bug
https://dev.openwrt.org/ticket/14131
http://patchwork.openwrt.org/patch/4038/

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

SVN-Revision: 38041
2013-09-18 16:31:41 +00:00
John Crispin
5722b32acf ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129

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

SVN-Revision: 38040
2013-09-18 16:31:37 +00:00
John Crispin
8ff756cdc9 lantiq: fix up default firmware selection for spanish and italian routers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38039
2013-09-18 16:31:32 +00:00
Hauke Mehrtens
4f93bde681 brcm47xx: bgmac: b44: add support for Byte Queue Limits
This adds support for Byte Queue Limits in bgmac and b44, now it is
possible to use more advanced network queue control algorithms.

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

SVN-Revision: 38038
2013-09-18 15:19:25 +00:00
Hauke Mehrtens
6dd2e9ae2c brcm47xx: update the clock fixes for BCM5354
This updates the patches for BCM5354 to the version send for upstream
Linux inclusion.

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

SVN-Revision: 38037
2013-09-18 14:36:03 +00:00
Hauke Mehrtens
4c52ed50d7 brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel
inclusion. The data needed to detection a board is now stored in init
data.

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

SVN-Revision: 38036
2013-09-18 14:33:54 +00:00
Hauke Mehrtens
e75ff873be brcm47xx: add detection for Linksys E900 V1
Thank you Rafał for the data.

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

SVN-Revision: 38035
2013-09-18 14:32:05 +00:00
John Crispin
1878a3d6ab lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38031
2013-09-17 21:46:10 +00:00
John Crispin
cd668944ef lantiq: add wifi eep to a803 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38030
2013-09-17 21:46:04 +00:00
John Crispin
18b76c66fb lantiq: add a subtarget for the xrx200 SoC family
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38029
2013-09-17 21:46:00 +00:00
John Crispin
0782501483 lantiq: update dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38027
2013-09-17 21:45:50 +00:00
John Crispin
8cd1c99707 ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38026
2013-09-17 21:45:44 +00:00
John Crispin
66bed0b019 ralink: change subtarget order
this will make image builder build rt305x targets per default

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

SVN-Revision: 38025
2013-09-17 21:45:39 +00:00
Felix Fietkau
9158a08983 kernel: backport a fix for multiqueue selection to prevent tcp reordering with fair queueing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38016
2013-09-17 10:07:52 +00:00
Hauke Mehrtens
c78e4fb220 brcm47xx: Add support for Huawei E970
This patch adds support for Huawei E970 wireless gateway devices.
It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV.
E960/B970 should work too, from what I know it's basically the same hardware.

The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem.

It uses a hardware watchdog which needs GPIO-7 to be toggled at least
every 1-2 seconds. This patch uses gpio_wdt module (see my previous
patch today) to take care of this.

Tested and works:  3G wan,  wlan+LED,  VLAN config,  failsafe using reset
button,   image to be used for upgrade from OEM firmware's web interface

Link to the wiki page I've created:  <http://wiki.openwrt.org/toh/huawei/e970>

Issue:

* lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog
  reset during kernel decompress.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38011
2013-09-16 21:09:10 +00:00
Hauke Mehrtens
0294358e11 kernel: add generic GPIO watchdog driver
This is used on Huawei E970 (brcm47xx).

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38010
2013-09-16 21:07:52 +00:00
Hauke Mehrtens
880be9ca2f brcm47xx: add detection for Phicomm M1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38009
2013-09-16 19:53:09 +00:00
Hauke Mehrtens
bc5b56f42b brcm47xx: detect Linksys E1200 V2
This adds detection for Linksys E1200 V2

Thank you Lightsword and Rafał.

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

SVN-Revision: 38006
2013-09-16 19:49:02 +00:00
Hauke Mehrtens
23c34e820c brcm47xx: mtd: bcm47xxpart: detect "factory" partition
A new type of partition with magic FCTY was found on Huawei E970:
46 43 54 59 4b 51 37 4e  41 42 31 38 41 32 39 30  |FCTYKQ7NAB18A290|

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

SVN-Revision: 38005
2013-09-16 19:47:30 +00:00
Hauke Mehrtens
f687ab2101 brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
This is important patch for new devices that support unaligned
addressing. That devices suffer from the backward-compatibility bug in
DMA engine. In theory we should be able to use old mechanism, but in
practice DMA address seems to be randomly copied into status register
when hardware reaches end of a ring. This breaks reading slot number
from status register and we can't use DMA anymore.

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

SVN-Revision: 38004
2013-09-16 19:46:34 +00:00
Gabor Juhos
a0d6cd4f49 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38002
2013-09-15 17:03:29 +00:00
Hauke Mehrtens
86405f2c4c brcm47xx: add detection code for Huawei E970
This is based on a patch by Mathias Adam.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38001
2013-09-15 17:00:45 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Hauke Mehrtens
57c6730ed6 brcm47xx: bgmac: allow bigger et_swtype nvram variable
Without this patch it is impossible to read et_swtype, because the 1
byte space is needed for the terminating null byte. Now it should be
possible to read decimal and hex vars of max 8 bit.

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

SVN-Revision: 37999
2013-09-15 15:50:41 +00:00
Hauke Mehrtens
2693eab7fd brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partition
Most of the bcm47xx devices use TRX format for storing kernel and some
partition like Squashfs or JFFS2. This is pretty flexible solution, CFE
(the bootloader) just writes (and later boots) TRX at some hardcoded
place and paritions can vary in the size.

However some devices don't use TRX format. Very recently we have
discovered ZTE H218N that has kernel and rootfs partitions at some
"random" places.

This patch allows Linux find a rootfs partition after installing custom
image with a CFE bootloader.

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

SVN-Revision: 37998
2013-09-15 15:47:45 +00:00
Gabor Juhos
4beccfcccb kernel/3.10: move OpenWrt MTD options into a submenu
Separate OpenWrt specific MTD options from the mainline
option by moving those into a new submenu in the kernel
configuration interface.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37997
2013-09-15 15:16:16 +00:00
Hauke Mehrtens
bd6d4c4ded brcm47xx: update board detection patch
* Use different structs depending on the number of nvram variables to check.
* Add detection of ZTE H218N, this closes #14151.

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

SVN-Revision: 37996
2013-09-15 15:08:29 +00:00
Hauke Mehrtens
f5989e7f59 kernel: b53: detect revision of BCM5325
The revision is stored in a different register than it is in other
Broadcom switches.

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

SVN-Revision: 37995
2013-09-15 13:30:49 +00:00
Hauke Mehrtens
49d7c57fd1 kernel: b53: fix vlan write for BCM5325 revison 3+
These switches are integrated in some recent BCM53XX and BCM47XX SoCs
like the BCM53572.

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

SVN-Revision: 37994
2013-09-15 13:29:14 +00:00
Hauke Mehrtens
c9399a1c81 brcm47xx: bgmac: fix internal switch initialization
Some devices (BCM4749, BCM5357, BCM53572) have internal switch that
requires initialization. We already have code for this, but because
of the typo in code it was never working. This resulted in network not
working for some routers and possibility of soft-bricking them.

Use correct bit for switch initialization and fix typo in the define.

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

SVN-Revision: 37993
2013-09-15 09:39:19 +00:00
Hauke Mehrtens
1268e064aa brcm47xx: detect Asus RT-N10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37989
2013-09-14 16:19:21 +00:00
Hauke Mehrtens
cde1d53625 kernel: b53: use hard coded switch reset gpio on some boards.
The Linksys wrt310n v1 does not have a robo_reset config variable in
nvram, but GPIO Pin 8 is the pin needed for resetting the external
switch, Linksys hard coded it into their source code.

Thank you Devastator for testing.

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

SVN-Revision: 37988
2013-09-14 16:17:36 +00:00
Hauke Mehrtens
2da56b4ebc kernel: b53: add soft reset for BCM539x switches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37987
2013-09-14 16:14:02 +00:00
Hauke Mehrtens
3b3d4b6208 brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy address.
Thank you Devastator for testing.

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

SVN-Revision: 37986
2013-09-14 16:10:37 +00:00
Gabor Juhos
ec5ee2f269 generic/3.10: remove unused defines from the rootfs split patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37981
2013-09-14 10:19:10 +00:00