openwrt/staging/luka.git
10 years agomac80211: add back missing tx power handling fix (#12750)
Felix Fietkau [Thu, 10 Apr 2014 08:52:33 +0000 (08:52 +0000)]
mac80211: add back missing tx power handling fix (#12750)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40440

10 years agolantiq: move the dsl-modem config to network.@dsl-modem[-1]
John Crispin [Thu, 10 Apr 2014 08:14:33 +0000 (08:14 +0000)]
lantiq: move the dsl-modem config to network.@dsl-modem[-1]

make sure uci_defaults generates a proper uci config for the v/adsl modem

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

10 years agolantiq: vdsl init.d script should auto start
John Crispin [Wed, 9 Apr 2014 16:36:28 +0000 (16:36 +0000)]
lantiq: vdsl init.d script should auto start

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

10 years agolantiq: cleanup vdsl driver bringup
John Crispin [Wed, 9 Apr 2014 16:31:24 +0000 (16:31 +0000)]
lantiq: cleanup vdsl driver bringup

config interface 'wan'
# a, b, j
option annex b
# a, b, av, bv
option tone b
# vdsl.bin
option firmware
# atm, ptm
option xfer_mode atm

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

10 years agolantiq: make dsl_notify.sh executable
John Crispin [Wed, 9 Apr 2014 16:31:14 +0000 (16:31 +0000)]
lantiq: make dsl_notify.sh executable

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

10 years agoodhcpd: use correct defaults for interfaces not in UCI
Steven Barth [Wed, 9 Apr 2014 12:29:43 +0000 (12:29 +0000)]
odhcpd: use correct defaults for interfaces not in UCI

SVN-Revision: 40435

10 years agoenable native KVM and VMware drivers
Imre Kaloz [Wed, 9 Apr 2014 11:54:44 +0000 (11:54 +0000)]
enable native KVM and VMware drivers

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 40434

10 years agoupgrade to 3.14
Imre Kaloz [Wed, 9 Apr 2014 11:46:18 +0000 (11:46 +0000)]
upgrade to 3.14

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 40433

10 years agoodhcp6c: fix recovering from status where all addresses have been lost
Steven Barth [Wed, 9 Apr 2014 06:57:04 +0000 (06:57 +0000)]
odhcp6c: fix recovering from status where all addresses have been lost

SVN-Revision: 40432

10 years agomac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
Felix Fietkau [Tue, 8 Apr 2014 22:11:27 +0000 (22:11 +0000)]
mac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40430

10 years agomac80211: fix user antenna gain calculation
Felix Fietkau [Tue, 8 Apr 2014 22:11:23 +0000 (22:11 +0000)]
mac80211: fix user antenna gain calculation

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40429

10 years agoath9k: fix AP mode crash issues
Felix Fietkau [Tue, 8 Apr 2014 22:11:19 +0000 (22:11 +0000)]
ath9k: fix AP mode crash issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40428

10 years agoath9k: fix some ANI related stability issues
Felix Fietkau [Tue, 8 Apr 2014 22:11:13 +0000 (22:11 +0000)]
ath9k: fix some ANI related stability issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40427

10 years agobase-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes...
Felix Fietkau [Tue, 8 Apr 2014 21:17:49 +0000 (21:17 +0000)]
base-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes #15496)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40426

10 years agobrcm47xx: refresh patches
Hauke Mehrtens [Tue, 8 Apr 2014 19:51:36 +0000 (19:51 +0000)]
brcm47xx: refresh patches

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

10 years agokernel: bgmac: rework patch checking packet length
Hauke Mehrtens [Tue, 8 Apr 2014 19:50:17 +0000 (19:50 +0000)]
kernel: bgmac: rework patch checking packet length

This bgmac patch was an attempt to fix/workaround bug reported in
https://dev.openwrt.org/ticket/7198 noticed on WNR3500L.
Patch assumed length reported by the hardware was 0 and was trying to
read it until getting a different value. This was actually the opposite.
Lenghts were some invalid & huge values that resulted in skb_over_panic.
For example:
skbuff: skb_over_panic: text:83b21074 len:57222 (...)
skbuff: skb_over_panic: text:87af1024 len:43226 (...)
skbuff: skb_over_panic: text:87af5024 len:8739 (...)

So instead of that not-working patch checking for 0, write a new one
checking for huge values. In case something like that happens, dump
hardware state and drop the packet.

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

10 years agods-lite: compatibility with ISPs that only offer public PDs
Steven Barth [Tue, 8 Apr 2014 06:19:37 +0000 (06:19 +0000)]
ds-lite: compatibility with ISPs that only offer public PDs

SVN-Revision: 40422

10 years agoOpenSSL: update to 1.0.1g
Steven Barth [Tue, 8 Apr 2014 05:24:36 +0000 (05:24 +0000)]
OpenSSL: update to 1.0.1g

This fixes the Heartbleed bug (CVE-2014-0160).

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 40421

10 years agobase-files: the ubi tol should be installed when jumping to ram_fs
John Crispin [Mon, 7 Apr 2014 15:35:20 +0000 (15:35 +0000)]
base-files: the ubi tol should be installed when jumping to ram_fs

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

10 years agoralink: fix WHR-300HP2 mtd size
John Crispin [Mon, 7 Apr 2014 15:10:26 +0000 (15:10 +0000)]
ralink: fix WHR-300HP2 mtd size

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

10 years agolantiq: there is a V2 of VG3503J that needs a newer fe phy firmware
John Crispin [Mon, 7 Apr 2014 15:10:22 +0000 (15:10 +0000)]
lantiq: there is a V2 of VG3503J that needs a newer fe phy firmware

this should really be auto detected by the kernel, lets used this workaround until the real
solution is ready

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

10 years agokernel: add a ubi forced detach ioctl
John Crispin [Mon, 7 Apr 2014 15:10:18 +0000 (15:10 +0000)]
kernel: add a ubi forced detach ioctl

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

10 years agobase-files: make use of new fstools
John Crispin [Mon, 7 Apr 2014 15:10:15 +0000 (15:10 +0000)]
base-files: make use of new fstools

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

10 years agofstools: update to latest git HEAD
John Crispin [Mon, 7 Apr 2014 15:10:07 +0000 (15:10 +0000)]
fstools: update to latest git HEAD

this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes

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

10 years agonetifd: update to the latest version, fixes a l3_dev handling regression leading...
Felix Fietkau [Mon, 7 Apr 2014 11:12:06 +0000 (11:12 +0000)]
netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40414

10 years agoar71xx: move some always-used led related functionality from kmod packages to the...
Felix Fietkau [Mon, 7 Apr 2014 10:44:52 +0000 (10:44 +0000)]
ar71xx: move some always-used led related functionality from kmod packages to the kernel image

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40413

10 years ago/lib/functions.sh: remove config_rename()
Felix Fietkau [Mon, 7 Apr 2014 10:29:51 +0000 (10:29 +0000)]
/lib/functions.sh: remove config_rename()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40412

10 years ago/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functio...
Felix Fietkau [Mon, 7 Apr 2014 10:29:47 +0000 (10:29 +0000)]
/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40411

10 years ago/lib/functions.sh: remove jffs2_mark_erase()
Felix Fietkau [Mon, 7 Apr 2014 10:29:42 +0000 (10:29 +0000)]
/lib/functions.sh: remove jffs2_mark_erase()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40410

10 years agobase-files: remove config_clear() and list_remove()
Felix Fietkau [Mon, 7 Apr 2014 10:01:59 +0000 (10:01 +0000)]
base-files: remove config_clear() and list_remove()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40409

10 years agobase-files: move uci_apply_defaults() to /etc/init.d/boot
Felix Fietkau [Mon, 7 Apr 2014 10:01:54 +0000 (10:01 +0000)]
base-files: move uci_apply_defaults() to /etc/init.d/boot

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40408

10 years ago/lib/functions.sh: remove hotplug_dev()
Felix Fietkau [Mon, 7 Apr 2014 09:50:26 +0000 (09:50 +0000)]
/lib/functions.sh: remove hotplug_dev()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40406

10 years ago/lib/functions.sh: remove strtok()
Felix Fietkau [Mon, 7 Apr 2014 09:50:23 +0000 (09:50 +0000)]
/lib/functions.sh: remove strtok()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40405

10 years ago/lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh
Felix Fietkau [Mon, 7 Apr 2014 09:50:19 +0000 (09:50 +0000)]
/lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40404

10 years ago/lib/functions.sh: remove pi_include()
Felix Fietkau [Mon, 7 Apr 2014 09:50:15 +0000 (09:50 +0000)]
/lib/functions.sh: remove pi_include()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40403

10 years ago/lib/functions.sh: remove jffs2_ready()
Felix Fietkau [Mon, 7 Apr 2014 09:50:11 +0000 (09:50 +0000)]
/lib/functions.sh: remove jffs2_ready()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40402

10 years ago/lib/functions.sh: remove support for non-overlayfs overlay fopivot types
Felix Fietkau [Mon, 7 Apr 2014 09:50:07 +0000 (09:50 +0000)]
/lib/functions.sh: remove support for non-overlayfs overlay fopivot types

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40401

10 years agoar71xx: add support for the TP-LINK TL-WR841N/ND v9
Felix Fietkau [Mon, 7 Apr 2014 08:00:02 +0000 (08:00 +0000)]
ar71xx: add support for the TP-LINK TL-WR841N/ND v9

Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 40400

10 years agoar71xx: add support for QCA953x SoC
Felix Fietkau [Mon, 7 Apr 2014 07:59:45 +0000 (07:59 +0000)]
ar71xx: add support for QCA953x SoC

I don't have access to the specs, so I'm not sure about every detail, but I
haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty
much like a QCA955x without PCI, a little twist in the clock calculation and
a AR9331-compatible switch.

Features not yet supported:

* EHCI (my test system doesn't have USB)
* ? (I have no idea if the QCA953x has any other features I don't know about
that aren't used by the TL-WR841N v9)

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 40399

10 years agobrcm63xx: hack around jffs2 corruption with SMP
Jonas Gorski [Sun, 6 Apr 2014 22:03:42 +0000 (22:03 +0000)]
brcm63xx: hack around jffs2 corruption with SMP

mempy_fromio seems to be randomly failing when the destination is
unaligned; work around it by forcing the name to be aligned in memory.

Should fix jffs2 and SMP for now, but needs to be some additional
looking into as it does not fix the source.

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

10 years agoodhcpd: improve managed PD
Steven Barth [Sun, 6 Apr 2014 14:34:45 +0000 (14:34 +0000)]
odhcpd: improve managed PD

SVN-Revision: 40395

10 years agohostapd: update to version 2014-04-04
Felix Fietkau [Sun, 6 Apr 2014 12:13:55 +0000 (12:13 +0000)]
hostapd: update to version 2014-04-04

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40394

10 years agomac80211: update to wireless-testing 2014-03-31
Felix Fietkau [Sun, 6 Apr 2014 10:41:23 +0000 (10:41 +0000)]
mac80211: update to wireless-testing 2014-03-31

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40393

10 years agolantiq: remove unmaintained code
John Crispin [Sun, 6 Apr 2014 09:21:44 +0000 (09:21 +0000)]
lantiq: remove unmaintained code

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

10 years agoramips: fix regression from r39949 (#15382)
Felix Fietkau [Sun, 6 Apr 2014 00:09:50 +0000 (00:09 +0000)]
ramips: fix regression from r39949 (#15382)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40391

10 years agouclibc++: disable mips16 support to avoid linkage errors with libsupc++ object files
Felix Fietkau [Sat, 5 Apr 2014 21:58:16 +0000 (21:58 +0000)]
uclibc++: disable mips16 support to avoid linkage errors with libsupc++ object files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40390

10 years agobrcm63xx: sync mips counters during bringup of cpus
Jonas Gorski [Sat, 5 Apr 2014 18:32:34 +0000 (18:32 +0000)]
brcm63xx: sync mips counters during bringup of cpus

Fixes gettimeofday returning different values depending on which cpu
it is called.

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

10 years agoodhcp6c: Add renew handler for proto dhcpv6
Felix Fietkau [Sat, 5 Apr 2014 18:17:25 +0000 (18:17 +0000)]
odhcp6c: Add renew handler for proto dhcpv6

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40386

10 years agonetifd: Add renew handler for proto dhcp
Felix Fietkau [Sat, 5 Apr 2014 18:17:22 +0000 (18:17 +0000)]
netifd: Add renew handler for proto dhcp

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40385

10 years agonetifd: update to latest version, fixes issues when l3 interface changes on reload...
Felix Fietkau [Sat, 5 Apr 2014 18:17:18 +0000 (18:17 +0000)]
netifd: update to latest version, fixes issues when l3 interface changes on reload (e.g. ppp -> dhcp/static)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40384

10 years agofstools: scripts should propagate the cmdline
John Crispin [Sat, 5 Apr 2014 16:34:40 +0000 (16:34 +0000)]
fstools: scripts should propagate the cmdline

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 40383

10 years agoubi-utils: fix git tree path, a regex went mad
John Crispin [Sat, 5 Apr 2014 16:34:30 +0000 (16:34 +0000)]
ubi-utils: fix git tree path, a regex went mad

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

10 years agolantiq: cleanup the dsl control scripts
John Crispin [Sat, 5 Apr 2014 16:34:20 +0000 (16:34 +0000)]
lantiq: cleanup the dsl control scripts

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

10 years agobrcm63xx: update development kernel to linux 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:17:08 +0000 (10:17 +0000)]
brcm63xx: update development kernel to linux 3.14

Now that 3.13 will be EOL soon, switch to 3.14.

Known issues:
 * 74x164 is not available because upstream dropped non-DT support
 * jffs2 breaks with SMP

Unknown issues:
 * probably plenty

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

10 years agokernel: fix bluetooth and zsmalloc for 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:16:54 +0000 (10:16 +0000)]
kernel: fix bluetooth and zsmalloc for 3.14

zsmalloc was promoted from staging, while bluetooth gained a dependency
to a library shared with 802.15.4 for 6lowpan support.

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

10 years agokernel: fix usb module paths for 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:16:52 +0000 (10:16 +0000)]
kernel: fix usb module paths for 3.14

dwc2 was promoted from staging, while u_rndis was merged into
usb_f_rndis.

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

10 years agokernel: fix kmod-sound-core for 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:16:50 +0000 (10:16 +0000)]
kernel: fix kmod-sound-core for 3.14

pcm-page-alloc was merged into snd-pcm.

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

10 years agokernel: make sched_act_connmark compile for 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:16:49 +0000 (10:16 +0000)]
kernel: make sched_act_connmark compile for 3.14

The upstream API changed, which allowed to simplify the code a bit.

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

10 years agokernel: make sched_esfq compile for 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:16:47 +0000 (10:16 +0000)]
kernel: make sched_esfq compile for 3.14

