openwrt.git
8 years agoar71xx: Image generation for PowerCloud CR5000 Cloud Router
nbd [Sat, 19 Dec 2015 11:27:52 +0000 (11:27 +0000)]
ar71xx: Image generation for PowerCloud CR5000 Cloud Router

Kernel part of support for the PowerCloud Systems CR5000.  The
CR5000 is a dual-band 802.11n wireless router with 8MB flash,
64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
port gigabit ethernet switch.  The CR5000 was sold as hardware for
the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47943 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Image generation for PowerCloud CR3000 Cloud Router
nbd [Sat, 19 Dec 2015 11:27:45 +0000 (11:27 +0000)]
ar71xx: Image generation for PowerCloud CR3000 Cloud Router

Image generation part of support for PowerCloud CR3000.  The CR3000 is
a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
a four port fast ethernet switch, and a fast ethernet wan port which
was sold by PowerCloud Systems as hardware for the Skydog
cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47942 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: PowerCloud CAP324 image generation
nbd [Sat, 19 Dec 2015 11:27:39 +0000 (11:27 +0000)]
ar71xx: PowerCloud CAP324 image generation

Image generation (and mtd partition) part of support for
PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by
PowerCloud Systems who's stock firmware (CloudCommand) provides
'cloud' based managment of large numbers of access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via
PoE or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47941 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Kernel board definition for PowerCloud CR5000
nbd [Sat, 19 Dec 2015 11:27:32 +0000 (11:27 +0000)]
ar71xx: Kernel board definition for PowerCloud CR5000

    Kernel part of support for the PowerCloud Systems CR5000.  The
    CR5000 is a dual-band 802.11n wireless router with 8MB flash,
    64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
    port gigabit ethernet switch.  The CR5000 was sold as hardware for
    the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47940 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Kernel board definition for PowerCloud CR3000
nbd [Sat, 19 Dec 2015 11:27:25 +0000 (11:27 +0000)]
ar71xx: Kernel board definition for PowerCloud CR3000

   Kernel part of support for PowerCloud CR3000.  The CR3000 is
    a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
    a four port fast ethernet switch, and a fast ethernet wan port which
    was sold by PowerCloud Systems as hardware for the Skydog
    cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47939 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Kernel board definition for PowerCloud CAP324
nbd [Sat, 19 Dec 2015 11:27:19 +0000 (11:27 +0000)]
ar71xx: Kernel board definition for PowerCloud CAP324

    Kernel part of support for PowerCloud CAP324 Cloud AP.
    The CAP324 Cloud AP was a device sold by PowerCloud Systems as hardware for
    the CloudCommand service for 'cloud' based managment of large numbers
    access points.

    The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
    and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
    or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47938 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage.mk: use cross toolchain cpp for processing dts file instead of relying on the...
nbd [Sat, 19 Dec 2015 11:15:41 +0000 (11:15 +0000)]
image.mk: use cross toolchain cpp for processing dts file instead of relying on the host compiler

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

8 years agoramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
nbd [Sat, 19 Dec 2015 11:07:29 +0000 (11:07 +0000)]
ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices

Enable it from .dts files that need it, also remove redundant properties

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

8 years agoramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix...
nbd [Fri, 18 Dec 2015 22:26:40 +0000 (22:26 +0000)]
ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues

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

8 years agoltq-vdsl-app: enable Annex-M support, disable unsupported Annex-A modes
nbd [Fri, 18 Dec 2015 21:47:49 +0000 (21:47 +0000)]
ltq-vdsl-app: enable Annex-M support, disable unsupported Annex-A modes

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

8 years agoltq-vdsl-app: remove whitespace after -i, it prevents vdsl_cpe_control from parsing...
nbd [Fri, 18 Dec 2015 21:47:33 +0000 (21:47 +0000)]
ltq-vdsl-app: remove whitespace after -i, it prevents vdsl_cpe_control from parsing the XTSE bits

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

