Commit Graph

28566 Commits (e60eb9f019669f82d9df987db44afcdd934432bc)

Author SHA1 Message Date
John Crispin eb4abbaaa2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-26 12:24:55 +00:00
Hauke Mehrtens a51086e1b4 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 21:12:48 +00:00
Hauke Mehrtens 6b1206a158 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 21:02:13 +00:00
Luka Perkov d4b1362062 kernel: add keyboard-imx module
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 10:29:49 +00:00
Florian Fainelli d2f28c39d8 malta: add kernel configuration for 3.12
Boot tested using QEMU

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:48:29 +00:00
Florian Fainelli e14288c632 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:48:20 +00:00
Florian Fainelli 1596af3c54 buildroot: add lz4 initramfs compression option
LZ4 compression is now available with 3.12 kernels offer it as an
option.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:48:10 +00:00
Florian Fainelli a18061e8b9 include: handle LZ4 compression scheme
Kernel 3.12 now offers LZ4 compression which will make initramfs builds
fail because we do not know how to substitute the relevant config
symbols, fix that.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:48:02 +00:00
Florian Fainelli 80c6f0c125 kernel: add some missing 3.12 config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:47:54 +00:00
Florian Fainelli f8616ce0ca kernel: make kmod-pcnet32 depend on kmod-mii
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:47:45 +00:00
Florian Fainelli 19121c76f9 kernel: add mii library kernel module package
This package is required for network drivers such as pcnet32

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:47:32 +00:00
John Crispin 18c8dafa90 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24 14:27:03 +00:00
Imre Kaloz bdc2e67191 [generic:] preliminary 3.12 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24 13:50:11 +00:00
Florian Fainelli bf6998b89d buildroot: split Kernel config options to Config-kernel.in
The number of Linux kernel related config options has become quite big
over the past few months, they deserve their own Config-kernel.in file.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24 00:28:33 +00:00
Florian Fainelli e363ec8000 kernel: make swconfig checkpath compliant
Fix the warnings and errors reported by checkpatch on swconfig.c

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24 00:25:52 +00:00
Luka Perkov 0c88cd7f3e imx6: ventana boards use kmod-sky2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 23:12:59 +00:00
Luka Perkov 95066ab6d0 imx6: use more descriptive function name
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:55:00 +00:00
Luka Perkov db0de378d8 imx6: use more common name for ubi(fs) images
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:54:59 +00:00
Luka Perkov 767ada353b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:26:54 +00:00
Luka Perkov af87bdd27d imx6: add support for building uImage
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:12 +00:00
Luka Perkov d2e4a93ce8 Config.in: add more options when it comes to including kernel image into rootfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:10 +00:00
Luka Perkov eb680c576e build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:09 +00:00
Luka Perkov ddb0a0a7e2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:08 +00:00
Luka Perkov 0d53cb263f imx6: enable cpufreq
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:07 +00:00
Luka Perkov 4e006137fb imx6: enable i2c-dev
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:06 +00:00
Luka Perkov 5d3b0b1272 imx6: remove obsolete files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:05 +00:00
Luka Perkov 0189f77517 imx6: pcie driver fixups
Add upstream patches needed for PCIe through a switch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:03 +00:00
Luka Perkov fbfc176115 imx6: fix symlink of dtb files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 20:21:27 +00:00
Gabor Juhos 31639e70b8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 15:43:26 +00:00
Gabor Juhos 3080df79e7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 15:43:19 +00:00
Gabor Juhos e97136cc89 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 15:43:13 +00:00
Gabor Juhos 56e1cd4a8e kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 12:51:05 +00:00
Steven Barth 4805656f76 odhcp6c: filter similar RAs spammed by some ISPs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 10:31:06 +00:00
Steven Barth a413fcd1bf firewall: Improve ubus support
* Use network.interface dump call instead of individual status calls
  to reduce overall netifd lookups and invokes to 1 per fw3 process.

* Allow protocol handlers to assign a firewall zone for an interface
  in the data section to allow for dynamic firewall zone assignment.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 10:25:26 +00:00
Steven Barth 7002de6567 odhcpd: fix cleaning of configuration on reload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 09:30:28 +00:00
Hauke Mehrtens 1af9091146 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-22 21:01:35 +00:00
Gabor Juhos d6b9704bb0 x86/generic: remove 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-22 19:00:25 +00:00
Gabor Juhos 3eedc3f5eb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-22 19:00:22 +00:00
Gabor Juhos ec7b159c56 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-22 19:00:20 +00:00
Gabor Juhos 6050cd75ca 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-22 19:00:19 +00:00
Luka Perkov f9ed872066 imx6: make symlinks for dtb's
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-22 17:13:18 +00:00
Steven Barth ddd9ba8547 6relayd: reduce fallout of RA spamming a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-21 10:26:57 +00:00
Luka Perkov f842bfd48f [tools] gmp: update to 5.1.3
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-21 09:53:19 +00:00
Felix Fietkau 91582107c7 ath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 17:51:17 +00:00
Gabor Juhos c0257defa8 mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)
RSPRO has 16MiB of Flash, using the following layout:

[    2.930000] 0x000000000000-0x000000030000 : "RedBoot"
[    2.940000] 0x000000030000-0x000000130000 : "kernel"
[    2.950000] 0x000000130000-0x000000ff0000 : "rootfs"
[    2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory"
[    2.970000] 0x000000fff000-0x000001000000 : "RedBoot config"

Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 -
0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS
partitions and leave an extra 0xC0000 (768KiB) of space.

This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 15:59:08 +00:00
Gabor Juhos 3d01e720ff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 15:59:05 +00:00
Gabor Juhos 5e0fa86ef1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 15:59:04 +00:00
Felix Fietkau 12e67a1bef libubox: update to latest version, fixes ustream reuse and a few other minor issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-19 16:24:38 +00:00
Steven Barth 2406418273 netifd: Fix ifupdate events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-19 11:01:25 +00:00
Luka Perkov 66f724f3ad [tools] cmake: upgrade to 2.8.12
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 23:38:26 +00:00