net_random was replaced with prandom_u32.

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

10 years agokernel: add missing config symbol for linux 3.14
Jonas Gorski [Fri, 4 Apr 2014 10:16:44 +0000 (10:16 +0000)]
kernel: add missing config symbol for linux 3.14

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

10 years agolantiq: nand fixes
John Crispin [Thu, 3 Apr 2014 14:27:02 +0000 (14:27 +0000)]
lantiq: nand fixes

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

10 years agolantiq: BT Home Hub 2B support - userspace
John Crispin [Thu, 3 Apr 2014 14:26:58 +0000 (14:26 +0000)]
lantiq: BT Home Hub 2B support - userspace

Basic userspace configuration for BT Home Hub 2B

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40371

10 years agolantiq: BT Home Hub 2B support - board support
John Crispin [Thu, 3 Apr 2014 14:26:54 +0000 (14:26 +0000)]
lantiq: BT Home Hub 2B support - board support

Board support patch for BT Home Hub 2B

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40370

10 years agolantiq: BT Home Hub 2B support - jedec probe
John Crispin [Thu, 3 Apr 2014 14:26:50 +0000 (14:26 +0000)]
lantiq: BT Home Hub 2B support - jedec probe

Lantiq nor patch. Adds support for jedec probing if cfi
probing fails.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 40369