8 years agobrcm47xx: fix switch config for devices with WAN port 0
rmilecki [Fri, 18 Dec 2015 15:27:16 +0000 (15:27 +0000)]
brcm47xx: fix switch config for devices with WAN port 0

Commit r47866 dropped default values which were handling WAN interface
at port 0. Fix it by handling 2 more cases on NVRAM values.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47932 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: update kernel 4.4 config
rmilecki [Fri, 18 Dec 2015 08:35:36 +0000 (08:35 +0000)]
brcm47xx: update kernel 4.4 config

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47931 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: add kernel 4.4 support
rmilecki [Fri, 18 Dec 2015 07:25:13 +0000 (07:25 +0000)]
brcm47xx: add kernel 4.4 support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47930 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: update the mt7621 ethernet support patch
blogic [Thu, 17 Dec 2015 12:14:56 +0000 (12:14 +0000)]
ralink: update the mt7621 ethernet support patch

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47929 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetwork/services/lldpd: Fix missing dependency when using JSON
blogic [Thu, 17 Dec 2015 09:30:16 +0000 (09:30 +0000)]
network/services/lldpd: Fix missing dependency when using JSON

Using the JSON output option depends on json library so
add select json-c library when JSON output is selected.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47928 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for TRENDnet TEW-823DRU
blogic [Thu, 17 Dec 2015 09:30:05 +0000 (09:30 +0000)]
ar71xx: add support for TRENDnet TEW-823DRU

Add support for TRENDnet TEW-823DRU:
- cpu: QCA9558 @720MHz
- flash: 16MB
- ram: 256MB
- 4+1 RJ45 100/1000Mbps
- wifi:  QCA9558 (bgn) and QCA9880-BR4A (ac)
- 1x USB 2.0

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47927 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodante: update to 1.4.1
blogic [Thu, 17 Dec 2015 09:29:54 +0000 (09:29 +0000)]
dante: update to 1.4.1

- 1.4.x has IPv6 support

- set C std explicitly due to gcc 5 changes/old code style of dante
- disable pam via configure vars since detection of without pam option
  is broken (-lpam gets linked in if available)
- remove and refresh patches

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47926 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoomap: add kernel 4.4
blogic [Thu, 17 Dec 2015 09:29:48 +0000 (09:29 +0000)]
omap: add kernel 4.4

- tested on Beagleboard C4

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47925 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-omap: update to 2015.10
blogic [Thu, 17 Dec 2015 09:29:42 +0000 (09:29 +0000)]
uboot-omap: update to 2015.10

- tested on Beagleboard C4

- remove upstream patches

- disable THUMB mode on OMAP3 this increases binary size
  (remove CONFIG_SYS_THUMB_BUILD)
- reduce SPL size by disabling EXT feature
  (remove CONFIG_SPL_EXT_SUPPORT)

this fixes 2015.07 and 2015.10-rc3
Beagleboard C4 booting
which were broken by upstream commit
with id: bd2c4522c26d535515aebca52d27c004a7e0c05c

Arm THUMB mode is broken because of an yet unknown errata
see: http://lists.denx.de/pipermail/u-boot/2015-August/225793.html

- backport upstream fix that was introduced in 2015.10-rc5
  and was not fixed in 2015.10 final

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47924 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: kmod-ptp selects a new config symbol
blogic [Thu, 17 Dec 2015 09:29:34 +0000 (09:29 +0000)]
kernel: kmod-ptp selects a new config symbol

since Kernel 3.14
408eccce net: ptp: move PTP classifier in its own file

