openwrt.git
6 years agopackage/libs/lzo: update version to 2.09
blogic [Fri, 1 Apr 2016 07:12:11 +0000 (07:12 +0000)]
package/libs/lzo: update version to 2.09

Updates lzo to version 2.09 and changes copyright to 2016.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49110 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WPN824N: enable buttons
blogic [Fri, 1 Apr 2016 07:12:07 +0000 (07:12 +0000)]
ar71xx: WPN824N: enable buttons

Enable buttons connected to the GPIOs of the AR9285.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49109 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WPN824N: set WLAN LED name
blogic [Fri, 1 Apr 2016 07:12:03 +0000 (07:12 +0000)]
ar71xx: WPN824N: set WLAN LED name

Make use of ap9x_pci_setup_wmac_led_name() to set the name of the WLAN
LED.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49108 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels...
blogic [Fri, 1 Apr 2016 07:12:00 +0000 (07:12 +0000)]
ar71xx: fix the revision of a few TP-LINK devices in AR71XX_MODEL to match labels/image names

Let's not confuse users about the revisions of their devices when we can
easily avoid it.

Not tested on real hardware.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49107 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices
blogic [Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)]
ar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices

Instead of adding the space when combining $model and $hwver, add the space
to the beginning of $hwver, so the resulting string won't end with a space
when $hwver is set to the empty string.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49106 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: check both HWID and HWREV on upgrades of TP-LINK devices
blogic [Fri, 1 Apr 2016 07:11:53 +0000 (07:11 +0000)]
ar71xx: check both HWID and HWREV on upgrades of TP-LINK devices

There's no reason for us to be more lenient than the stock firmware, so
better check the HWREV as well to avoid bricked devices.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49105 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: move different subtarget image generation to separate makefiles to improve...
blogic [Fri, 1 Apr 2016 07:11:48 +0000 (07:11 +0000)]
ramips: move different subtarget image generation to separate makefiles to improve maintainability

- all subtarget specific defines are in their own files
- common defines left in main Makefile
- each subtarget makefile idefed with SUBTARGET
- all subtargets compile tested
- few seems to be broken/unneeded things marked with FIXME

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49104 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agobrcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3
blogic [Fri, 1 Apr 2016 07:11:43 +0000 (07:11 +0000)]
brcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3

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

6 years agobrcmfmac43430-firmware: add new package
blogic [Fri, 1 Apr 2016 07:11:39 +0000 (07:11 +0000)]
brcmfmac43430-firmware: add new package

This adds the firmware needed for the BCM43438 included in Raspberry Pi 3.

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

6 years agoar71xx: WNR2200: enable control of all LEDs and buttons
blogic [Fri, 1 Apr 2016 07:11:34 +0000 (07:11 +0000)]
ar71xx: WNR2200: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR2200 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49101 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WNR2200: fix for random WLAN MAC
blogic [Fri, 1 Apr 2016 07:11:27 +0000 (07:11 +0000)]
ar71xx: WNR2200: fix for random WLAN MAC

Fix for invalid/random/duplicate WLAN MAC address in WNR2200.
Permanent platform MAC is calculated and assigned during system startup.
WLAN MAC follows wired Ethernet interface addresses.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49100 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Add TL-WR841N/ND v11 support
blogic [Fri, 1 Apr 2016 07:11:23 +0000 (07:11 +0000)]
ar71xx: Add TL-WR841N/ND v11 support

This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is
similar to the already supported v10 - see [1]. I have added support
based on that topic; in the meantime it has been confirmed working
(see the forum thread, and also [2]).

Signed-off by Stijn Segers <francesco.borromini@inventati.org>

[1]: https://forum.openwrt.org/viewtopic.php?id=61309
[2]: https://forum.openwrt.org/viewtopic.php?id=63657

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

6 years agomediatek: update patches
blogic [Fri, 1 Apr 2016 07:11:18 +0000 (07:11 +0000)]
mediatek: update patches

add fixes for
* ethernet
* cpufreq
* nand
* a7-timer

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

