openwrt.git
10 years agoimx6: add network defaults for GW5400-A
luka [Fri, 13 Sep 2013 21:50:35 +0000 (21:50 +0000)]
imx6: add network defaults for GW5400-A

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37979 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add missing config option
hauke [Fri, 13 Sep 2013 20:39:23 +0000 (20:39 +0000)]
kernel: add missing config option

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37978 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: board detection, GPIO for Linksys E1000 V2.1
hauke [Fri, 13 Sep 2013 19:24:08 +0000 (19:24 +0000)]
brcm47xx: board detection, GPIO for Linksys E1000 V2.1

This patch adds board detection for the Linksys E1000 V2.1 router, as well
as GPIO support for same.

This fixes bug #14135. Currently, wired networking isn't working on the
router, and I haven't tried the wireless, but with this patch, OpenWRT
successfully boots, and all the LEDs and buttons work properly.

Signed-off-by: Zachary Catlin <zcatlin@indiana.edu>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37977 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: refresh patches
juhosg [Fri, 13 Sep 2013 17:29:16 +0000 (17:29 +0000)]
ar71xx: refresh patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37976 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric/3.10: refresh patches
juhosg [Fri, 13 Sep 2013 17:29:14 +0000 (17:29 +0000)]
generic/3.10: refresh patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37975 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric/3.10: rename mtd patches
juhosg [Fri, 13 Sep 2013 17:24:25 +0000 (17:24 +0000)]
generic/3.10: rename mtd patches

  - change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37974 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: remove 3.8 support
juhosg [Fri, 13 Sep 2013 16:39:36 +0000 (16:39 +0000)]
cns21xx: remove 3.8 support

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37973 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: switch to 3.10
juhosg [Fri, 13 Sep 2013 16:39:34 +0000 (16:39 +0000)]
cns21xx: switch to 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37972 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: add support for 3.10
juhosg [Fri, 13 Sep 2013 16:39:33 +0000 (16:39 +0000)]
cns21xx: add support for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37971 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys device
hauke [Fri, 13 Sep 2013 16:00:52 +0000 (16:00 +0000)]
brcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys device

Most of the Linksys devices without an own GPIO configuration where
detected as WRT54G. On one board this made OpenWrt to boot into
failsafe every time, because one GPIO configurated as button was not a
button.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37970 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: detect WRT310NV1
hauke [Fri, 13 Sep 2013 15:56:35 +0000 (15:56 +0000)]
brcm47xx: detect WRT310NV1

Thanks Devastator for testing

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37969 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: make cns21xx-ehci a separate driver
juhosg [Fri, 13 Sep 2013 15:38:42 +0000 (15:38 +0000)]
cns21xx: make cns21xx-ehci a separate driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37968 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: disable legacy PTY devices
juhosg [Fri, 13 Sep 2013 15:38:41 +0000 (15:38 +0000)]
cns21xx: disable legacy PTY devices

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37967 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: fix broken case statement in led defaults file
juhosg [Fri, 13 Sep 2013 15:38:40 +0000 (15:38 +0000)]
cns21xx: fix broken case statement in led defaults file

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37966 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocns21xx: enable XZ_DEC_ARM and XZ_DEC_BCJ kernel options
juhosg [Fri, 13 Sep 2013 15:38:39 +0000 (15:38 +0000)]
cns21xx: enable XZ_DEC_ARM and XZ_DEC_BCJ kernel options

Squashfs is unable to decompress some blocks without that:

  [    0.970000] SQUASHFS error: xz_dec_run error, data probably corrupt
  [    0.980000] SQUASHFS error: squashfs_read_data failed to read block 0x29a72
  [    0.990000] SQUASHFS error: Unable to read fragment cache entry [29a72]
  [    1.000000] SQUASHFS error: Unable to read page, block 29a72, size 14c50
  [    1.010000] SQUASHFS error: Unable to read fragment cache entry [29a72]
  [    1.020000] SQUASHFS error: Unable to read page, block 29a72, size 14c50
  [    1.260000] SQUASHFS error: xz_dec_run error, data probably corrupt

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37965 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add support for TL-MR3040 v2
juhosg [Fri, 13 Sep 2013 15:28:50 +0000 (15:28 +0000)]
ar71xx: add support for TL-MR3040 v2