found while bug search
thx olmari on IRC

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47923 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: update 4.1 patches
blogic [Thu, 17 Dec 2015 09:29:22 +0000 (09:29 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47922 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708-gpu-fw: update to latest version
blogic [Thu, 17 Dec 2015 09:28:48 +0000 (09:28 +0000)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47921 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocns3xxx: add GW2393 Support
blogic [Thu, 17 Dec 2015 09:28:42 +0000 (09:28 +0000)]
cns3xxx: add GW2393 Support

Based off of the GW2391-C, but with the following changes:
 * 4x4in to 4x5in pcb
 * flat panel connector for LED signals

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

8 years agocns3xxx: Fix comment
blogic [Thu, 17 Dec 2015 09:28:35 +0000 (09:28 +0000)]
cns3xxx: Fix comment

Original comment was wrong about which pads are being set.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47919 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix ARV7519RW22 buttons
blogic [Thu, 17 Dec 2015 09:28:29 +0000 (09:28 +0000)]
lantiq: fix ARV7519RW22 buttons

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47918 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ltq-ptm: set carrier status
blogic [Thu, 17 Dec 2015 09:28:21 +0000 (09:28 +0000)]
lantiq: ltq-ptm: set carrier status

Principal purpose is to prevent the error message

  ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime

which is printed at least once per second to the serial console, if the
ptm interface is not in showtime, but a processes already sends
packages over that interface. This happens for adsl as well as vdsl
over ptm.

It's pppd which sends packages over the ptm device before in showtime.
As far as I can see, pppd is started unconditionally since netif can
not gather the link status of the ptm network interface.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47917 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ltq-atm: set carrier status
blogic [Thu, 17 Dec 2015 09:28:10 +0000 (09:28 +0000)]
lantiq: ltq-atm: set carrier status

This prevents the unconditionally start of pppd since netifd will be
triggered if the device goes into showtime. The same applies to lost
showtime as well.

In compare to the ptm driver, this changeset isn't strictly required,
since the "not in showtime" message is limited to the debug loglevel.
But it reduces the amount of ppp related messages significant.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47916 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: add the TDW8980 5GHz led
blogic [Thu, 17 Dec 2015 09:28:01 +0000 (09:28 +0000)]
lantiq: add the TDW8980 5GHz led

Still unused, but u-boot doesn't take care of the led, which results in a
permanent switched on 5GHz LED.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47915 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Fix LED handling.
blogic [Thu, 17 Dec 2015 09:27:52 +0000 (09:27 +0000)]
lantiq: Fix LED handling.

- Use common OpenWrt blink patterns instead of custom ones
- Add preinit_regular hook
- Handle the TDW89X0 that does not have a configurable power LED

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47914 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Configure LED polarity for TDW8970.
blogic [Thu, 17 Dec 2015 09:27:46 +0000 (09:27 +0000)]
lantiq: Configure LED polarity for TDW8970.

This patch configures the correct ath9k WLAN LED polarity for the TDW8970.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47913 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Configure disabled WLAN bands for TDW89X0.
blogic [Thu, 17 Dec 2015 09:27:40 +0000 (09:27 +0000)]
lantiq: Configure disabled WLAN bands for TDW89X0.

The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family.

The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family.

This means that the chip for both routers is 2.4 GHz only.

Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition
(at least on my TDW8970).

So this patch disables the 5 GHz band.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47912 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Allow configuration of ath9k disabled bands and LED polarity from the device...
blogic [Thu, 17 Dec 2015 09:27:31 +0000 (09:27 +0000)]
lantiq: Allow configuration of ath9k disabled bands and LED polarity from the device tree.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47911 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath9k: Allow configuration of LED polarity in platform data.
blogic [Thu, 17 Dec 2015 09:27:24 +0000 (09:27 +0000)]
ath9k: Allow configuration of LED polarity in platform data.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47910 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.
blogic [Thu, 17 Dec 2015 09:27:18 +0000 (09:27 +0000)]
ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47909 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7621: fix error message when initramfs is too large
blogic [Thu, 17 Dec 2015 09:27:09 +0000 (09:27 +0000)]
ramips: mt7621: fix error message when initramfs is too large

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47908 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: remove unwanted change from patch
blogic [Thu, 17 Dec 2015 09:27:00 +0000 (09:27 +0000)]
ramips: remove unwanted change from patch

Remove unwanted change to irq-mips-gic.c from mt7621 support patch

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47907 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet
blogic [Thu, 17 Dec 2015 09:26:51 +0000 (09:26 +0000)]
ramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet

Zero config value for default memory region means 'memory', not
not 'disabled' according to 'Control Registers Of The Coherency
Manager' manual.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47906 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7621: undo mips-cm probe hack to not wipe out memory regions
blogic [Thu, 17 Dec 2015 09:26:43 +0000 (09:26 +0000)]
ramips: mt7621: undo mips-cm probe hack to not wipe out memory regions

Since now we hopefully setup memory regions properly we no longer need this hack.

Tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47905 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7621: setup memory region for pcie controller memory
blogic [Thu, 17 Dec 2015 09:26:35 +0000 (09:26 +0000)]
ramips: mt7621: setup memory region for pcie controller memory

Only compile tested since I do not have any hardware with
devices on pcie bus.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47904 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7621: add patch to setup CM memory region for palmbus
blogic [Thu, 17 Dec 2015 09:26:28 +0000 (09:26 +0000)]
ramips: mt7621: add patch to setup CM memory region for palmbus

This is tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47903 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: update config files to build the cleaned up ethernet driver
blogic [Thu, 17 Dec 2015 09:26:20 +0000 (09:26 +0000)]
ralink: update config files to build the cleaned up ethernet driver

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47902 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: drop dummy profile from mt7688
blogic [Thu, 17 Dec 2015 09:26:09 +0000 (09:26 +0000)]
ralink: drop dummy profile from mt7688

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47901 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: fixup devicetree files to work with new ethernet driver
blogic [Thu, 17 Dec 2015 09:25:57 +0000 (09:25 +0000)]
ralink: fixup devicetree files to work with new ethernet driver

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47900 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: drop old ethernet driver
blogic [Thu, 17 Dec 2015 09:25:30 +0000 (09:25 +0000)]
ralink: drop old ethernet driver

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47899 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: add reworked ethernet driver
blogic [Thu, 17 Dec 2015 09:25:24 +0000 (09:25 +0000)]
ralink: add reworked ethernet driver

update to the version of the driver that is on its way upstream

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47898 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: update to the latest version, fixes more route table issues
nbd [Wed, 16 Dec 2015 23:15:15 +0000 (23:15 +0000)]
netifd: update to the latest version, fixes more route table issues

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

8 years agobcm53xx: print bcm47xxpart buf to debug R8000 UBI problem
rmilecki [Wed, 16 Dec 2015 09:37:16 +0000 (09:37 +0000)]
bcm53xx: print bcm47xxpart buf to debug R8000 UBI problem

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47896 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric/4.4: bump to -rc5
kaloz [Tue, 15 Dec 2015 11:20:38 +0000 (11:20 +0000)]
generic/4.4: bump to -rc5

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

8 years agonetifd: update to the latest version, fixes reload issues on routing table changes
nbd [Tue, 15 Dec 2015 11:01:47 +0000 (11:01 +0000)]
netifd: update to the latest version, fixes reload issues on routing table changes

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

8 years agoar71xx: clean up ethernet tx queue after reset, wake queues when done - fixes hangs...
nbd [Mon, 14 Dec 2015 20:22:09 +0000 (20:22 +0000)]
ar71xx: clean up ethernet tx queue after reset, wake queues when done - fixes hangs reported in #18922

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

8 years agolinux-atm: add wrapper for br2684ctl to defer nasX device bringup
nbd [Mon, 14 Dec 2015 11:02:12 +0000 (11:02 +0000)]
linux-atm: add wrapper for br2684ctl to defer nasX device bringup

Fixes a race condition on netifd device bringup.

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

8 years agoinclude/netfilter.mk: fix kmod-ipt-tee build with 4.3/4.4
nbd [Sun, 13 Dec 2015 18:33:11 +0000 (18:33 +0000)]
include/netfilter.mk: fix kmod-ipt-tee build with 4.3/4.4

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

8 years agoar71xx: Update merakinand.sh to fix sysupgrade
nbd [Sun, 13 Dec 2015 18:05:42 +0000 (18:05 +0000)]
ar71xx: Update merakinand.sh to fix sysupgrade

Remove reliance on /lib/upgrade/nand.sh as this is called by sysupgrade,
based on felix's comments at
https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/037963.html

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47889 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ltq-vdsl-app: cleanup Makefile
nbd [Sun, 13 Dec 2015 17:04:12 +0000 (17:04 +0000)]
lantiq: ltq-vdsl-app: cleanup Makefile

- CONFIG_IFX_CLI is unused, couldn't find any reference to this config variable
- use disable-feature instead of enable-feature=no
- reorder configure args to have depending args together
- remove configure args which set the default value
- group enable-model and configure args which enable or disable features that
  are covered by the feature set

The config.log contains the same values as before. The vdsl_cpe_control binary
has the same checksum as before.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47888 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ltq-vdsl-app: re-add showtime counters support
nbd [Sun, 13 Dec 2015 17:04:02 +0000 (17:04 +0000)]
lantiq: ltq-vdsl-app: re-add showtime counters support

The typicial feature set doesn't include "DSL PM showtime counters support"
(INCLUDE_DSL_CPE_PM_SHOWTIME_COUNTERS). This feature provides the
vdsl_cpe_control command 'pmccsg', which is used by 'dsl_control status' to get
the line uptime.

The binary size increases to 103912 byte (+4256 byte) uncompressed.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47887 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: drop the now unnecessary dependency on opkg/host
nbd [Sun, 13 Dec 2015 17:03:51 +0000 (17:03 +0000)]
base-files: drop the now unnecessary dependency on opkg/host

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

8 years agobuild: add opkg host dependency
nbd [Sun, 13 Dec 2015 17:03:40 +0000 (17:03 +0000)]
build: add opkg host dependency

fixes a missing host opkg
found by: unselect base-files, opkg

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47885 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add missing kernel symbols
blogic [Sat, 12 Dec 2015 21:01:02 +0000 (21:01 +0000)]
ramips: add missing kernel symbols

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47884 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: make kmod-crypto-rng depend on kmod-crypto-hash
nbd [Sat, 12 Dec 2015 12:02:20 +0000 (12:02 +0000)]
kernel: make kmod-crypto-rng depend on kmod-crypto-hash

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

8 years agoar71xx: add rx/tx delay definitons for qca955x's MAC
nbd [Sat, 12 Dec 2015 11:27:51 +0000 (11:27 +0000)]
ar71xx: add rx/tx delay definitons for qca955x's MAC

This patch adds the rx/tx register offsets for the qca955x SoC.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47882 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)
blogic [Sat, 12 Dec 2015 07:38:06 +0000 (07:38 +0000)]
ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)

This router is based on MT7621 SoC, no wifi, no usb, nand.

Works:
* Boots.
* Ethernet.
* Switch.
* Button (reset).
* Flashing OpenWrt from stock firmware.
* Upgrading OpenWrt.

Doesn't work:
* No GPIO leds. All leds are controlled by switch,
  but stock firmware was able to control them.
* SoC has crypto engine but no open driver.
* SoC has nat acceleration, but no open driver.
* This router has 2MB spi flash soldered in but MT
  nand/spi drivers do not support pin sharing,
  so it is not accessable and disabled. Stock
  firmware could read it and it was empty.
* PoE out.

Router has serial pins populated. If looking at the top
of the router, then counting from Eth sockets pins go as:
'GND, RX, TX, GND'. 3.3v, 57600.

U-boot bootloader supports tftpboot, controlled from serial.
This router has two kernel partitions: 'live' and 'backup'.
They are swapped during flashing (on both stock and OpenWrt).
Active partition is controlled by a flag in a factory partition.
U-boot has custom command to switch active kernel partition.
Kernel partitions are 'bare flash' 3MB. Stock bootloader has
no UBI support. Stock rootfs is UBIFS.

Flashing procedure.
Stock firmware uses custom kernel patch to mount squashfs
from a file that is located on UBIFS volume. This makes wiping
out this volume from within stock firmware difficult.
Instead this patch builds image that is flashable by stock firmware
and contains initrams image (with minimal set of packages
to fit into kernel partition). Once this is flashed one can reboot
into initramfs OpenWrt and use sysupgrade to flash OpenWrt including
rootfs into nand.
Note: factory image is only built if initramfs image is enabled.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47881 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add support for Spansion S34ML0[24]G2 flash
blogic [Sat, 12 Dec 2015 07:37:53 +0000 (07:37 +0000)]
ramips: add support for Spansion S34ML0[24]G2 flash

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47880 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: add 'platform_nand_pre_upgrade'
blogic [Sat, 12 Dec 2015 07:37:45 +0000 (07:37 +0000)]
procd: add 'platform_nand_pre_upgrade'

Add 'platform_nand_pre_upgrade' callback to allow platform specific
preparation right before flashinng, when already in ramdisk.

Example uses might be setting correct values for CI_{KERNPART,UBIPART}.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47879 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for Cisco's MR18
blogic [Sat, 12 Dec 2015 06:42:29 +0000 (06:42 +0000)]
ar71xx: add support for Cisco's MR18

This patch adds support for Cisco's MR18.
Detailed instructions for the flashing the device can
be found in the OpenWrt forum thread:
<https://forum.openwrt.org/viewtopic.php?id=59248>

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47878 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: remove stray "+" from ethernet driver
blogic [Sat, 12 Dec 2015 06:42:17 +0000 (06:42 +0000)]
ralink: remove stray "+" from ethernet driver

this is what you get if you manually apply patches with c&p

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47877 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: move partition definitions out of mt7621.dtsi file
blogic [Sat, 12 Dec 2015 06:42:11 +0000 (06:42 +0000)]
ramips: move partition definitions out of mt7621.dtsi file

Partitions defined in parent dtsi cannot be undefined in children.
This moves partitions defined in mt7621.dtsi into board's device tree.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47876 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: use gic timer as clocksource for mt7621
blogic [Sat, 12 Dec 2015 06:42:05 +0000 (06:42 +0000)]
ramips: use gic timer as clocksource for mt7621

* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47875 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: reorganize target patches/files to make it possible to add boards without...
nbd [Fri, 11 Dec 2015 21:12:14 +0000 (21:12 +0000)]
ar71xx: reorganize target patches/files to make it possible to add boards without adding patch files

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

8 years agoar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use...
nbd [Fri, 11 Dec 2015 21:12:04 +0000 (21:12 +0000)]
ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use MAC1 for wlan

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

8 years agoRevert "ramips: use gic timer as clocksource for mt7621"
nbd [Fri, 11 Dec 2015 19:22:15 +0000 (19:22 +0000)]
Revert "ramips: use gic timer as clocksource for mt7621"

This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7.

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

8 years agoar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address
nbd [Fri, 11 Dec 2015 19:21:59 +0000 (19:21 +0000)]
ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address

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

8 years agokernel: crypto-aead depends on crypto-null in 4.3 as well
nbd [Fri, 11 Dec 2015 19:21:49 +0000 (19:21 +0000)]
kernel: crypto-aead depends on crypto-null in 4.3 as well

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

8 years agotools/squashfs4: refresh patches
nbd [Fri, 11 Dec 2015 19:21:43 +0000 (19:21 +0000)]
tools/squashfs4: refresh patches

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

8 years agobuild: for refresh, override HOST_QUILT like QUILT
nbd [Fri, 11 Dec 2015 19:21:29 +0000 (19:21 +0000)]
build: for refresh, override HOST_QUILT like QUILT

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

8 years agoall: drop old uci-defaults.sh
jow [Fri, 11 Dec 2015 15:26:06 +0000 (15:26 +0000)]
all: drop old uci-defaults.sh

Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: migrate network config to board detection framework
jow [Fri, 11 Dec 2015 15:19:43 +0000 (15:19 +0000)]
brcm47xx: migrate network config to board detection framework

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47866 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils: fix various compiler warnings
blogic [Fri, 11 Dec 2015 15:09:30 +0000 (15:09 +0000)]
firmware-utils: fix various compiler warnings

mostly implicit defines due to missing includes plus one const that
shouldn't be one.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47865 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomktplinkfw: add missing exceeding bytes info to logs
blogic [Fri, 11 Dec 2015 15:08:44 +0000 (15:08 +0000)]
mktplinkfw: add missing exceeding bytes info to logs

Add the info on exceeding bytes also to the remaining log messages.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47864 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-lantiq: fix build with gcc5
blogic [Fri, 11 Dec 2015 15:08:34 +0000 (15:08 +0000)]
uboot-lantiq: fix build with gcc5

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47863 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: update procd.sh to support new ujail options
blogic [Fri, 11 Dec 2015 15:08:19 +0000 (15:08 +0000)]
procd: update procd.sh to support new ujail options

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47862 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: bump to latest git HEAD
blogic [Fri, 11 Dec 2015 15:08:05 +0000 (15:08 +0000)]
procd: bump to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47861 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoOpenSSL: Added source/old to PKG_SOURCE_URL
blogic [Fri, 11 Dec 2015 15:07:40 +0000 (15:07 +0000)]
OpenSSL: Added source/old to PKG_SOURCE_URL

OpenSSL moves old versions of the library from
http://www.openssl.org/source/ to
http://www.openssl.org/source/old/$version/ breaking the old links.
That behavior breaks the OpenWRT-build every time OpenSSL releases
a new version.

This patch adds http://www.openssl.org/source/old/$version/ to the
PKG_SOURCE_URL of OpenSSL to avoid breaking the build whenever
OpenSSL releases a new version.

Signed-off-by: Kevin Kirsch <ranlvor@starletp9.de>
Reviewed-by: Alexander Dahl <post@lespocky.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47860 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/squashfs: refresh patches
blogic [Fri, 11 Dec 2015 15:07:28 +0000 (15:07 +0000)]
tools/squashfs: refresh patches

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47859 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/squashfs: add argument -fixed-time to set all timestamps
blogic [Fri, 11 Dec 2015 15:07:15 +0000 (15:07 +0000)]
tools/squashfs: add argument -fixed-time to set all timestamps

-fixed-time <timestamp> set mkfs-timestamp and file-mtime to this timestamp.
Reproducible builds requires the removal of all timestamp or setting all to a specific one.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47858 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: Add option "--all-servers"
blogic [Fri, 11 Dec 2015 15:06:59 +0000 (15:06 +0000)]
dnsmasq: Add option "--all-servers"

Add the option "--all-servers" which forces dnsmasq to send all
queries to all servers and then take the first answer.

Signed-off-by: Andréas Gustafsson <gurgalof@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47857 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils mkmerakifw: firmware generator for MR18
blogic [Fri, 11 Dec 2015 15:06:45 +0000 (15:06 +0000)]
firmware-utils mkmerakifw: firmware generator for MR18

This patch adds firmware generation tool for Cisco's MR18

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47856 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-file: remove /tmp/.jail (now useless)
blogic [Fri, 11 Dec 2015 15:06:31 +0000 (15:06 +0000)]
base-file: remove /tmp/.jail (now useless)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47855 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: use max_brightness to set LED
blogic [Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)]
base-files: use max_brightness to set LED

