blogic [Wed, 15 Jan 2014 18:29:03 +0000 (18:29 +0000)]
ramips: rt3883: Fix a typo in rt3883.dtsi
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39297
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Wed, 15 Jan 2014 14:11:36 +0000 (14:11 +0000)]
lantiq: update kernel configuration
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39296
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Wed, 15 Jan 2014 09:28:41 +0000 (09:28 +0000)]
packages: ifenslave: add kernel dependencies as source was removed from 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39295
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Wed, 15 Jan 2014 00:06:08 +0000 (00:06 +0000)]
brcm63xx: fix BCM96318MVWG LEDs
Power LED is not active low, and ppp-fail is red, not green.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39294
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Wed, 15 Jan 2014 00:05:51 +0000 (00:05 +0000)]
brcm63xx: remove config-3.11
This was not supposed to be committed, remove it.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39293
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 23:56:46 +0000 (23:56 +0000)]
brcm63xx: 96368MVWG supports USB gadget, enable it
Enable the use of the USB gadget device at the board level so we can use
bcm63xx_udc on this board.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39292
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 23:56:28 +0000 (23:56 +0000)]
brcm63xx: replace gadget driver build fix with upstream submission
Also fixing a build warning due to a misplaced parenthesis in the
previous submission.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39291
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Tue, 14 Jan 2014 23:11:10 +0000 (23:11 +0000)]
gpio-button-hotplug: add wwan button
The wimax key will be used as a generic wwan key starting with Linux
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time
now.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39290
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Tue, 14 Jan 2014 22:51:30 +0000 (22:51 +0000)]
packages: kernel: reverse kernel dependencies logic
This will select the correct dependencies also for more recent kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39289
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Jan 2014 19:35:55 +0000 (19:35 +0000)]
hostapd: fix mcast_rate setting
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")
Reported-by: René van Weert <r.vanweert@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Tue, 14 Jan 2014 14:09:35 +0000 (14:09 +0000)]
[modules] ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39287
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:24:19 +0000 (05:24 +0000)]
brcm63xx: add support for the BCM96318REF_P300 board
Very similar to the BCM96318REF board except for the name and the
SDRAM/DDR configuration which is totally transparent for us.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39286
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:24:09 +0000 (05:24 +0000)]
busybox: enable the devmem applet
The devmem applet allows poking at HW registers and as such is a
valuable tool to have to avoid recompiling kernels or resorting to
external HW adapters to modify HW behavior.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39285
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:23:58 +0000 (05:23 +0000)]
brcm63xx: enable 6318 support
BCM6318 support is usable enough to be enabled by default, turn it on.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39284
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:23:49 +0000 (05:23 +0000)]
brcm63xx: add basic support for the BCM96318REF board
Add basic support for the BCM96318REF board which is comprised of:
- HS-SPI flash support
- Ethernet switch support
- USB slave device support
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39283
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:23:39 +0000 (05:23 +0000)]
brcm63xx: improve BCM6318 support
Provide clock toggling for the USB host and slave controller as well as
for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use
request_mem_region() as the Roboswitch register overlaps with the
Roboswitch IUDMA channels, hence making the driver return -EBUSY. A
future fix might be to use variable size RSET_ENETSW sizes depending on
the chip we are targetting.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39282
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:23:20 +0000 (05:23 +0000)]
brcm63xx: package the USB gadget module (bcm63xx_udc)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39281
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:23:08 +0000 (05:23 +0000)]
brcm63xx: target supports USB gadget devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39280
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:22:59 +0000 (05:22 +0000)]
brcm63xx: fix USB gadget build failure after 6345 Ethernet
While adding support for BCM6345 Ethernet, some changes in the macros
ENETDMA{C,S} where introduced which now make the bcm63xx USB gadget
driver fail to build. Fix this.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39279
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:22:45 +0000 (05:22 +0000)]
brcm63xx: allow HSSPI registration on 6318
A missing condition check in dev-hsspi.c prevented the controller from
being registered on 6318 where it is fully functional.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39278
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Tue, 14 Jan 2014 05:22:31 +0000 (05:22 +0000)]
brcm63xx: fix build failure on varid
varid might both unused and unitialized when building for e.g: bcm6318,
fix these two warnings turned into errors.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39277
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Mon, 13 Jan 2014 16:18:02 +0000 (16:18 +0000)]
sunxi: fix image generation
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39276
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Mon, 13 Jan 2014 15:47:15 +0000 (15:47 +0000)]
[modules]: fix 3.12 dependencies
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39275
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:21:08 +0000 (12:21 +0000)]
brcm63xx: fix ohci frame number offset
BCM63XX's ohci controller does not need the frame number shift, but that
was guarded with a PPC symbol. Fix this by making the no-fix generally
available.
This is a regression from the previous conversion to ohci platform driver.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39274
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:14:12 +0000 (12:14 +0000)]
brcm63xx: fix spi flash setup on (at least) some reference boards
CFE seems to leave the SPI flash mapping in an invalid state after
loading the kernel on some reference boards, so fix it up on boot.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39273
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:14:02 +0000 (12:14 +0000)]
brcm63xx: add initial support for BCM6318
Add inital support for BCM6318, but keep it disabled for now until
most things are supported.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39272
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:13:51 +0000 (12:13 +0000)]
brcm63xx: add initial support for BCM63268
Add initial support for the BCM63268 family of SoCs, but keep it
disabled for now as most things don't work yet.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39271
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:13:39 +0000 (12:13 +0000)]
brcm63xx: fix the pcie window size
The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big,
not 16 MiB.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39270
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:13:26 +0000 (12:13 +0000)]
brcm63xx: add support for chip variants
Some SoCs have variants which are mostly the same, but use a different
chip id (or not). Add code for detecting them and handling them as
their standard counterparts.
This adds support for e.g. BCM6369.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39269
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:13:15 +0000 (12:13 +0000)]
brcm63xx: remove non runtime detect and refresh affinity patches
Remove the non runtime detect code since its effectiveness is dubious
and almost never used.
Also update affinity patches to work on top of it.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39268
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:13:05 +0000 (12:13 +0000)]
brcm63xx: update bmips patches with upstream submission
Update bmips cleanup patches with upstream submission and backport a few
bmips fixes.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39267
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:12:50 +0000 (12:12 +0000)]
brcm63xx: spi flash on legacy spi controller needs the workaround
Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs
additional fixes for M25P80, so it remains broken for now.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39266
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:11:58 +0000 (12:11 +0000)]
brcm63xx: fix legacy spi tranfers >= 256 bytes
Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes
are not affected.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39265
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Mon, 13 Jan 2014 12:11:45 +0000 (12:11 +0000)]
brcm63xx: update HSSPI driver with upstream submission
Update the HSSPI driver with the upstream submitted one that has a
workaround for the auto cs down issue.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39264
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sun, 12 Jan 2014 19:23:29 +0000 (19:23 +0000)]
sunxi: various changes
- rename hstimer DT on sun5i to avoid confusion
- add Cubietruck support
- select watchdog by default
- select rtc in profiles where appropriate
- cosmetic changes
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39263
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 19:17:49 +0000 (19:17 +0000)]
x86: remove unused code for kernel 3.7
There are no generic patches for kernel 3.7 any more, remove this stuff.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39262
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sun, 12 Jan 2014 19:16:35 +0000 (19:16 +0000)]
[packages] uboot-sunxi: - add support for Cubietruck
- cosmetic change: have the options listed alphabetically
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39261
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 19:15:42 +0000 (19:15 +0000)]
remove empty directories
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39260
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 19:13:30 +0000 (19:13 +0000)]
targets: remove empty directories
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39259
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 19:04:54 +0000 (19:04 +0000)]
brcm47xx: add brcmsmac + bgmac profile
Signed-off-by: Cody P Schafer <devel@codyps.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39258
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:57:16 +0000 (18:57 +0000)]
broadcom-diag: remove devices already supported by the kernel
This driver will soon be removed completely and the scripts are already
using the new API.
This also removes bcm57xx_init() which restarts the switch and is now
done by b53.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39257
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:56:57 +0000 (18:56 +0000)]
brcm47xx: parse model from cpuinfo
Instead of looking into the proc entry provided by broadcom-diag use
the board info from /proc/cpuinfo to get the board we are on.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39256
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:56:36 +0000 (18:56 +0000)]
brcm47xx: fix led indication
Use the new led api also on brcm47xx.
The led for failsafe indication is searched for.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39255
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:56:15 +0000 (18:56 +0000)]
brcm47xx: fix network failsafe indication
Remove the code used on the old switch driver.
The Ethernet drive is loaded as a module and needs some time to get up
therefor we added some wait function.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39254
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:55:52 +0000 (18:55 +0000)]
brcm47xx: do not use broadcom-diag
This makes brcm47xx target use the default gpio led and button driver
and not broadcom-diag any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39253
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:55:25 +0000 (18:55 +0000)]
brcm47xx: add new led and button support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39252
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:54:38 +0000 (18:54 +0000)]
brcm47xx: update some patches to versions in linux mainline
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39251
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:51:45 +0000 (18:51 +0000)]
brcm74xx: fix patch for BCM4706 CPUs
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39250
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 12 Jan 2014 18:50:45 +0000 (18:50 +0000)]
brcm47xx: update mtd drivers
This backports some patches from linux upstream.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39249
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 17:26:24 +0000 (17:26 +0000)]
ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 12 Jan 2014 14:16:18 +0000 (14:16 +0000)]
mpc85xx: preallocate SPI transfer buffer
This helps to avoid high order alloction failures.
Closes #14702.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39247
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 14:07:01 +0000 (14:07 +0000)]
ubox: welcome to 2014
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39246
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 14:03:15 +0000 (14:03 +0000)]
ralink: fix eeprom loading
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39245
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 14:03:10 +0000 (14:03 +0000)]
ubox: update to latest git - fixes error reporting
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39244
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 14:03:05 +0000 (14:03 +0000)]
firmware-utils: mkhilinkfw breaks the build bots
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39243
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:27:32 +0000 (12:27 +0000)]
Fix build for individual profiles with dashes in names
Config symbols can have regular dashes, e.g.
CONFIG_TARGET_ramips_rt305x_UR-336UN=y
So no substitution should be performed on the last part of the symbol.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39242
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:12:58 +0000 (12:12 +0000)]
ralink: fix WHR-600D and WHR-300HP image generation
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39241
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:12:53 +0000 (12:12 +0000)]
ralink: fix WHR-600D pcie support
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39240
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:51 +0000 (12:07 +0000)]
mac80211: enable ralink ap+sta support
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39239
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:46 +0000 (12:07 +0000)]
firmware-utils: add HLK-RM04 tool
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39238
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:40 +0000 (12:07 +0000)]
ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39237
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:34 +0000 (12:07 +0000)]
ralink: switch to askconsole
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39236
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:30 +0000 (12:07 +0000)]
ralink: fix uartf memory range size
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39235
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:26 +0000 (12:07 +0000)]
ralink: honour memory@0 node
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39234
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:20 +0000 (12:07 +0000)]
ralink: fix rt5350 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39233
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:15 +0000 (12:07 +0000)]
netifd: fix mac80211.sh to respect setting of mcast_rate
This patch fixes a bug in /lib/netifd/wireless/mac80211.sh, where
the UCI setting of wireless multicast traffic (in uci: mcast_rate)
is not respected within netifd. Especially in Freifunk mesh networks
the olsr routing as effected by this, as only the lowest mcast_rate
was used, even when uci ncast_rate was set to something else.
In function mac80211_setup_adhoc() the value of mcast_rate is missing
in json_get_vars.
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39232
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:11 +0000 (12:07 +0000)]
hostapd: fix frequency setting for IBSS/RSN
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")
Reported-by: René van Weert <rene@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39231
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:07 +0000 (12:07 +0000)]
lantiq: improve Arcadyan ARV4510PW support
Arcadyan ARV4510PW has already a build profile in OpenWrt, but it is
severely lacking. This patch brings it up-to-date.
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39230
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:07:01 +0000 (12:07 +0000)]
swconfig: improve usability when switch device incorrect
http://patchwork.openwrt.org/patch/4701/
Signed-off-by: Andreas Mohr <andim2@users.sf.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39229
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:06:57 +0000 (12:06 +0000)]
libjson-c: also install .pc file for compatibility libjson
Older packages, which did not follow the renaming yet, do not
find the library otherwise via pkgconfig.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39228
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:06:53 +0000 (12:06 +0000)]
samba: add browsable option
https://dev.openwrt.org/ticket/14682
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39227
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:06:47 +0000 (12:06 +0000)]
lantiq: fix atm compile
https://dev.openwrt.org/ticket/14633
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39226
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Sun, 12 Jan 2014 12:06:39 +0000 (12:06 +0000)]
add git-src to .gitignore
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39225
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 12 Jan 2014 11:52:40 +0000 (11:52 +0000)]
rpcd: build, uci and session api fixes
- fix CMakeFile to support rpcd out of tree builds
- fix a possible file descriptor leak in the session deserialization code
- add uci.state call which is equivalent to uci -P /var/state get ...
- make uci.changes "config" argument optional to allow listing all deltas in one go
- fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses
- only trigger config change events if libuci was able to parse the config
- rename misleading "commit" argument of uci.apply to the more appropriate name "rollback"
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39224
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sat, 11 Jan 2014 21:58:29 +0000 (21:58 +0000)]
sunxi: various changes
- let LBDAF be set by generic config
- add high-speed timer support
- refresh sun5i USB patch
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39223
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sat, 11 Jan 2014 17:19:04 +0000 (17:19 +0000)]
sunxi: add support for Olinuxino A10 LIME
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39222
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sat, 11 Jan 2014 17:17:17 +0000 (17:17 +0000)]
[packages] uboot-sunxi: add support for Olinuxino A10 LIME
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39221
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 11 Jan 2014 16:06:37 +0000 (16:06 +0000)]
kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39220
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 11 Jan 2014 11:15:30 +0000 (11:15 +0000)]
ar71xx: ag71xx: increase calculated max frame length value
The r39147 commit introduces a regression: at lease on some routers
with ar8216 switch large packets get lost if 802.1q tagged port is
used on the interface connected to the aforementioned switch.
The r39147 changes code in the way so interface is set to accept
packets no longer than max ethernet frame length for a given mtu.
Unfortunately ar8216 has a feature: it sends two additional bytes
as a packet header and those this header needs to be added to the
max frame length. Otherwise long enough packets get lost.
The problem only manuifests itself if interface is used in vlan
tagged mode. If interface is untagged then ar8216's header fits
into space used by 802.1q tag and not packets are lost.
Include two additional bytes in the max frame length calculation
to fix the issue.
This patch is tested and works with Trendnet TEW-632BRP.
Signed-off-by Nikolay Martynov <mar.kolya@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4656/
[juhosg:
- simplify the patch to include the additional bytes of the
switch header unconditionally,
- change subject and update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39219
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Fri, 10 Jan 2014 10:47:41 +0000 (10:47 +0000)]
sunxi: add/refresh patches for cubieboard2
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39218
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 10 Jan 2014 09:37:59 +0000 (09:37 +0000)]
ar71xx: my net n750: simplify LNA GPIO setup
Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39217
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 10 Jan 2014 09:37:58 +0000 (09:37 +0000)]
ar71xx: my net n600: simplify LNA GPIO setup
Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39216
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 10 Jan 2014 09:37:57 +0000 (09:37 +0000)]
ar71xx: add a helper function for external LNA GPIO setup
The built-in wireless MAC of the AR934x SoC can handle
external LNAs and the control signal of the LNAs can be
routed to any GPIO line. Add a helper function which
can be used to configure the GPIO lines.
The helper function will be used for AR934x boards
which are using externel LNAs to improve sensitivity.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39215
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 10 Jan 2014 09:07:12 +0000 (09:07 +0000)]
ar71xx: Fix WD My Net N600 weak signal issue
The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.
Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Tested-by: Steven Haigh <netwiz@crc.id.au>
Patchwork: http://patchwork.openwrt.org/patch/4689/
[juhosg:
- remove the GPIO LED changes, the My Net N600 has no yellow LEDs at all,
- change subject and update the commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39214
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 10 Jan 2014 09:07:11 +0000 (09:07 +0000)]
ar71xx: Fix WD My Net N750 weak signal issue
The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.
Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4688/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39213
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Fri, 10 Jan 2014 09:05:31 +0000 (09:05 +0000)]
ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices
When wifi radio is reset, some bits in (undocumented) USB registers may
flip. Patch adds setting them after radio reset (channel change, up/down).
With this patch stability of USB1.1 full-speed devices, connected directly
to AR9331 host port (no USB2.0 hub) is improved.
See "ar9331's usb stability issue" OpenWrt forum thread for details:
<https://forum.openwrt.org/viewtopic.php?id=39956>
Based on QCA's Open HAL WAR_USB_DISABLE_PLL_LOCK_DETECT() macro:
<https://github.com/qca/qcamain_open_hal_public/blob/master/hal/ar9300/ar9300_reset.c#L74>
Adapted to Linux mac80211 driver for 8Devices Carambola2 board by Mantas Pucka:
<https://github.com/8devices/carambola2/commit/
b08b59ceb4e7f0bad4c0b17e703e1e5c4e168923>
Ported to latest OpenWrt BB branch and tested on TP-Link TL-WR703N by
Michel Stempin <michel.stempin@wanadoo.fr>.
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
[juhosg: refresh and clean up the ath9k patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39212
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Wed, 8 Jan 2014 22:01:55 +0000 (22:01 +0000)]
jsonpath: make output in non-export mode more shell friendly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39211
3c298f89-4303-0410-b956-
a3cf2f4a3e73
kaloz [Tue, 7 Jan 2014 15:03:55 +0000 (15:03 +0000)]
[toolchain/binutils]: upgrade the Linaro binutils to 2.24-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39210
3c298f89-4303-0410-b956-
a3cf2f4a3e73
kaloz [Tue, 7 Jan 2014 15:00:33 +0000 (15:00 +0000)]
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39209
3c298f89-4303-0410-b956-
a3cf2f4a3e73
kaloz [Tue, 7 Jan 2014 12:23:35 +0000 (12:23 +0000)]
add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39208
3c298f89-4303-0410-b956-
a3cf2f4a3e73
kaloz [Tue, 7 Jan 2014 10:21:31 +0000 (10:21 +0000)]
virtualbox emulates the e1000 for a long time now
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39207
3c298f89-4303-0410-b956-
a3cf2f4a3e73
kaloz [Tue, 7 Jan 2014 10:18:55 +0000 (10:18 +0000)]
move most of the x86 image generation options to the main file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39206
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Mon, 6 Jan 2014 23:34:31 +0000 (23:34 +0000)]
sunxi: refresh usb vbus patch
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39205
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Mon, 6 Jan 2014 21:51:39 +0000 (21:51 +0000)]
sunxi: various fixes
- DT: update USB vbus from 3.3v to 5v
- emac: add missing free_irq
- DT: add emac aliases
- DT: fix interrupts on A20
- modules: add watchdog module
- don't compile in mac80211
- don't compile in usbnet
Thanks to Hans de Goede, Zalan Blenessy et al.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39204
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sat, 4 Jan 2014 23:46:44 +0000 (23:46 +0000)]
bcm53xx: make the l2x0 L2 cache controller work
This fixes the DMA problems with the Ethernet driver.
This also updates some other parts of the patches.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39203
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sat, 4 Jan 2014 18:27:09 +0000 (18:27 +0000)]
bcm53xx: update the ethernet core hacks
The PHY always says there is no link
Instead of doing this dma sync a mdelay does the same trick and it is as unreliable.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39202
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sat, 4 Jan 2014 18:25:05 +0000 (18:25 +0000)]
kernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39201
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sat, 4 Jan 2014 17:33:44 +0000 (17:33 +0000)]
sunxi: emac changes
- move emac into module
- add into profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39200
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sat, 4 Jan 2014 16:39:31 +0000 (16:39 +0000)]
sunxi: add sata driver to profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39198
3c298f89-4303-0410-b956-
a3cf2f4a3e73
wigyori [Sat, 4 Jan 2014 16:30:56 +0000 (16:30 +0000)]
sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39197
3c298f89-4303-0410-b956-
a3cf2f4a3e73