6 years agokernel: update kernel 3.18 to version 3.18.29
rmilecki [Wed, 30 Mar 2016 16:41:26 +0000 (16:41 +0000)]
kernel: update kernel 3.18 to version 3.18.29

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

6 years agobcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094
rmilecki [Wed, 30 Mar 2016 12:26:24 +0000 (12:26 +0000)]
bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094

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

6 years agobcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094
rmilecki [Wed, 30 Mar 2016 10:23:02 +0000 (10:23 +0000)]
bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094

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

6 years agobcm53xx: simpify USB 3.0 PHY initialization
rmilecki [Wed, 30 Mar 2016 10:22:57 +0000 (10:22 +0000)]
bcm53xx: simpify USB 3.0 PHY initialization

We can use one code path for BCM4707 rev. 4 and BCM53018.

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

6 years agopackage: uboot-sunxi: various changes
wigyori [Tue, 29 Mar 2016 11:42:14 +0000 (11:42 +0000)]
package: uboot-sunxi: various changes
 - bump to 2016.03
 - add bugfixes related to 2016.03 update
 - sync DTS files with mainline
 - add support for non-standard uEnv.txt
 - add initial support for Theobroma A31-yQ7 devboard

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49089 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-mvebu: add package
luka [Fri, 25 Mar 2016 12:07:03 +0000 (12:07 +0000)]
uboot-mvebu: add package

Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49088 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: cosmetic fix of alfa ap120c/ap96 ordering
luka [Thu, 24 Mar 2016 21:09:34 +0000 (21:09 +0000)]
ar71xx: cosmetic fix of alfa ap120c/ap96 ordering

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

6 years agouboot-envtools: add support for ap120c
luka [Wed, 23 Mar 2016 22:31:41 +0000 (22:31 +0000)]
uboot-envtools: add support for ap120c

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

6 years agoar71xx: add support for ap120c
luka [Wed, 23 Mar 2016 22:31:38 +0000 (22:31 +0000)]
ar71xx: add support for ap120c

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

6 years agoar71xx: migrate tplink cpe510 to new build steps
blogic [Wed, 23 Mar 2016 12:52:50 +0000 (12:52 +0000)]
ar71xx: migrate tplink cpe510 to new build steps

cpe510: Tested sysupgrade and initramfs.
Untested: webIf w/ factory.bin & recovery.bin

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

6 years agoar71xx/image: allow builds of loader without cmdline injecting
blogic [Wed, 23 Mar 2016 12:52:47 +0000 (12:52 +0000)]
ar71xx/image: allow builds of loader without cmdline injecting

On most platforms the cmdline is supplied by the loader to the kernel.
When using an elf loader with cmdline the size is bloated by 512k.
For loader-elf platforms like the cpe510 better use loader-elf but patch
the cmdline into the kernel.

wdr1043: Tested loader still works using sysupgade image.

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

6 years agoar71xx/image: introduce LOADER_TYPE to support elf loaders
blogic [Wed, 23 Mar 2016 12:52:44 +0000 (12:52 +0000)]
ar71xx/image: introduce LOADER_TYPE to support elf loaders

The loader decompress a lzma compressed kernel. Some bootloaders
only support elf files like the tplink cpe510

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

6 years agouboot-zynq: Update to U-Boot 2016.03 release
blogic [Wed, 23 Mar 2016 12:52:41 +0000 (12:52 +0000)]
uboot-zynq: Update to U-Boot 2016.03 release

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49078 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agozynq: Simplify boot-img build
blogic [Wed, 23 Mar 2016 12:52:38 +0000 (12:52 +0000)]
zynq: Simplify boot-img build

by adding Device/DefaultConfig macro to define the dts and device in
lower case.

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49077 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WNR1000v2: enable control of all LEDs and buttons
blogic [Wed, 23 Mar 2016 12:52:35 +0000 (12:52 +0000)]
ar71xx: WNR1000v2: enable control of all LEDs and buttons

This patch provides full GPIO support for WNR1000v2 (LEDs and buttons).
It exposes all LEDs to operating system, including Ethernet ones.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49076 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Add QCA955X GPIO mux and function definitions
blogic [Wed, 23 Mar 2016 12:52:31 +0000 (12:52 +0000)]
ar71xx: Add QCA955X GPIO mux and function definitions

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