LEDs which are controlled by a PWM need to use the supplied
max_brightness instead. Otherwise they might appear to be
very dim / broken.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47854 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoncurses: Fix build of libncursew
blogic [Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)]
ncurses: Fix build of libncursew

Packages using libncursesw can fail to build if both libncurses and libncursesw
are not installed. Currently the ncurses.h file is installed in "usr/include/ncursesw"
directory and includes other .h files in the "usr/include" directory incorrectly.
For example: Including <ncursesw/ncurses.h> fails due to these references. These build
changes will set the correct include paths within the developer includes.

Packages that expect ncurses.h (or curses.h) in the default "usr/include" path fail
even when expecting to build with libncursesw and will need to be fixed as well. However,
they cannot be fixed until this patch is applied.

Signed-off-by: Ted Hess <thess@kitschensync.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47853 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: Add dummy sound driver
blogic [Fri, 11 Dec 2015 15:05:53 +0000 (15:05 +0000)]
kernel: Add dummy sound driver

Useful when using sound players that can send to icecast, etc. without any sound device attached.

Signed-off-by: Ted Hess <thess@kitschensync.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47852 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: get rid of ltq-vdsl-fw
blogic [Fri, 11 Dec 2015 15:05:40 +0000 (15:05 +0000)]
lantiq: get rid of ltq-vdsl-fw

Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to
download a dsl firmware at runtime.