10 years agolantiq: make td8970 wifi led work
John Crispin [Thu, 3 Apr 2014 14:26:46 +0000 (14:26 +0000)]
lantiq: make td8970 wifi led work

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

10 years agoubi-utils: mini version of mtd-utils that only includes ubi tools
John Crispin [Thu, 3 Apr 2014 14:26:42 +0000 (14:26 +0000)]
ubi-utils: mini version of mtd-utils that only includes ubi tools

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

10 years agofstools: update to latest git
John Crispin [Thu, 3 Apr 2014 14:26:38 +0000 (14:26 +0000)]
fstools: update to latest git

this fixes ubifs and ubi overlay support

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

10 years agoinclude/make.mk: add support for ubinize-overlay.cfg
John Crispin [Thu, 3 Apr 2014 14:26:31 +0000 (14:26 +0000)]
include/make.mk: add support for ubinize-overlay.cfg

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

10 years agolantiq: fix vr9 ubi handling
John Crispin [Thu, 3 Apr 2014 14:26:24 +0000 (14:26 +0000)]
lantiq: fix vr9 ubi handling

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

10 years agox86: xen_domu is functional, remove broken flag
Felix Fietkau [Wed, 2 Apr 2014 20:45:09 +0000 (20:45 +0000)]
x86: xen_domu is functional, remove broken flag

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40363

