Commit Graph

11388 Commits (dc7be3f64c1d858780953b64128b8f857f8b30d1)

Author SHA1 Message Date
John Crispin 6f085ea93a lantiq: add v3.9 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 18:16:56 +00:00
John Crispin 1b8ff1a334 lantiq: Add support for loading athxk eeproms through mtd
This patch enables retrieving the wifi calibration data from an MTD partition.
Try to copy mac address from ethernet before generating a random one.
This fixes DGN3500 ath9k support.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:46 +00:00
John Crispin 858714fd06 lantiq: fix kernel config for DEU support
Trying to load the DEU modules results in unresolved symbols. This
provides them. This requires the previous patch to be applied first.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:37 +00:00
John Crispin baa114b59c lantiq: make xrx200 network driver use a tasklet for rx housekeeping
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:28 +00:00
John Crispin 42f6edb43c lantiq: remove 3.7 kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:18 +00:00
John Crispin e9e6f6e105 ramips: unbreak initramfs generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 08:41:03 +00:00
Florian Fainelli 1bd081cf6f targets: fix remaining targets for initramfs builds
Fix some bugs that slipped through while making initramfs non exclusive.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 22:56:34 +00:00
Felix Fietkau 875f0ec22a kernel: add global menuconfig option to enable kexec support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:20 +00:00
Felix Fietkau 45af63871e orion: disable normal router support for the harddisk subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:06 +00:00
Felix Fietkau ef26ab5715 orion: disable CONFIG_VM_EVENT_COUNTERS by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:02 +00:00
Felix Fietkau 74e55be83a orion: dynamically generate /etc/config/network, the LaCie 2big Network does not use DSA
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:37 +00:00
Felix Fietkau 4e9fb88844 orion: add support for the lacie 2big network device
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:26:29 +00:00
John Crispin 02af80c004 ramips: fix ethernet driver
make sure the driver does not crash under load

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:22:11 +00:00
Florian Fainelli 704e2ed39d targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 19:58:31 +00:00
John Crispin d8836e5aeb ramips: fix rt2x00 ethernet compile bug
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 16:45:40 +00:00
John Crispin 32c2e13ec7 ramips: add missing symbols to rt288x config
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 16:45:26 +00:00
John Crispin 9de0254dbf ramips: fix ethernet stability issue introduced by recent kernel upgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 16:28:06 +00:00
Zoltan HERPAI ca9e1e031d imx23: add new target for i.MX233-based boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 10:12:03 +00:00
Zoltan HERPAI 566478a7ec kernel/generic: add missing regulator symbols for 3.9
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-26 21:48:17 +00:00
Jonas Gorski c2b401b3f8 bcm63xx: fix DSL-274xB F1 default network config
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 20:35:54 +00:00
John Crispin 6d4d47f265 ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.

Signed-off-by: Felix Kaechele <felix@fetzig.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 12:39:28 +00:00
John Crispin a6bc96ccd5 ramips: make rt3883 usb work properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 12:06:56 +00:00
John Crispin 24fb5b0214 ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 11:09:50 +00:00
John Crispin 5f6caa26e5 ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-23 15:50:49 +00:00
Felix Fietkau 81e16ac101 kernel: fix a reference counting bug in overlayfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 14:00:12 +00:00
John Crispin d2642de749 lantiq: Tune the XWAY subtarget cflags
This patch sets the cflags -mtune=34kc -mdsp only in XWAY subtarget, while the others remain with mtune=mips32r2.
Although the Danube has a Mips 24KEc core performs well with the above cflags.

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:15 +00:00
John Crispin 1c19298315 lantiq: set mips16 support.
Set mips16 support in XWAY subtarget.

This patch is based in changeset #36600

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:07 +00:00
John Crispin 94d75044c4 lantiq: Fix ARV7518 DTS definitions
Fix EBU leds by removing req2 and gnt2 from pinmux.
Fix rfkill button gpio.
Enable reset button.
Fix power led activation status.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:03 +00:00
John Crispin 623e6025a8 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:47 +00:00
John Crispin 02f1075b0a base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:43 +00:00
John Crispin d88dd83d90 brcm47xx: dont manually insmod switch drivers
Signed-off-by: John Crispin <bloic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:15 +00:00
John Crispin ce0ccca1f7 ar71xx: drop procd_init console hack
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:11 +00:00
Imre Kaloz d20937ac5b [ppc40x]: increase kernel partition size to fix boot issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 10:57:05 +00:00
Florian Fainelli 6fe1c0b459 brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20 18:47:36 +00:00
Felix Fietkau 79d96c9361 linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 22:23:38 +00:00
Florian Fainelli fcf2609605 brcm63xx: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:54:28 +00:00
Florian Fainelli 4c0b484f86 brcm63xx: provide a default sane MAC address for Cable Modem devices
Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:54:24 +00:00
Florian Fainelli 23a7a4a036 brcm63xx: create initramfs HCS images
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 22:57:04 +00:00
Florian Fainelli 9e3b17277e brcm63xx: simplify HCS image creation
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:56 +00:00
Florian Fainelli 447128f9cf brcm63xx: remove support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:47 +00:00
Florian Fainelli feaa92e91c brcm63xx: switch to 3.9 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:42 +00:00
Florian Fainelli 7884e6e60e brcm63xx: fix missing antislash in BCM6345 ethernet patch
This would cause build failure when disabling support for particular
CPUs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:35 +00:00
Felix Fietkau ed11b6185b kirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-15 11:50:50 +00:00
Hauke Mehrtens 1f3599ecc4 brcm47xx: run make kernel_oldconfig for 3.9 kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:51:50 +00:00
Hauke Mehrtens 639a356c06 brcm47xx: remove support for kernel 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:48:45 +00:00
Hauke Mehrtens 7a79a9e8f6 brcm47xx: add initial support for kernel 3.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:47:53 +00:00
Steven Barth ae2609531f linux: add ipv6 failed-policy routing action (by Jonas Gorski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 09:27:53 +00:00
John Crispin 6c95162c34 lantiq: Fixes to athxk EEPROM loading
Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:12 +00:00
John Crispin 46a5493d48 lantiq: make kernel_oldconfig
Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:07 +00:00
John Crispin 80ecbd5197 lantiq: diag.sh with both red and green power LEDs
This provides a boot LED sequence suitable for devices with both red and
green LEDs for power. This assumes no "default-on" settings in the
device tree.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:02 +00:00