openwrt/openwrt.git
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

10 years agoltq-vdsl: add led status reporting
John Crispin [Sun, 30 Mar 2014 09:16:27 +0000 (09:16 +0000)]
ltq-vdsl: add led status reporting

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

10 years agolantiq: fix initial VLAN conf for P2601HNFX
John Crispin [Sun, 30 Mar 2014 09:16:23 +0000 (09:16 +0000)]
lantiq: fix initial VLAN conf for P2601HNFX

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40321

10 years agolantiq: P2601HNFX dts update for STP and buttons
John Crispin [Sun, 30 Mar 2014 09:16:19 +0000 (09:16 +0000)]
lantiq: P2601HNFX dts update for STP and buttons

- Set correct AltSel for STP pins
- Set front button to rfkill

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40320

10 years agolantiq: add support for Arcadyan ARV7519PW
John Crispin [Sun, 30 Mar 2014 09:16:15 +0000 (09:16 +0000)]
lantiq: add support for Arcadyan ARV7519PW

This patch adds almost full support for this board.

- WiFi is still not working
- USB will not power up. According to some reports, it may be a passive port

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40319

10 years agolantiq: reset gphys on reboot
John Crispin [Sun, 30 Mar 2014 09:16:10 +0000 (09:16 +0000)]
lantiq: reset gphys on reboot

If gphys are not reset upstream uboot can not use them anymore.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40318

10 years agolantiq: add support for ZyXEL P2812HNUFX
John Crispin [Sun, 30 Mar 2014 09:16:06 +0000 (09:16 +0000)]
lantiq: add support for ZyXEL P2812HNUFX

This patch adds almost full support for this board. WiFi is still not working.
The FXS ports are not functional due to missing support for the TAPI driver on
VR9 SoC.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
Tested-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40317

10 years agolantiq: add ubifs support in image Makefile
John Crispin [Sun, 30 Mar 2014 09:16:02 +0000 (09:16 +0000)]
lantiq: add ubifs support in image Makefile

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40316

10 years agolantiq: add ubifs to FEATURES
John Crispin [Sun, 30 Mar 2014 09:15:58 +0000 (09:15 +0000)]
lantiq: add ubifs to FEATURES

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40315

10 years agolantiq: xrx200: add ubi support in the kernel
John Crispin [Sun, 30 Mar 2014 09:15:54 +0000 (09:15 +0000)]
lantiq: xrx200: add ubi support in the kernel

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40314

10 years agolantiq: add inital support for xrx200 switch
John Crispin [Sun, 30 Mar 2014 09:15:50 +0000 (09:15 +0000)]
lantiq: add inital support for xrx200 switch

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40313

10 years agolantiq: xrx200: fix duplex
John Crispin [Sun, 30 Mar 2014 09:15:46 +0000 (09:15 +0000)]
lantiq: xrx200: fix duplex

Both the GPL driver from ZyXEL and the xrx200 driver have this error. The flags
are reversed. Full duplex is marked as half and the other way around. With this
fix the switch will push full GBit speeds.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40312

10 years agolantiq: fixup 3370 dts file
John Crispin [Sun, 30 Mar 2014 09:15:41 +0000 (09:15 +0000)]
lantiq: fixup 3370 dts file

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

10 years agolantiq: fix nand/ebu locking
John Crispin [Sun, 30 Mar 2014 09:15:37 +0000 (09:15 +0000)]
lantiq: fix nand/ebu locking

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

10 years agolantiq: add tffs driver
John Crispin [Sun, 30 Mar 2014 09:15:33 +0000 (09:15 +0000)]
lantiq: add tffs driver

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

10 years agoltq-vdsl: fix MIPS16 compile breakage
John Crispin [Sun, 30 Mar 2014 09:15:29 +0000 (09:15 +0000)]
ltq-vdsl: fix MIPS16 compile breakage

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

10 years agofirmware: create a new folder for holfing firmware blobs
John Crispin [Sun, 30 Mar 2014 09:15:25 +0000 (09:15 +0000)]
firmware: create a new folder for holfing firmware blobs

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

10 years agokernel: export gluebi info to sysfs
John Crispin [Sun, 30 Mar 2014 09:15:20 +0000 (09:15 +0000)]
kernel: export gluebi info to sysfs

Export the ubi_num and vol_id into the sysfs record of the gluebi-
emulated mtd device. Previously userspace didn't have a way to
map gluebi-emulated devices back to their corresponding ubi volumes.

SVN-Revision: 40306

10 years agokernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfx
John Crispin [Sun, 30 Mar 2014 09:15:16 +0000 (09:15 +0000)]
kernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfx

If the CPU port is not forced up, the link, at least on this board, is lost after
changes are applied. This makes sure that the link is restored. Regression tests
should confirm it doesn't break other boards.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40305

10 years agokernel: rtl8306: fix max pvid & remove port isolation
John Crispin [Sun, 30 Mar 2014 09:15:11 +0000 (09:15 +0000)]
kernel: rtl8306: fix max pvid & remove port isolation

- hide port pvid - vlan index relation
- switch initialises with vlans disabled so port isolation is not used
- remove special treatment of cpu port

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40304

10 years agokernel: rtl8306: cosmetic changes for swconfig
John Crispin [Sun, 30 Mar 2014 09:15:07 +0000 (09:15 +0000)]
kernel: rtl8306: cosmetic changes for swconfig

Changes to:
- show the correct "enable_vlan" value under "Global attributes"
- show tagged ports under "Vlan: ports"
- use get_port_link method to report link status

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40303

10 years agoutil-linux: backport upstream fix for unshare utility
John Crispin [Sun, 30 Mar 2014 09:15:03 +0000 (09:15 +0000)]
util-linux: backport upstream fix for unshare utility

the unshare utility wasn't getting certain defines for mount
anymore.

SVN-Revision: 40302