10 years agomake printk, crashlog and swap support configurable
Imre Kaloz [Wed, 2 Apr 2014 11:40:41 +0000 (11:40 +0000)]
make printk, crashlog and swap support configurable

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 40361

10 years agoorion: create a macro for zImage with machine id
Florian Fainelli [Tue, 1 Apr 2014 22:21:11 +0000 (22:21 +0000)]
orion: create a macro for zImage with machine id

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

10 years agoorion: fix KERNELNAME
Florian Fainelli [Tue, 1 Apr 2014 22:21:00 +0000 (22:21 +0000)]
orion: fix KERNELNAME

uImage cannot be built in parallel properly until zImage is ready

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

10 years agoorion: fix initramfs uImage generation
Florian Fainelli [Tue, 1 Apr 2014 22:20:49 +0000 (22:20 +0000)]
orion: fix initramfs uImage generation

We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR)

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

10 years agobuildroot: add Cortex A15 specific CFLAGS
Florian Fainelli [Tue, 1 Apr 2014 22:20:36 +0000 (22:20 +0000)]
buildroot: add Cortex A15 specific CFLAGS

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

10 years agoodhcpd: add preliminary support for managed DHCPv6-PD and CER-ID
Steven Barth [Tue, 1 Apr 2014 18:52:09 +0000 (18:52 +0000)]
odhcpd: add preliminary support for managed DHCPv6-PD and CER-ID