This patch adds support for building firmware images for the
TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37964 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add wireless bgn led support for dir-825-c1
juhosg [Fri, 13 Sep 2013 15:01:40 +0000 (15:01 +0000)]
ar71xx: add wireless bgn led support for dir-825-c1

I checked the GPL code drop from D-Link and tried to get the wireless
and LAN switch LEDs to light up. I found some references in
AthSDK/www/DIR-825_C1/bsp.h as well as
AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I
only got the led for 2.4GHz to work. Anyway, here's the patch.

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@37963 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouhttpd: udpat to git head
jow [Fri, 13 Sep 2013 13:24:45 +0000 (13:24 +0000)]
uhttpd: udpat to git head

- fixes buffer corruption with JSON-RPC list calls
- change JSON-RPC protocol to include the session ID into the call
  attributes instead of passing it via the URL
- forcibly pass effective session ID as "ubus_rpc_session" attribute
  to called procedures
- change ubus acl checking to conform with new ubus session namespace

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37962 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agorpcd: update to git head
jow [Fri, 13 Sep 2013 13:24:32 +0000 (13:24 +0000)]
rpcd: update to git head

- recalculate session ACLs on reload
- support negative access group expressions in /etc/config/rpcd
- prevent destryoing the default session
- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37961 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: gsc depends on kmod-i2c-core
luka [Thu, 12 Sep 2013 23:38:54 +0000 (23:38 +0000)]
kernel: gsc depends on kmod-i2c-core

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37960 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: remove support for kernel 3.8
hauke [Thu, 12 Sep 2013 22:07:12 +0000 (22:07 +0000)]
brcm47xx: remove support for kernel 3.8

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37959 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: add default config for new kernel config option
hauke [Thu, 12 Sep 2013 22:04:55 +0000 (22:04 +0000)]
brcm47xx: add default config for new kernel config option

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37958 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: update bcma and ssb to wireless-testing master-2013-09-09
hauke [Thu, 12 Sep 2013 22:03:45 +0000 (22:03 +0000)]
kernel: update bcma and ssb to wireless-testing master-2013-09-09

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37957 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add support for ESMT F25L32PA with upstream submission
luka [Thu, 12 Sep 2013 14:38:48 +0000 (14:38 +0000)]
kernel: add support for ESMT F25L32PA with upstream submission

Signed-off-by: Flavio Silveira <fggs@terra.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37956 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: Timing workaround for buggy servers
cyrus [Thu, 12 Sep 2013 12:57:42 +0000 (12:57 +0000)]
odhcp6c: Timing workaround for buggy servers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37951 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: fix imx sata module
luka [Wed, 11 Sep 2013 22:08:46 +0000 (22:08 +0000)]
kernel: fix imx sata module

The imx sata module has only been backported to imx6 target. This change will
fix buildbot errors due to missing patches in other targets. Keep this until
all targets use kernel version with imx sata support in them.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37950 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: align the skb padding to power of two
nbd [Wed, 11 Sep 2013 14:30:15 +0000 (14:30 +0000)]
kernel: align the skb padding to power of two

The skb is usually started by a padding which allows the protocols in the
network stack to add their headers in front of the payload. The skb can be
reallocated in case the preallocated padding is not large enough. This can for
example happen in the function __skb_cow which will check the requested extra
headroom and allocate more buffer when the requested headroom is bigger than
the available one. The extra buffer is aligned again to the multiple of the
NET_SKB_PAD of the target architecture.

The macro used to create the multiple of the NET_SKB_PAD is written in a way
which allows only values power two as alignment parameter. The currently used
value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The
extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80,
128, 144 and so on. The generated values are also not monotonic (48 requested
bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64
allocated bytes).