6 years agoar71xx: Add support for ath79_gpio_function_* on QCA955X
blogic [Wed, 23 Mar 2016 12:52:27 +0000 (12:52 +0000)]
ar71xx: Add support for ath79_gpio_function_* on QCA955X

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

6 years agomac80211: build airo on x86 only
blogic [Wed, 23 Mar 2016 12:52:24 +0000 (12:52 +0000)]
mac80211: build airo on x86 only

airo requires ISA_DMA_API and
that symbol is only set on some ppc,malta,x86
x86 is probably only platform where that driver is used

fixes buildbot errors on ar71xx,lantiq ...:
airo.ko is missing

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

6 years agoRevert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"
blogic [Wed, 23 Mar 2016 12:52:20 +0000 (12:52 +0000)]
Revert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"

Not all mach-* files set all boards correctly in ETH_CFG. They depend on
some preset values by u-boot which were not previously modified by
ath79_setup_qca955x_eth_cfg. Avoiding to modify them in this function keeps
it backward compatible for these boards.

This reverts commit 119b8ab2c2eac237ec4e9c4d0ed53df22b5c6978.

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

6 years agoRevert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"
blogic [Wed, 23 Mar 2016 12:52:17 +0000 (12:52 +0000)]
Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"

The default delays RXD 3. RDV 3, TXD 0, TXE 0 doesn't seem to work for some
boards. These boards depend on the preset values of u-boot which may
differ.

This reverts commit f2d4bb96b62512caa161dcc2867c91692fb16a38.

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

6 years agoar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750
blogic [Wed, 23 Mar 2016 12:52:12 +0000 (12:52 +0000)]
ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750

The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work
correctly under OpenWrt. But the global function
ath79_setup_qca955x_eth_cfg will not unset all of them to increase the
backward compatiblity with older mach-* files. A private (simplified)
version for MR1750 can be used instead.

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

6 years agoar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900
blogic [Wed, 23 Mar 2016 12:52:09 +0000 (12:52 +0000)]
ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900

The MR900 must unset some bits in ETH_CFG which were set by u-boot to work
correctly under OpenWrt. But the global function
ath79_setup_qca955x_eth_cfg will not unset all of them to increase the
backward compatiblity with older mach-* files. A private (simplified)
version for MR900 can be used instead.

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

6 years agooxnas: set ubifs parameters for Default profile
blogic [Wed, 23 Mar 2016 12:52:05 +0000 (12:52 +0000)]
oxnas: set ubifs parameters for Default profile

Work-around obsolete mkfs/ubifs code.
Unlike squashfs, ubifs images should be generated per-device so
minimum I/O unit size, logical erase block size, maximum logical erase
block count can be defined for the specific flash-chips parameters.
Also, generating ubinized images is unrelated to rootfs being ubifs or
squashfs, but rather depends on the device supporting UBI or not.
In the meantime and in order to fix an error which currently causes the
image generation on buildbot to fail, work-around by defining
UBIFS_OPTS for the Default profile.
See also
http://buildbot.openwrt.org:8010/builders/oxnas/builds/246/steps/compile_8/logs/stdio

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49068 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agomediatek: patch block2mtd to allow cmdlineparts to work
blogic [Wed, 23 Mar 2016 11:12:34 +0000 (11:12 +0000)]
mediatek: patch block2mtd to allow cmdlineparts to work

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

6 years agomediatek: update patches
blogic [Tue, 22 Mar 2016 21:14:51 +0000 (21:14 +0000)]
mediatek: update patches

fixes trgmii on old eco and adds nand support

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

6 years agomt76: fix compile error
blogic [Mon, 21 Mar 2016 20:42:56 +0000 (20:42 +0000)]
mt76: fix compile error

gcc complained about uninitialized variables

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

6 years agomediatek: bump to v4.4
blogic [Mon, 21 Mar 2016 20:42:51 +0000 (20:42 +0000)]
mediatek: bump to v4.4

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