SVN-Revision: 40355

10 years ago3.14 final is out
Imre Kaloz [Mon, 31 Mar 2014 13:43:06 +0000 (13:43 +0000)]
3.14 final is out

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 40352

10 years agoodhcp6c: add preliminary CER-ID support
Steven Barth [Mon, 31 Mar 2014 06:43:50 +0000 (06:43 +0000)]
odhcp6c: add preliminary CER-ID support

SVN-Revision: 40351

10 years agogrub2: disable mkfont - fix build on Archlinux
Felix Fietkau [Sun, 30 Mar 2014 19:55:43 +0000 (19:55 +0000)]
grub2: disable mkfont - fix build on Archlinux

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 40350

10 years agogrub2: disable libdevmapper - fix build when it's available
Felix Fietkau [Sun, 30 Mar 2014 19:55:39 +0000 (19:55 +0000)]
grub2: disable libdevmapper - fix build when it's available

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 40349

10 years agokernel: backport BCM5357 fix for GPIOs
Hauke Mehrtens [Sun, 30 Mar 2014 19:08:37 +0000 (19:08 +0000)]
kernel: backport BCM5357 fix for GPIOs

This backports: bcma: gpio: register 32 GPIOs on BCM5357

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40347

10 years agobrcm47xx: backport 3.14 patch for nvram GPIO pin read
Hauke Mehrtens [Sun, 30 Mar 2014 19:07:46 +0000 (19:07 +0000)]
brcm47xx: backport 3.14 patch for nvram GPIO pin read

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40346