Signed-off-by: Andre Heider <a.heider@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47851 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix led setup after switch to uci-defaults-new.sh
blogic [Fri, 11 Dec 2015 15:05:30 +0000 (15:05 +0000)]
lantiq: fix led setup after switch to uci-defaults-new.sh

The switch to uci-defaults-new.sh revealed a bug in the former used
uci-defaults.sh, which failed to add leds with colons in the led name.

This bug isn't any longer present in uci-defaults-new.sh and therefore
all via DT defined leds will be added to /etc/config/system with their initial
on/off state, regardless whether they are already added by the board specific
led mappings.

This results for a BTHOMEHUBV5A into the following led configuration:

- soc:blue:power is added as led_power with the initial state "switched on"
- soc:blue:power is added as led_soc_blue_power with the initial state "switched off"

With the final result of a switched off power led after boot.

The only led that needs to be added is the BTHOMEHUBV5A specific dimmed led.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47850 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: build image for TL-WR710N v2.1
blogic [Fri, 11 Dec 2015 15:05:20 +0000 (15:05 +0000)]
ar71xx: build image for TL-WR710N v2.1

This patch just extends target/linux/ar71xx/image/Makefile to build
images also for version 2.1 of TL-WR710N
patch against the latest git

Signed off by: Norbert Wegener <nw@wegener-net.de>

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