6 years agogeneric/4.4: remove ISSI SI25CD512 SPI flash support patch
juhosg [Mon, 21 Mar 2016 14:18:53 +0000 (14:18 +0000)]
generic/4.4: remove ISSI SI25CD512 SPI flash support patch

The flash is already supported in mainline kernel since 4.3-rc1.

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

6 years agoramips: lzma-loader: fix O32 ABI conformance
juhosg [Mon, 21 Mar 2016 13:15:29 +0000 (13:15 +0000)]
ramips: lzma-loader: fix O32 ABI conformance

According to the calling convention of the o32 ABI the
caller function must reserve stack space for $a0-$a3
registers in case the callee needs to save its arguments.

The assembly startup code does not reserve stack space
for these registers thus when the main C function needs
to save its arguments, that will cause a stack overflow.

Fix the assembly code to reserve stack space for the
registers to avoid that.

Untested. It seems that the lzma-loader is not used at all?

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

6 years agolantiq: lzma-loader: fix O32 ABI conformance
juhosg [Mon, 21 Mar 2016 13:15:25 +0000 (13:15 +0000)]
lantiq: lzma-loader: fix O32 ABI conformance

According to the calling convention of the o32 ABI the
caller function must reserve stack space for $a0-$a3
registers in case the callee needs to save its arguments.

The assembly startup code does not reserve stack space
for these registers thus when the main C function needs
to save its arguments, that will cause a stack overflow.

Fix the assembly code to reserve stack space for the
registers to avoid that.

Compile tested only.

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

6 years agobrcm47xx: lzma-loader: fix cache invalidation
juhosg [Mon, 21 Mar 2016 13:15:22 +0000 (13:15 +0000)]
brcm47xx: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Compile tested only.

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

6 years agobrcm47xx: lzma-loader: remove trailing whitespaces from head.S
juhosg [Mon, 21 Mar 2016 13:15:21 +0000 (13:15 +0000)]
brcm47xx: lzma-loader: remove trailing whitespaces from head.S

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

6 years agoadm5120: lzma-loader: fix cache invalidation
juhosg [Mon, 21 Mar 2016 13:15:16 +0000 (13:15 +0000)]
adm5120: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Compile tested only.

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

6 years agoadm5120: lzma-loader: remove trailing whitespaces from head.S
juhosg [Mon, 21 Mar 2016 13:15:13 +0000 (13:15 +0000)]
adm5120: lzma-loader: remove trailing whitespaces from head.S

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

6 years agogeneric: lzma-loader: fix cache invalidation
juhosg [Mon, 21 Mar 2016 13:15:09 +0000 (13:15 +0000)]
generic: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Tested on RB532.

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

6 years agogeneric: lzma-loader: remove trailing whitespaces from start.S
juhosg [Mon, 21 Mar 2016 13:15:05 +0000 (13:15 +0000)]
generic: lzma-loader: remove trailing whitespaces from start.S

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

6 years agoodhcp6c : Silence mtu write error warnings
blogic [Sun, 20 Mar 2016 18:48:59 +0000 (18:48 +0000)]
odhcp6c : Silence mtu write error warnings

Silence warning "daemon.notice netifd: wan6 (1139): sh: write error: Invalid argument"
when an invalid MTU is received via RA as kernel refuses to accept IPv6 mtu values
which are smaller than 1280 and bigger than the device mtu.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49054 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: WNR1000v2: fix for random WLAN MAC
blogic [Sun, 20 Mar 2016 14:41:58 +0000 (14:41 +0000)]
ar71xx: WNR1000v2: fix for random WLAN MAC

Fix for invalid/random WLAN MAC address in WNR1000v2. Permanent platform
MAC is calculated and assigned during system startup. WLAN MAC follows
wired Ethernet interface addresses. This is the same fix as for WNR2000v3
and WNR612v2.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49051 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolantiq: use upstream mechanism to append device tree file
blogic [Sun, 20 Mar 2016 14:41:54 +0000 (14:41 +0000)]
lantiq: use upstream mechanism to append device tree file

Instead of using our patch-dtb program just place the device tree
behind the kernel binary and then let the in kernel mechanism fetch it.
This also adds support for having the device tree file in the boot
loader.

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