10 years agobrcm47xx: Name LEDs colors for Linksys E1000 V2.1
Hauke Mehrtens [Sun, 30 Mar 2014 19:07:13 +0000 (19:07 +0000)]
brcm47xx: Name LEDs colors for Linksys E1000 V2.1

Handle it by creating a new patch for simple database changes.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40345

10 years agobrcm47xx: update workarounds patch to V3
Hauke Mehrtens [Sun, 30 Mar 2014 19:06:24 +0000 (19:06 +0000)]
brcm47xx: update workarounds patch to V3

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40344

10 years agosamba36: revert r40341
John Crispin [Sun, 30 Mar 2014 19:05:25 +0000 (19:05 +0000)]
samba36: revert r40341

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

10 years agoralink: fix chuncked-io module
John Crispin [Sun, 30 Mar 2014 19:03:55 +0000 (19:03 +0000)]
ralink: fix chuncked-io module

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

10 years agosamba: update to 3.6.23 Signed-off-by: John Crispin <blogic@openwrt.org>
John Crispin [Sun, 30 Mar 2014 19:03:12 +0000 (19:03 +0000)]
samba: update to 3.6.23 Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40341

10 years agolantiq: fix ptm crash under load
John Crispin [Sun, 30 Mar 2014 14:01:21 +0000 (14:01 +0000)]
lantiq: fix ptm crash under load

https://dev.openwrt.org/ticket/14581

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

10 years agokernel/modules: package Arabic charsets
John Crispin [Sun, 30 Mar 2014 13:08:00 +0000 (13:08 +0000)]
kernel/modules: package Arabic charsets

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40334

10 years agokernel/modules: package Hebrew charsets
John Crispin [Sun, 30 Mar 2014 13:07:57 +0000 (13:07 +0000)]
kernel/modules: package Hebrew charsets

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40333

10 years agodhcp: Fix broadcast parameter validation support, remove unused netmask parameter
John Crispin [Sun, 30 Mar 2014 13:07:52 +0000 (13:07 +0000)]
dhcp: Fix broadcast parameter validation support, remove unused netmask parameter

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40332

10 years agoutil-linux: add missing dependency
John Crispin [Sun, 30 Mar 2014 13:00:50 +0000 (13:00 +0000)]
util-linux: add missing dependency

https://dev.openwrt.org/ticket/15417

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

10 years agorevert: kernel: rtl8306: fix max pvid & remove port isolation
John Crispin [Sun, 30 Mar 2014 10:04:55 +0000 (10:04 +0000)]
revert: kernel: rtl8306: fix max pvid & remove port isolation