These unexpected small values result in more reallocations of the buffer. This
was noticed prominently during tests between two QCA9558 720 MHz devices which
were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each
other. The throughput PC-to-PC during iperf TCP runs increased reliable from
186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s
in the other direction. This is a performance increase of ~14% just by reducing
the amount of reallocations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37948 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotoolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
nbd [Wed, 11 Sep 2013 14:29:44 +0000 (14:29 +0000)]
toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37947 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotoolchain/gcc: fix up breakage introduced in r37945
nbd [Wed, 11 Sep 2013 14:28:21 +0000 (14:28 +0000)]
toolchain/gcc: fix up breakage introduced in r37945

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37946 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08
kaloz [Wed, 11 Sep 2013 13:19:43 +0000 (13:19 +0000)]
[toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37945 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06
kaloz [Wed, 11 Sep 2013 13:18:23 +0000 (13:18 +0000)]
[toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37944 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[toolchain/gdb]: upgrade to 7.6-2013.05
kaloz [Wed, 11 Sep 2013 13:16:13 +0000 (13:16 +0000)]
[toolchain/gdb]: upgrade to 7.6-2013.05

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37943 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: fix broken depends syntax introduced in r37933
florian [Wed, 11 Sep 2013 12:45:24 +0000 (12:45 +0000)]
kernel: fix broken depends syntax introduced in r37933

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37942 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agorpcd: update to git head
jow [Wed, 11 Sep 2013 12:13:33 +0000 (12:13 +0000)]
rpcd: update to git head

- introduces persistent null session to allow access to procedures without login
- implements session.login procedure to support user logins via json-rpc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37941 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: Fix FIQ code on VIVT CPUs (#14145)
florian [Wed, 11 Sep 2013 12:08:44 +0000 (12:08 +0000)]
kernel: Fix FIQ code on VIVT CPUs (#14145)

Backport an upstream patch to fix FIQ code on VIVT CPUs

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37940 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotoolchain: refresh uClibc patches
florian [Wed, 11 Sep 2013 12:08:37 +0000 (12:08 +0000)]
toolchain: refresh uClibc patches

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37939 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotoolchain: define MUSL dynamic linker for SPARC
florian [Wed, 11 Sep 2013 12:08:27 +0000 (12:08 +0000)]
toolchain: define MUSL dynamic linker for SPARC

SPARC builds are currently broken because we do not define the MUSL
dynamic linker name, fix that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37938 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add imx sata module
luka [Tue, 10 Sep 2013 22:26:37 +0000 (22:26 +0000)]
kernel: add imx sata module

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37937 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: backport ahci support
luka [Tue, 10 Sep 2013 22:26:36 +0000 (22:26 +0000)]
imx6: backport ahci support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37936 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add i2c retry on NAK
luka [Tue, 10 Sep 2013 22:26:34 +0000 (22:26 +0000)]
imx6: add i2c retry on NAK

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37935 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add gpio sysfs support
luka [Tue, 10 Sep 2013 22:26:33 +0000 (22:26 +0000)]
imx6: add gpio sysfs support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37934 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: allow hwmon GSC driver for all targets
luka [Tue, 10 Sep 2013 22:26:30 +0000 (22:26 +0000)]
kernel: allow hwmon GSC driver for all targets

- enable using hwmon GSC driver on all targets
- add a kmod package for it

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37933 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobuild: enable MIPS16 again, but make it depend on !gcc-4.6
nbd [Tue, 10 Sep 2013 14:40:06 +0000 (14:40 +0000)]
build: enable MIPS16 again, but make it depend on !gcc-4.6

gcc 4.6 miscompiles hostapd with mips16, on gcc 4.8 it works

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37932 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: fix arch-dependent bug in hso module
nbd [Tue, 10 Sep 2013 13:47:44 +0000 (13:47 +0000)]
kernel: fix arch-dependent bug in hso module

Currently, the module causes an oops at least on rt5350. These patches
have been accepted upstream at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37931 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoRevert "build: enable MIPS16 by default if available"
nbd [Tue, 10 Sep 2013 12:33:21 +0000 (12:33 +0000)]
Revert "build: enable MIPS16 by default if available"

This reverts commit r37926.
It seems to trigger some weird issues in hostapd that should be
investigated first

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37928 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoopenssl: add parallel build support
nbd [Tue, 10 Sep 2013 12:09:13 +0000 (12:09 +0000)]
openssl: add parallel build support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37927 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobuild: enable MIPS16 by default if available
nbd [Tue, 10 Sep 2013 12:09:07 +0000 (12:09 +0000)]
build: enable MIPS16 by default if available

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37926 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: update to latest version, adds udevtrigger improvements by juhosg
nbd [Tue, 10 Sep 2013 11:32:07 +0000 (11:32 +0000)]
procd: update to latest version, adds udevtrigger improvements by juhosg

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37925 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotoolchain/gcc: remove 4.6.3, it is unused and unmaintained
nbd [Tue, 10 Sep 2013 10:30:41 +0000 (10:30 +0000)]
toolchain/gcc: remove 4.6.3, it is unused and unmaintained

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37924 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agort2x00: merge an rt2800 initialization order fix
nbd [Mon, 9 Sep 2013 17:31:53 +0000 (17:31 +0000)]
rt2x00: merge an rt2800 initialization order fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37922 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agorpcd: update to git head
jow [Mon, 9 Sep 2013 14:35:15 +0000 (14:35 +0000)]
rpcd: update to git head

- adds support for service triggering on config commit
- adds uci transaction support
- adds daemon reload support without loosing session data
- exports headers for use by external plugins
- drops LuCI2 in favor to an out of tree plugin

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37921 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: clean up some patches
nbd [Sun, 8 Sep 2013 09:38:38 +0000 (09:38 +0000)]
ath9k: clean up some patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37919 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: merge a big batch of upstream changes/improvements
nbd [Sun, 8 Sep 2013 09:38:32 +0000 (09:38 +0000)]
mac80211: merge a big batch of upstream changes/improvements

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37918 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotools/cmake: disable qt related checks to fix build issues
nbd [Sat, 7 Sep 2013 18:33:07 +0000 (18:33 +0000)]
tools/cmake: disable qt related checks to fix build issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37917 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: add me as maintainer
hauke [Sat, 7 Sep 2013 15:46:27 +0000 (15:46 +0000)]
brcm47xx: add me as maintainer

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37916 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: use the lzma loader for the WRT160NL
juhosg [Sat, 7 Sep 2013 11:40:45 +0000 (11:40 +0000)]
ar71xx: use the lzma loader for the WRT160NL

Partition layout before:
  0x000000040000-0x0000001a0000 : "kernel"
  0x0000001a0000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000
  0x000000350000-0x0000007e0000 : "rootfs_data"

after:
  0x000000040000-0x000000140000 : "kernel"
  0x000000140000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000
  0x0000002f0000-0x0000007e0000 : "rootfs_data"

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37915 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoppc40x: remove 3.8 support
juhosg [Sat, 7 Sep 2013 11:34:08 +0000 (11:34 +0000)]
ppc40x: remove 3.8 support

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37914 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoppc40x: switch to 3.10
juhosg [Sat, 7 Sep 2013 11:34:06 +0000 (11:34 +0000)]
ppc40x: switch to 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37913 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoppc40x: add support for 3.10
juhosg [Sat, 7 Sep 2013 11:34:03 +0000 (11:34 +0000)]
ppc40x: add support for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37912 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: drop linux 3.9 support
jogo [Fri, 6 Sep 2013 19:01:17 +0000 (19:01 +0000)]
brcm63xx: drop linux 3.9 support

It is EOL since quite a while, so no need to keep it around.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37911 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: switch to linux 3.10
jogo [Fri, 6 Sep 2013 19:01:13 +0000 (19:01 +0000)]
brcm63xx: switch to linux 3.10

3.10 is stable enough, and 3.9 is EOL since a while.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37910 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: more compatibility fixes
cyrus [Thu, 5 Sep 2013 21:13:51 +0000 (21:13 +0000)]
odhcp6c: more compatibility fixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37907 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: b53: support phy ids for BCM5365
jogo [Thu, 5 Sep 2013 20:30:34 +0000 (20:30 +0000)]
kernel: b53: support phy ids for BCM5365

BCM5365 (and probably other older variants) use a different phy id, so
the phy driver never attached for them.
Fix this by adding the appropriate phy id to the fixup and the phy
driver.

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37906 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: kmod-rtl_pci: fix dependencies
hauke [Thu, 5 Sep 2013 20:17:28 +0000 (20:17 +0000)]
mac80211: kmod-rtl_pci: fix dependencies

This fixes the following error:
rtl_pci: Unknown symbol rtl_lps_leave (err 0)
rtl_pci: Unknown symbol rtl_lps_enter (err 0)
rtl8192ce: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192ce: Unknown symbol rtl_pci_probe (err 0)
rtl8192de: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192de: Unknown symbol rtl_pci_probe (err 0)
rtl8192se: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192se: Unknown symbol rtl_pci_probe (err 0)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37905 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: kmod-libphy, kmod-tg3: fix load order
hauke [Thu, 5 Sep 2013 19:57:44 +0000 (19:57 +0000)]
kernel: kmod-libphy, kmod-tg3: fix load order

This fixes the following error:
tg3: Unknown symbol mdiobus_alloc_size (err 0)
tg3: Unknown symbol phy_ethtool_sset (err 0)
tg3: Unknown symbol phy_mii_ioctl (err 0)
tg3: Unknown symbol phy_connect (err 0)
tg3: Unknown symbol mdiobus_register (err 0)
tg3: Unknown symbol mdiobus_free (err 0)
tg3: Unknown symbol phy_start (err 0)
tg3: Unknown symbol phy_start_aneg (err 0)
tg3: Unknown symbol mdiobus_unregister (err 0)
tg3: Unknown symbol phy_ethtool_gset (err 0)
tg3: Unknown symbol phy_stop (err 0)
tg3: Unknown symbol phy_disconnect (err 0)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37904 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: kmod-ssb, kmod-b44: fix load order
hauke [Thu, 5 Sep 2013 19:56:04 +0000 (19:56 +0000)]
kernel: kmod-ssb, kmod-b44: fix load order

This fixes the following error:
b44: Unknown symbol ssb_device_is_enabled (err 0)
b44: Unknown symbol ssb_pcicore_dev_irqvecs_enable (err 0)
b44: Unknown symbol ssb_bus_may_powerdown (err 0)
b44: Unknown symbol ssb_pcihost_register (err 0)
b44: Unknown symbol ssb_device_disable (err 0)
b44: Unknown symbol ssb_device_enable (err 0)
b44: Unknown symbol ssb_driver_unregister (err 0)
b44: Unknown symbol __ssb_driver_register (err 0)
b44: Unknown symbol ssb_bus_powerup (err 0)
b44: Unknown symbol ssb_clockspeed (err 0)
b44: Unknown symbol ssb_dma_translation (err 0)

Reported-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37903 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: kmod-firewire: fix dependencies
hauke [Thu, 5 Sep 2013 19:53:21 +0000 (19:53 +0000)]
kernel: kmod-firewire: fix dependencies

This fixes the following error:
firewire_core: Unknown symbol crc_itu_t (err 0)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37902 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: do not download carl9170 firmware separately, but use the one from linux...
hauke [Thu, 5 Sep 2013 19:43:38 +0000 (19:43 +0000)]
mac80211: do not download carl9170 firmware separately, but use the one from linux-firemware

linux-firemware contains the same version we loaded without this patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37901 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: kmod-fs-xfs: fix dependencies
hauke [Thu, 5 Sep 2013 19:41:00 +0000 (19:41 +0000)]
kernel: kmod-fs-xfs: fix dependencies

This fixes the following error:
xfs: Unknown symbol exportfs_decode_fh (err 0)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37900 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: kmod-usb-serial-keyspan: fix dependencies
hauke [Thu, 5 Sep 2013 19:39:55 +0000 (19:39 +0000)]
kernel: kmod-usb-serial-keyspan: fix dependencies

This fixes the following error:
keyspan: Unknown symbol ezusb_fx1_ihex_firmware_download (err 0)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37899 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath10k: enable Atheros 802.11ac driver
hauke [Thu, 5 Sep 2013 19:35:14 +0000 (19:35 +0000)]
ath10k: enable Atheros 802.11ac driver

This enables usage of the ath10k driver on OpenWrt. Only 2.0 PCI hardware
is supported. The ath10k firmware is currently only available
through github so use that as its source for now.

This goes build tested, not run time tested.

[Hauke: I did some minor changes]

Cc: ath10k@lists.infradead.org
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: Kathy Giori <kgiori@qca.qualcomm.com>
Cc: Mathieu Olivari <mathieu@qca.qualcomm.com>
Cc: Jerome Proffit <jproffit@qca.qualcomm.com>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: Matthew McClintock <mmcclint@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37898 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoAdd missing symbol
kaloz [Thu, 5 Sep 2013 10:08:59 +0000 (10:08 +0000)]
Add missing symbol

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37897 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: b53: allow access the MIB counters on BCM5365
hauke [Wed, 4 Sep 2013 16:15:10 +0000 (16:15 +0000)]
kernel: b53: allow access the MIB counters on BCM5365

b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37895 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] kobs-ng: add new package
luka [Tue, 3 Sep 2013 23:22:16 +0000 (23:22 +0000)]
[package] kobs-ng: add new package

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37894 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agousbreset: rewrite to not rely on /proc/bus/usb anymore
jow [Tue, 3 Sep 2013 15:46:39 +0000 (15:46 +0000)]
usbreset: rewrite to not rely on /proc/bus/usb anymore

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37893 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix NetGear initramfs image names
juhosg [Tue, 3 Sep 2013 07:22:27 +0000 (07:22 +0000)]
ar71xx: fix NetGear initramfs image names

The '-initramfs' string is duplicated in the image names,
fix it.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37892 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoFix IPv6 NAT breaking older kernels
cyrus [Tue, 3 Sep 2013 06:29:46 +0000 (06:29 +0000)]
Fix IPv6 NAT breaking older kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37891 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: update 3.10 to 3.10.10
juhosg [Mon, 2 Sep 2013 19:12:54 +0000 (19:12 +0000)]
kernel: update 3.10 to 3.10.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37890 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: reorder Image/Build/* macros
juhosg [Mon, 2 Sep 2013 19:05:58 +0000 (19:05 +0000)]
ar71xx: image: reorder Image/Build/*  macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37889 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: simplify more oneliner macros
juhosg [Mon, 2 Sep 2013 19:05:57 +0000 (19:05 +0000)]
ar71xx: image: simplify more oneliner macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37888 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: simplify oneliner loader macros
juhosg [Mon, 2 Sep 2013 19:05:56 +0000 (19:05 +0000)]
ar71xx: image: simplify oneliner loader macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37887 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: simplify oneliner initramfs macros
juhosg [Mon, 2 Sep 2013 19:05:55 +0000 (19:05 +0000)]
ar71xx: image: simplify oneliner initramfs macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37886 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: simplify oneliner buildkernel macros
juhosg [Mon, 2 Sep 2013 19:05:54 +0000 (19:05 +0000)]
ar71xx: image: simplify oneliner buildkernel macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37885 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoscripts/feeds: ensure that --ff is enabled
florian [Mon, 2 Sep 2013 18:25:10 +0000 (18:25 +0000)]
scripts/feeds: ensure that --ff is enabled

Users may have merge.ff set to false, which will force merge commits to
be generated.  The intent here is to have a fast-forward merge when
possible, so let's make sure fast-forwards are enabled.

Signed-off-by: John Szakmeister <john@szakmeister.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37884 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobuild scripts: fix 'make defconfig' damage
florian [Mon, 2 Sep 2013 18:25:06 +0000 (18:25 +0000)]
build scripts: fix 'make defconfig' damage

Looking at the target 'defconfig' in include/toplevel, it doesn't
directly reference $(HOME)/.openwrt/defconfig nor does it reference any
prerequisites using it as a target.

Therefore, building "defconfig" as a target uses the defaults in the
tree, but not the defaults that a user might have explicitly specified.

This patch fixes this regression from r36361.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
[florian: apply with the proper patch level, wrap at 80 columns]
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37883 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomcs814x: dlan-usb-extender: fix usbdev trigger
florian [Mon, 2 Sep 2013 18:25:01 +0000 (18:25 +0000)]
mcs814x: dlan-usb-extender: fix usbdev trigger

Every device I connect to the USB port is detected as 2-1, not 1-1.
So adjust the default setting accordingly.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37882 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: optimize kernel generation
juhosg [Mon, 2 Sep 2013 18:03:39 +0000 (18:03 +0000)]
ar71xx: optimize kernel generation

When the squashfs and jffs2 images are generated
in the same turn, the compressed kernel images
are generated twice with the same parameters.

Move compressed kernel generation into a separate
phase to avoid that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37881 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: remove linux version checks from myloader.c
juhosg [Mon, 2 Sep 2013 16:33:13 +0000 (16:33 +0000)]
generic: remove linux version checks from myloader.c

The myloader partition parser code uses ifdef wrappers
to make the code usable on kernels below version 3.2.
All targets are using kernel 3.3 at least so the wraper
is not needed. Remove that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37880 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: dynamically generate Image/Build/Template/* macros
juhosg [Mon, 2 Sep 2013 16:10:44 +0000 (16:10 +0000)]
ar71xx: image: dynamically generate Image/Build/Template/* macros

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37879 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2
juhosg [Mon, 2 Sep 2013 16:09:12 +0000 (16:09 +0000)]
ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2

It also fixes USB Power on MR3420v2.

This time we took the information from the source of GPL:
http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html
Confirmed and tested:
https://dev.openwrt.org/ticket/13201#comment:41
Thanks to oguretsagressive for testing.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37878 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoAdd rpcd - an extensible backend server for ubus-over-json-rpc operations, session...
jow [Mon, 2 Sep 2013 15:36:51 +0000 (15:36 +0000)]
Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37877 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: remove fs_* variables from image/Makefile
juhosg [Mon, 2 Sep 2013 09:24:59 +0000 (09:24 +0000)]
ar71xx: remove fs_* variables from image/Makefile

Those are not needed since we are generating the
initramfs images along with the others.

Remove the variables and use the template names
directly.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37876 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackage/rotary-gpio-custom: fix checkpatch errors module source
juhosg [Mon, 2 Sep 2013 08:45:32 +0000 (08:45 +0000)]
package/rotary-gpio-custom: fix checkpatch errors module source

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37875 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackage/w1-gpio-custom: fix checkpatch errors in module source
juhosg [Mon, 2 Sep 2013 08:45:31 +0000 (08:45 +0000)]
package/w1-gpio-custom: fix checkpatch errors in module source

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37874 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackage/i2c-gpio-custom: fix checkpatch errors in module source
juhosg [Mon, 2 Sep 2013 08:45:30 +0000 (08:45 +0000)]
package/i2c-gpio-custom: fix checkpatch errors in module source

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37873 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackage/kernel: add spi-gpio-custom module
juhosg [Mon, 2 Sep 2013 08:45:29 +0000 (08:45 +0000)]
package/kernel: add spi-gpio-custom module

The package makes it possible to create custom SPI
buses via GPIO lines.

This module is based on i2c-gpio-custom and allows to
configure an SPI bus via GPIO lines and expose it to
userspace without rebuilding the kernel. This is maily
intended to connect microcontrollers and other simple
SPI devices without making an ad-hoc kernel driver.

Signed-off-by: Marco Burato <zmaster.adsl@gmail.com>
[juhosg:
  - change subject,
  - extend and reformat commit message,
  - cleanup checkpatch errors/warnings in module source]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37872 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix initramfs image generation for Cameo933x profiles
juhosg [Mon, 2 Sep 2013 07:42:03 +0000 (07:42 +0000)]
ar71xx: fix initramfs image generation for Cameo933x profiles

Initramfs images are not generated for profiles which
are using the squashfs-only template. Add the missing
'Image/Build/Template/squashfs-only/initramfs' to fix
that.

Also, 'Image/Build/Cameo933x/initramfs' uses wrong
parameters for 'MkuImageLzma/initramfs' due to a
misplaced commma. Remove that to fix the generated
initramfs images.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37871 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86/alix2: remove kernel config for 3.8
juhosg [Mon, 2 Sep 2013 07:36:46 +0000 (07:36 +0000)]
x86/alix2: remove kernel config for 3.8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37870 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86/alix2: switch to 3.10.9
juhosg [Mon, 2 Sep 2013 07:36:45 +0000 (07:36 +0000)]
x86/alix2: switch to 3.10.9

Taken from the 'alix2: update to LINUX_VERSION 3.10.9'
patch: http://patchwork.openwrt.org/patch/3971/.

Russell says in the original patch:

"Initial whack at updating alix2 to a current kernel. It builds
and runs without problems so far. I copied target/linux/config-3.8,
target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to
their 3.10 equivalents and tweaked until it built.  The patches
required no changes."

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37869 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86/alix2: add kernel config for 3.10
juhosg [Mon, 2 Sep 2013 07:36:44 +0000 (07:36 +0000)]
x86/alix2: add kernel config for 3.10

Taken from the 'alix2: update to LINUX_VERSION 3.10.9'
patch: http://patchwork.openwrt.org/patch/3971/.

Russell says in the original patch:

"Initial whack at updating alix2 to a current kernel. It builds
and runs without problems so far. I copied target/linux/config-3.8,
target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to
their 3.10 equivalents and tweaked until it built.  The patches
required no changes."

The current patch contains additional configuration tweaks.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37868 3c298f89-4303-0410-b956-a3cf2f4a3e73