6 years agowireless: remove rtl8188eu (staging)
blogic [Sun, 20 Mar 2016 14:41:49 +0000 (14:41 +0000)]
wireless: remove rtl8188eu (staging)

- depends on CFG80211 (upstream: 9da4aa48d04bbdbae3c959809e14da2bf0c53f61)
in os_dep/mon.c

This removes rtl8188eu completely from OpenWrt
since mac80211/compat-wireless/backports does not
provide staging wireless drivers

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

6 years agowireless: add vendor dirs
blogic [Sun, 20 Mar 2016 14:41:44 +0000 (14:41 +0000)]
wireless: add vendor dirs

Kernel 4.5 changes wireless driver organisation

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

6 years agomac80211: add cisco airo
blogic [Sun, 20 Mar 2016 14:41:41 +0000 (14:41 +0000)]
mac80211: add cisco airo

airo depends on cfg80211, move it to mac80211

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

6 years agowireless: remove cisco airo
blogic [Sun, 20 Mar 2016 14:41:37 +0000 (14:41 +0000)]
wireless: remove cisco airo

it depends on cfg80211
cfg80211 & wext drivers don't mix on OpenWrt

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

6 years agoramips: MiWifi-Nano - change gpios to leds, add to default build group
blogic [Sun, 20 Mar 2016 14:41:33 +0000 (14:41 +0000)]
ramips: MiWifi-Nano - change gpios to leds, add to default build group

1) Use leds to indicate:
Red - Power
Amber - Radio On
Blue - Wifi associated
2) Add profile to default build group for MT7628 subtarget

Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49045 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agooxnas: sync cpu-hotplug with mach-realview
blogic [Sun, 20 Mar 2016 14:41:29 +0000 (14:41 +0000)]
oxnas: sync cpu-hotplug with mach-realview

Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c,
just cosmetics and maintainability concerns, no functional changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49044 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agooxnas: add spinlock in pinctrl driver
blogic [Sun, 20 Mar 2016 14:41:25 +0000 (14:41 +0000)]
oxnas: add spinlock in pinctrl driver

Try to address a race-condition in pinctrl-oxnas.c

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49043 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agooxnas: also reset GPIO B registers on boot
blogic [Sun, 20 Mar 2016 14:41:21 +0000 (14:41 +0000)]
oxnas: also reset GPIO B registers on boot

Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of
writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error.
Thanks to anonymous to bring this up in #21892!

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49042 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agooxnas: switch to new image generation template
blogic [Sun, 20 Mar 2016 14:41:17 +0000 (14:41 +0000)]
oxnas: switch to new image generation template

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49041 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agooxnas: add Default profile and reorganize device profiles
blogic [Sun, 20 Mar 2016 14:41:13 +0000 (14:41 +0000)]
oxnas: add Default profile and reorganize device profiles

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49040 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoinclude/image.mk: allow including U-Boot environment in UBI
blogic [Sun, 20 Mar 2016 14:41:06 +0000 (14:41 +0000)]
include/image.mk: allow including U-Boot environment in UBI

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49039 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agolinux-firmware: fix rt73-usb-firmware package
hauke [Sat, 19 Mar 2016 11:00:09 +0000 (11:00 +0000)]
linux-firmware: fix rt73-usb-firmware package

Some parts of this package were named rt73-pci-firmware before which
looks like a copy and past error. This renames all parts to rt73-usb-
firmware and then the firmware gets build and the dependencies from the
package with the kernel module are also working correctly.

This fixes #22069

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

6 years agokernel: update kernel 4.1 to version 4.1.20
hauke [Fri, 18 Mar 2016 23:41:21 +0000 (23:41 +0000)]
kernel: update kernel 4.1 to version 4.1.20

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

6 years agomac80211: libertas-spi: deactivate for UML target
hauke [Thu, 17 Mar 2016 23:09:20 +0000 (23:09 +0000)]
mac80211: libertas-spi: deactivate for UML target

The UML target does not have spi support.
This fixes a build problem found by the build bot.

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