8 years agoar71xx: add LED driver NU801
blogic [Fri, 11 Dec 2015 15:04:57 +0000 (15:04 +0000)]
ar71xx: add LED driver NU801

The MR18 uses a 3-channel 16-bit PWM Constant Current Driver
for its status LED.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47848 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add support for Wallys DR344
blogic [Fri, 11 Dec 2015 15:04:47 +0000 (15:04 +0000)]
ar71xx: Add support for Wallys DR344

This patch is for Wallys DR344 support under OpenWRT

Signed-off-by: Philippe Duchein <wireless-dev@duchein.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47847 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: image for AP121/16M
blogic [Fri, 11 Dec 2015 15:04:22 +0000 (15:04 +0000)]
ar71xx: image for AP121/16M

Build image for the AP121 reference board with 16MB flash.

Signed-off-by: Norbert Wegener <nw@wegener-net.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47846 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add additional support for MQmaker WiTi board
blogic [Fri, 11 Dec 2015 15:04:13 +0000 (15:04 +0000)]
ramips: add additional support for MQmaker WiTi board

The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram,
2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and
one 5 ghz antenna.

This is the 6th submission that adds support for XHCI in the device tree
file, along with switching the location of the 2 radio's and addition of
the kmod-i2c-mt7621 in the default packages of the profile.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47845 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Fix support for PBR-M1 board
blogic [Fri, 11 Dec 2015 15:03:50 +0000 (15:03 +0000)]
ramips: Fix support for PBR-M1 board

The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it.

The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47844 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: use gic timer as clocksource for mt7621
blogic [Fri, 11 Dec 2015 15:03:39 +0000 (15:03 +0000)]
ramips: use gic timer as clocksource for mt7621

* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47843 3c298f89-4303-0410-b956-a3cf2f4a3e73