apparently this one was nt a good idea to merge

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

10 years agolntiq: add support for Astoria ARV7519RW.
John Crispin [Sun, 30 Mar 2014 10:02:30 +0000 (10:02 +0000)]
lntiq: add support for Astoria ARV7519RW.

These patches add support for the Astoria ARV7519RW aka Livebox 2.1
The PCI and PCIe interfaces have been disabled. Also, because there are
two revisions of this board with different GPHY firmwares, two targets
were defined.
V2: rewrote partitions to work with an u-boot specifically made for
these boards.

Signed off by: Esteban Benito <estebanjbs@gmail.com>
Signed off by: Carles Gadea <carlesgrg@gmail.com>
Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40329

10 years agolantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)
John Crispin [Sun, 30 Mar 2014 09:16:52 +0000 (09:16 +0000)]
lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)

ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in
flash as big-endian, but the driver needs it in little-endian format. We
have to swab it before handing it over. This requires my earlier patch
for busybox.

Funnily enough, ARV752DPW works also with the incorrect eeprom, but
undoubtedly unoptimally. I have a hunch that also the final remaining
Lantiq board would require this swabbing, but I'm not sure, so I just
swab it in the three boards that I know about.

v2:
* Swab also on ARV7510PW22 based on feedback from Alvaro Rojas
* Fix the offset with bs=2

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40328

10 years agobusybox: backport dd conv=swab from 1.22
John Crispin [Sun, 30 Mar 2014 09:16:47 +0000 (09:16 +0000)]
busybox: backport dd conv=swab from 1.22

Some boards have the WLAN EEPROM stored in flash in big-endian format,
whereas the driver requires the EEPROM in little-endian format. The
conv=swab option in dd is particularly useful in this case. This patch
backports this feature from busybox-1.22 based on the following commits:

commit    b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab
commit    8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a
comment. No code changes.
commit    5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is
attempted on odd-sized block
commit    0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink

v2: include the commit messages from upstream

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 40327

10 years agolantiq: add esi
John Crispin [Sun, 30 Mar 2014 09:16:43 +0000 (09:16 +0000)]
lantiq: add esi

http://patchwork.openwrt.org/patch/3703/

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

10 years agoltq-adsl-mei: improve memory allocation
John Crispin [Sun, 30 Mar 2014 09:16:39 +0000 (09:16 +0000)]
ltq-adsl-mei: improve memory allocation

The ltq-adsl-mei driver allocates memory for the ADSL firmware in a
rather stupid way, leading to several 128k allocations, which fail when
many services are enabled. This patch tries to allocate 64 kiB chunks,
and only falls back to larger allocations if the returned pointers are
not correctly aligned. Fixes out-of-memory errors on Danube boards with
32 MiB RAM.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 40325

10 years agolantiq: fix mtd_split for brnboot firmware images
John Crispin [Sun, 30 Mar 2014 09:16:35 +0000 (09:16 +0000)]
lantiq: fix mtd_split for brnboot firmware images

The existing code only tries to split a parition with name "rootfs"
while actually looking for kernel+rootfs, where usually "firmware" is
used as a partition name. This doesn't make sense, as even if there
was a partition 'rootfs' given by mtdparts or via device-tree, this
code would lead to another partition called 'rootfs' being created
which would not be properly distinguished in the current user-space
code.

While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make
that configurable, the lack of users of brnboot and the fact that we
can freely decide the partition name made me simply change the
hard-coded string constant from "rootfs" to "firmware".

(I'm going to add support for ARV7506PW which run brnboot and needs
this change)

SVN-Revision: 40324

10 years agolantiq: fixup ath5k support
John Crispin [Sun, 30 Mar 2014 09:16:31 +0000 (09:16 +0000)]
lantiq: fixup ath5k support

http://patchwork.openwrt.org/patch/4417/

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