6 years agokernel: add missing kernel options
hauke [Thu, 17 Mar 2016 22:36:27 +0000 (22:36 +0000)]
kernel: add missing kernel options

This was found by the build bot.

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

6 years agokernel: update kernel 4.4 to version 4.4.6
hauke [Thu, 17 Mar 2016 21:41:07 +0000 (21:41 +0000)]
kernel: update kernel 4.4 to version 4.4.6

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

6 years agoar71xx: Use PHY fixups for Open Mesh MR1750
blogic [Wed, 16 Mar 2016 09:27:14 +0000 (09:27 +0000)]
ar71xx: Use PHY fixups for Open Mesh MR1750

The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

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

6 years agoar71xx: Use PHY fixups for Open Mesh MR900
blogic [Wed, 16 Mar 2016 09:27:11 +0000 (09:27 +0000)]
ar71xx: Use PHY fixups for Open Mesh MR900

The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

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

6 years agoar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x
blogic [Wed, 16 Mar 2016 09:27:08 +0000 (09:27 +0000)]
ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x

Some u-boot versions for QCA955x change the delays based on the link speed
during boot. This usually breaks the support of other linkspeeds when
OpenWrt is booted. It also conflicts with the
at803x_platform_data::fixup_rgmii_tx_delay. OpenWrt has to set its own
values in QCA955X_GMAC_REG_ETH_CFG.

The default RGMII values from the Atheros u-boot are currently used to
preset the existing mach files. These may have to be adjusted for boards
using different values but which are not currently set them explicitely in
OpenWrt.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Cc: Gabor Juhos <juhosg@openwrt.org>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Christian Beier <cb@shoutrlabs.com>
Cc: Chris R Blake <chrisrblake93@gmail.com>
Cc: Benjamin Berg <benjamin@sipsolutions.net>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Cc: Matthias Schiffer <mschiffer@universe-factory.net>
Cc: Dirk Neukirchen <dirkneukirchen@web.de>
Cc: Christian Mehlis <christian@m3hlis.de>
Cc: Luka Perkov <luka@openwrt.org>
Cc: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49029 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoar71xx: Clear bits in ath79_setup_qca955x_eth_cfg
blogic [Wed, 16 Mar 2016 09:27:04 +0000 (09:27 +0000)]
ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg

Some u-boot versions for QCA955x set currently not cleared bits depending
on the used link speed. This breaks the rx/tx under OpenWrt. The mach-*.c
file is responsible to select the correct configuration bits and thus the
ath79_setup_qca955x_eth_cfg has to clear the unset.

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

6 years agoar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFG
blogic [Wed, 16 Mar 2016 09:27:01 +0000 (09:27 +0000)]
ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFG

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

6 years agoar71xx: Add support for the OMYlink OMY-X1
blogic [Wed, 16 Mar 2016 09:26:58 +0000 (09:26 +0000)]
ar71xx: Add support for the OMYlink OMY-X1

This patch adds support for the OMYlink OMY-X1

https://wiki.openwrt.org/toh/omylink/omy-x1

http://www.omylink.com/

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49026 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agotools/flex: update to 2.6.1
blogic [Wed, 16 Mar 2016 09:26:51 +0000 (09:26 +0000)]
tools/flex: update to 2.6.1

Update flex to 2.6.1
* Flex has moved to Github, adjust download link
* Remove patch that has been applied upstream
* Disable building tests to avoid circular dependency to bison
  - disable also docs and examples at the same time

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49025 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoramips: Add support for Xiaomi MiWiFi Nano
blogic [Wed, 16 Mar 2016 09:26:48 +0000 (09:26 +0000)]
ramips: Add support for Xiaomi MiWiFi Nano

Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash

Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com>
v3  includes changes suggested by L. D. Pinney & Karl Palsson-
Eliminate en25q64 (4MB) flash chip
Alphabetization
Remove hyphen in model
Rename profile from miwifinano.mk to xiaomi.mk
Add gpios that are attached to leds

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

6 years agobrcmfmac: Add Raspberry Pi 3 support
blogic [Wed, 16 Mar 2016 09:26:42 +0000 (09:26 +0000)]
brcmfmac: Add Raspberry Pi 3 support

- Enable SDIO support on brcmfmac.
- Disable power managment for brcm2708 target.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49023 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agokirkwood: refresh patches
luka [Mon, 14 Mar 2016 17:13:22 +0000 (17:13 +0000)]
kirkwood: refresh patches

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

6 years agokirkwood: drop 3.18
luka [Mon, 14 Mar 2016 17:12:08 +0000 (17:12 +0000)]
kirkwood: drop 3.18

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

6 years agokirkwood: switch to 4.4
luka [Mon, 14 Mar 2016 17:06:21 +0000 (17:06 +0000)]
kirkwood: switch to 4.4

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

6 years agokirkwood: add 4.4 support
luka [Mon, 14 Mar 2016 17:06:20 +0000 (17:06 +0000)]
kirkwood: add 4.4 support

Dropped patches because they applied upstream:

- 120-iomega_ix2_200.patch
- 150-pogoplug_e02.patch

Tested on dockstar and goflexnet.

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

6 years agouboot-kirkwood/goflexhome: explicit define the size of the last partition
luka [Mon, 14 Mar 2016 17:06:18 +0000 (17:06 +0000)]
uboot-kirkwood/goflexhome: explicit define the size of the last partition

Explicit sets the size of the mtdparts, because the kernel has also an explicit value.
If they have diffent sizes the ubi won't be detected.

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

6 years agouboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"
luka [Mon, 14 Mar 2016 17:06:17 +0000 (17:06 +0000)]
uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"

otherwise the uboot is missing important commands like bootz

Signed-off-by: Martin Mueller <mm@sig21.net>
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49017 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agouboot-kirkwood/goflexhome: update bootargs to use new ubi style
luka [Mon, 14 Mar 2016 17:06:16 +0000 (17:06 +0000)]
uboot-kirkwood/goflexhome: update bootargs to use new ubi style

Since switching to new ubi(kernel,squashfs,ubifs) layout, the kernel lies in a
ubi volume. Dropping the mtd parts because the mtd layout is saved in the
device-tree, which is appended to the zImage.

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

6 years agokirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb
luka [Mon, 14 Mar 2016 17:06:15 +0000 (17:06 +0000)]
kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb

Previous the uboot was overwriting the device-tree's mtd layout to use
the last 3 mb.

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

6 years agokirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume...
luka [Mon, 14 Mar 2016 17:06:14 +0000 (17:06 +0000)]
kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume "ubi"

The kernel will automatic attach mtd partitions named 'ubi' to ubi0.
Renaming the "root" partition into "ubi" will safe arguments
from the kernel cmdline.

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

6 years agolinux/kirkwood: migrate goflexhome/goflexnet to new ubi style
luka [Mon, 14 Mar 2016 17:06:12 +0000 (17:06 +0000)]
linux/kirkwood: migrate goflexhome/goflexnet to new ubi style

Also using the new image build step format

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

6 years agouboot/kirkwood: correct mtdparts + cmdline for new ubifs on dockstar
luka [Mon, 14 Mar 2016 17:06:11 +0000 (17:06 +0000)]
uboot/kirkwood: correct mtdparts + cmdline for new ubifs on dockstar

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

6 years agokirkwood/dockstar: rename partition into ubi to use auto detection of target mtd
luka [Mon, 14 Mar 2016 17:06:10 +0000 (17:06 +0000)]
kirkwood/dockstar: rename partition into ubi to use auto detection of target mtd

the kernel tries to use "ubi" or "data" labeled partition to find it's root filesystem.
dockstar don't need anymore mtdparts= nor root= bootarguments

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

6 years agokirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images
luka [Mon, 14 Mar 2016 17:06:09 +0000 (17:06 +0000)]
kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images

The new image requires `bootz` because of devicetree appending.
To flash a new image boot initramfs:

  tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin
  bootz 0x800000

  # detach if already attached
  ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')
  # scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp
  ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin
  # attach is important to resize rootfs_data otherwise it wont boot
  ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')

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

6 years agokirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images
luka [Mon, 14 Mar 2016 17:06:08 +0000 (17:06 +0000)]
kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images

depending on KERNEL_IN_UBI, the image.mk will create a ubi volume for the kernel

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

6 years agokirkwood: add feature devicetree
luka [Mon, 14 Mar 2016 17:06:06 +0000 (17:06 +0000)]
kirkwood: add feature devicetree

this platform already uses devicetree

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

6 years agobrcm47xx: image: create standard TRX images using new building system
rmilecki [Fri, 11 Mar 2016 21:31:34 +0000 (21:31 +0000)]
brcm47xx: image: create standard TRX images using new building system

Apart from using our new building system there are 2 more changes:

1) Limit amount of images
So far we were generating all standard images (optimized one and two
with no loader) for every SUBTARGET. This is not needed, as e.g. the
only device requiring gzipped kernel is legacy Huawei E970.

2) Change output names
The new image building system requires specifying device name. This
forced picking some and resulted in:
openwrt-brcm47xx-$(SUBTARGET)-squashfs.trx
openwrt-brcm47xx-$(SUBTARGET)-squashfs-gz.trx
openwrt-brcm47xx-$(SUBTARGET)-squashfs-noloader-nodictionary.trx
becoming:
openwrt-brcm47xx-$(SUBTARGET)-standard-squashfs.trx
openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-gz-squashfs.trx
openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-nodictionarylzma-squashfs.trx

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

6 years agoRevert "kernel: Linux IP Virtual Server kernel modules (netfilter.mk patch)"
jow [Fri, 11 Mar 2016 13:31:48 +0000 (13:31 +0000)]
Revert "kernel: Linux IP Virtual Server kernel modules (netfilter.mk patch)"

This reverts commit 845d82da156781135b027ecf75ff67e2253e06dd.

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

6 years agooxnas: complete NAND driver clean-up
blogic [Thu, 10 Mar 2016 21:19:58 +0000 (21:19 +0000)]
oxnas: complete NAND driver clean-up

some bit rot was accidentally left-out in r48986, remove it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48997 3c298f89-4303-0410-b956-a3cf2f4a3e73

6 years agoprocd: fix respawn related warning
blogic [Thu, 10 Mar 2016 20:15:59 +0000 (20:15 +0000)]
procd: fix respawn related warning

WARNING: Variable 'respawn' does not exist or is not an array/object

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

6 years agotools/cmake: fix compile on Alpine Linux
blogic [Thu, 10 Mar 2016 19:12:15 +0000 (19:12 +0000)]
tools/cmake: fix compile on Alpine Linux

internal jsoncpp include order leads to multiple build
errors on Alpine Linux which uses musl libc

use include order from upstream jsoncpp

first error was:
In file included from /usr/include/c++/5.3.0/stdexcept:38:0,
                 from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/include/json/assertions.h:16,
                 from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:7:
/usr/include/c++/5.3.0/exception:35:9: error: '#pragma' is not allowed here
 #pragma GCC visibility push(default)

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

6 years agoramips: Add support for GL-MT750
blogic [Thu, 10 Mar 2016 19:12:10 +0000 (19:12 +0000)]
ramips: Add support for GL-MT750

This patch adds support for GL-MT750.
GL-MT750 is powered by MT7620A and MT7610e, dual band 802.11ac, 2.4G 300Mbps and 5G 450Mbps.
It has 5 LANs, MMC interface, USB, a lot of IOs and PoE support.

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

6 years agoramips: Add support for GL-MT300N
blogic [Thu, 10 Mar 2016 19:12:04 +0000 (19:12 +0000)]
ramips: Add support for GL-MT300N

This patch adds support for GL-MT300N.
GL-MT300N is powered by MT7620N with 16MB flash, 64MB RAM,
2 LANs, USB, UART, GPIO and PoE support.

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

6 years agoramips: Add support for GL-MT300A
blogic [Thu, 10 Mar 2016 19:11:57 +0000 (19:11 +0000)]
ramips: Add support for GL-MT300A

This patches adds support for GL-MT300A.
GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM,
Two LANs, USB, UART and MMC daughter board.

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