Commit Graph

15084 Commits (70a7dccd231a6354c887b9e5b127bc1de1201926)

Author SHA1 Message Date
Florian Fainelli 0839afe00f at91: enable Micrel PHY driver
The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.

Backport of r46171

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 22:33:08 +00:00
Felix Fietkau 857fe25803 ramips: enable mt76 by default for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46410

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 16:56:25 +00:00
Hauke Mehrtens cc4df226c8 CC: kernel: add missing config option
This should fix build of sunxi.

Backport of r46304

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:02:47 +00:00
Hauke Mehrtens 4e7d2ffce5 CC: kernel: update 3.18 to 3.18.18
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18

Backport of r46299, r46303 and r46308.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:02:34 +00:00
John Crispin 785740b996 x86/xen_domu: enable image generation
Add features ext4 targz to target x86/xen_domu in order to
generate images in defconfig.

This fixes #18074.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

Backport of r46233

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 05:29:25 +00:00
Felix Fietkau f23168935e ar71xx: fix kernel Oops in at803x_link_change_notify
r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range
extender") introduced a pdata based modification of the tx_clk_dly. But it
was not checked if pdata actually existed. This caused a page fault on all
devices which didn't have at803x_platform_data specified for an at803x
based device.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

Backport of r46200

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-07 21:52:29 +00:00
Jonas Gorski ee00711ff8 CC: kernel: update 3.18 to 3.18.17
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17

Backport of r46150.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:10 +00:00
Jonas Gorski da318364ff CC: brcm63xx: swap a4001n power leds again
This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons").

Fixes #19858.

Backport of r46149.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:03 +00:00
Jonas Gorski 7c301583d5 CC: brcm63xx: unbreak board_probe_switch again
Also move it to an earlier place so new boards added are less likely
to confuse quilt.

Fixes #19965.

Backport of r46148.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:01 +00:00
John Crispin a719bcebec Revert "ar71xx: add profile and build image for EnGenius EPG5000."
This reverts commit ac3184da4138c54b8a2c1be637be7cf78fc40fce.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-29 08:24:13 +00:00
John Crispin d22caaf68d Revert "ar71xx: add user-space support for EnGenius EPG5000."
This reverts commit e3326c4473bc6b7b5fd899ac955af974ebc64b92.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-29 08:24:07 +00:00
John Crispin 00cde0d6e5 Revert "ar71xx: add kernel support for EnGenius EPG5000."
This reverts commit 27386b74adfe868f693176f55861984432afd2ce.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-29 08:24:03 +00:00
Rafał Miłecki d2ddc2550a b53: Allow using all 8 ports on BCM53011
On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000
(BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port
5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and
usually 3 of them are connected to the SoC.

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

Backport of r46104

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-22 07:59:09 +00:00
Rafał Miłecki 23703455ed bcm53xx: respect ACTIVE_LOW when powering USB using GPIO
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46088

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:32 +00:00
Rafał Miłecki 9f49d2c4de bcm53xx: enable USB power on Buffalo WZR-1750DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46087

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:27 +00:00
Rafał Miłecki 481fd13854 bcm53xx: update SPROM driver to include just-sent patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46086

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:21 +00:00
Rafał Miłecki e1c4a480e0 bcm53xx: enable USB power on Netgear R6250
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46083

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:08:03 +00:00
Rafał Miłecki ee102014ab bcm53xx: update xHCI patch
This drops some debugging pr_info and adds platform_device_unregister.

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

Backport of r46082

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:07:58 +00:00
Rafał Miłecki 58d3d3190f bcm53xx: fix enabling GPIO-controlled USB power
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46081

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:07:52 +00:00
Rafał Miłecki 989285d9c5 bcm53xx: add xHCI support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46080

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:07:44 +00:00
Rafał Miłecki 2375855edb ramips: refresh patch with USB_MT7621_XHCI_PLATFORM
Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46085

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:06:31 +00:00
Rafał Miłecki 18d42d6d2e kernel: make USB_XHCI_PLATFORM selectable
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46079

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-21 20:06:24 +00:00
John Crispin 1ef68ff6b0 ralink: add support for mt7621 switch counters
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>

Backport of r46050

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:49 +00:00
John Crispin fe2b64f1f2 ar71xx: add profile and build image for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>

Backport of r46049

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:45 +00:00
John Crispin c92f634e0d ar71xx: add user-space support for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>

Backport of r46048

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:41 +00:00
John Crispin 9f94988bbd ar71xx: add kernel support for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>

Backport of r46047

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:31 +00:00
John Crispin 60e365e854 ar71xx: add support for TL-WR720N-v4.
The hardware should be almost the same as TL-WR720N-v3.  WiFi and LAN networks
were tested by "Lo Yuk Fai <loyukfai@gmail.com>".  Failsafe and slider switch
were tested by "Wong min <alpha080@gmail.com>".

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

Backport of r46046

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:26 +00:00
John Crispin 0aefa67f43 ar71xx: add support for compex wpj531
tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
erase 0x9f680000 +1
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <christian@m3hlis.de>

Backport of r46045

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:20 +00:00
John Crispin 3df0da9819 ar71xx: Add Support for the Bitmain Antminer S1
This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: James Hilliard <james.hilliard1@gmail.com>

Backport of r46044

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:15 +00:00
John Crispin e8f2f57bd1 ramips: Add Support for the Linksys RE6500
This patch adds support for the Linksys RE6500 Range Extender

http://wiki.openwrt.org/toh/linksys/re6500

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

Backport of r46043

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:12 +00:00
John Crispin f3f3f13eba ramips: Add support for the D-Link DCS-930 B1
http://wiki.openwrt.org/toh/d-link/dcs-930l

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

Backport of r46042

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:09 +00:00
John Crispin 33343146d5 ramips: add support for PandoraBox PBR-M1
This patch is for PandoraBox PBR-M1 which is based on mt7621,
all the features work fine, including rtc, leds, button, usb3.0, etc.

Signed-off-by: tymon <banglang.huang@foxmail.com>

Backport of r46041

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 20:24:05 +00:00
John Crispin 48a944c9cb ramips: fix a bug in the cevt code on mt7620
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46038

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 12:06:15 +00:00
Felix Fietkau 7f3d26f38d ar71xx: fix hw id of tl-wr710n image (#19902)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46032

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-18 09:42:00 +00:00
Jo-Philipp Wich c010f595b5 CC: x86/64: enable VirtIO block and console support
This is required to use x86/64 in KVM containers with VirtIO disks

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r46017

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-17 11:36:51 +00:00
Jonas Gorski 79023635ec ar71xx: rb493g: fix gpio-mdio accesses under load
It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.

Performance impact seems to be neglectable, as mdio accesses are not
that often.

Hopefully fixes #19500.

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

Backport of r46012.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-17 10:22:06 +00:00
Jonas Gorski b9c13dc540 kernel: update 3.18 to 3.18.16
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

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

Backport of r46011.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-17 10:22:04 +00:00
Felix Fietkau acdaf65db4 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46007

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-17 09:10:08 +00:00
Rafał Miłecki a0b734b45d bcm53xx: use USB patches sent upstream by Hauke
This stabilizes USB support. The old patch was handling initialization
in a different order that was causing some problems with few USB 3.0
devices. Some weren't detected, some were working unstable, sometimes
USB 3.0 could hang the whole controller.

A still known issue (but not a regression) is controller hang triggered
by connecting USB 1.1 device when not having OHCI controller enabled
(kmod-usb-ohci).

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

Backport of r45997

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-16 08:32:17 +00:00
Felix Fietkau 72f50b76ff kernel: add missing config symbol (#19870)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r45992

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-15 21:16:55 +00:00
Felix Fietkau af8ae399de remove broken targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 18:17:54 +00:00
Felix Fietkau a7bea11085 kernel: remove linux 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 18:17:47 +00:00
Felix Fietkau 04aea8aaab ar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:59 +00:00
Felix Fietkau c5339698b0 ar8216: Fix problem with AR8337 MAC swap handling
AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:50 +00:00
Felix Fietkau 956f2da49e ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M
XW image compatible with other Ubiquiti devices with similar hardware with a
Gigabit Ethernet port.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:18 +00:00
Felix Fietkau 9cb9bd7644 oxnas: change file extension of u-boot+initramfs image
The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:42:00 +00:00
Felix Fietkau 8ec34cb6d3 ar71xx: fix mac offset in firmware file
In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:27 +00:00
Felix Fietkau 9aca50fb00 ar71xx: fix 100/10mbps ethernet link issues on mynet range extender
The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:01 +00:00
Jonas Gorski f9838bef45 brcm63xx: fix A4001N image padding size
When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-11 12:10:43 +00:00
Rafał Miłecki 937fc8a1a4 bcm53xx: update NVRAM driver to MIPS version from upstream-sfr
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 20:34:32 +00:00
Rafał Miłecki 710a339e26 brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 19:52:07 +00:00
Jonas Gorski fed4eb49f0 b53: fix memory out of bounds access on 64 bit targets
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 09:21:36 +00:00
Jonas Gorski 101fe68b5a b53: widen stp state mask to 3 bits (instead of 2)
At least on my b53 chip, the mask is 3 bits wide, and because
of this some STP states are not set properly and discarded when read.

Maybe for some other chips it makes sense to have just 2 bits width,
but I don't have other versions around to test/validate.

If that's the case then maybe we could add another STP state mask.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 09:21:31 +00:00
Felix Fietkau bef1dcfa08 ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 12:51:13 +00:00
Rafał Miłecki fffad27014 kernel: backport config-related bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 12:49:54 +00:00
Rafał Miłecki b0d1acac69 bcm53xx: backport the latest 4.2 ARM BCM5302X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-07 14:41:05 +00:00
Rafał Miłecki 4628924c5c brcm47xx: refresh kernel config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-07 10:09:10 +00:00
Felix Fietkau c31ff15cdd kernel: move a symbol from the ipq806x config to generic to prevent it from being nuked by make kernel_oldconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-07 07:32:35 +00:00
Felix Fietkau cf601e4c16 kernel: remove NAND flash related kmod-* packages
They are useless, as the platform already selects the right options for
NAND support. The main reason for removing them is the fact that it
makes kernel configs more annoying to maintain on platforms that provide
NAND drivers but disable them (e.g. ramips)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-07 07:22:11 +00:00
John Crispin 1319e5d492 ralink: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-07 07:12:23 +00:00
Rafał Miłecki 9e72ab22a0 bcm53xx: refresh kernel config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 22:34:37 +00:00
Rafał Miłecki 775d0ecf90 bcm53xx: fallback to default_do_upgrade if NAND upgrade fails
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 17:52:53 +00:00
Rafał Miłecki 408e385560 bcm53xx: sysupgrade: drop useless shift in platform.sh
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 17:26:05 +00:00
Rafał Miłecki b892cd7e3a brcm47xx: sysupgrade: drop useless shift in platform.sh
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 17:25:57 +00:00
Rafał Miłecki 8ffc27998a bcm53xx: extract TRX from image on the fly
Extracting TRX to separated file in /tmp/ just wastes some RAM while we
can just pass a proper extracting command to the default_do_upgrade.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 17:23:03 +00:00
Rafał Miłecki 2abf42fc31 bcm53xx: sysupgrade: extract TRX partitions directly from vendor image
Extracting full TRX out of vendor format is not needed as otrx supports
passing TRX offset. This saves some RAM during sysupgrade.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-06 17:05:31 +00:00
Rafał Miłecki 3bc05de5c9 bcm53xx: update NVRAM driver to support getting contents
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 21:49:57 +00:00
Rafał Miłecki 5dcf53c610 brcm47xx: backport MIPS BCM47XX changes queued for 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 20:41:18 +00:00
John Crispin ba5dcb3068 ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a
workaround to avoid confusing users.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:12:34 +00:00
John Crispin 29007ace1a ramips: Add support for RT5350F-OLinuXino V2
Version 2 : White spaces and  alphabetical order problems
 fixed
Support for Olimex RT5350F-OLinuXino Boards, tested with RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards. More Info :
 https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/open-source-hardware

Signed-off-by: Dimitar Gamishev HeHoPMaJIeH <gamishev@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:12:25 +00:00
John Crispin 1a05fc5f49 brcm47xx: extract TRX from image on the fly
Extracting TRX to separated file in /tmp/ requires extra RAM which may
not be available on some chepaer devices. Instead of that lets pass a
proper extracting command to the default_do_upgrade.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:12:15 +00:00
John Crispin 2a0f4f1f4e lantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDs
This fixes the LAN2 LED on Arcadyan VGV7510KW22.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:11:51 +00:00
John Crispin bde031625f lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 14:11:36 +00:00
Felix Fietkau bcd4d2d80c ramips: improve tx clean up and add fe_tx_ring struct
if there is any new tx need to clean up. do it in next napi poll.
collect tx related members to fe_tx_ring struct. for better
cache usage and more readable.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 08:59:57 +00:00
Felix Fietkau b8de0b2ee1 ramips: change ethernet napi interrupt sequence
when open device. first ready napi software rx.
then enable hardware interrupt.
final start software tx queue to send data.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 08:59:48 +00:00
Felix Fietkau 3600ab59e0 ramips: fix ethernet vlan tx offload support check when delete
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 08:59:42 +00:00
Felix Fietkau 56597ee25b ramips: fix the memory map on FireWRT
Avoid the use of memory marked as reserved

MT7621 support 512MB memory.
According to "MT7621_ProgrammingGuide_Preliminary_Platform.pdf"
0x0~0x1c000000        448MB
0x20000000~0x4000000  64MB
total 512MB

Signed-off-by: wengbj <fl.service@t-firefly.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 08:07:41 +00:00
Felix Fietkau 487a879e33 kernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems with >256M RAM
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-05 08:07:35 +00:00
Felix Fietkau cf3625aba4 ramips: use highmem on the FireWRT board
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-04 21:45:24 +00:00
Felix Fietkau 4d738c62a0 ramips: enable highmem support for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-04 21:45:12 +00:00
Felix Fietkau 0182dfaad4 ramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues with kernel_menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-04 21:45:01 +00:00
John Crispin c4a1d15d52 lantiq: Make the CRC32 poly value configurable per device
This also adds the old hardcoded value to the VGV7519BRN profile to make
sure that images are still generated correctly.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-03 13:58:57 +00:00
John Crispin bf98ea70d6 ipq806x: missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-03 13:58:30 +00:00
Jonas Gorski f395ee2378 brcm63xx: fix livebox image generation
Livebox does need the uncompressed kernel, so just create it during
image generation.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-02 10:23:45 +00:00
John Crispin 14d5aaa51b ipq806x: move stmmac support in the kernel binary
Ethernet GMAC is built-in the SoC, so there is no need to enable it as a
module. We'll just assume we need it. That's what is done for other
platform where this driver is used so it'll make things more consistent.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 20:11:35 +00:00
Jonas Gorski 434a739862 brcm63xx: delete uncompressed kernels after use
Delete the dtb appended, uncompressed kernels after having compressed
them, so they don't end in the image builder.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 12:37:34 +00:00
Jonas Gorski 956a143cad lantiq: fix VG3503J rootfs offset
In r44391 the kernel partion size was increased to allow larger kernels,
but the rootfs partition offset was missed. Fix this by setting the
rootfs offset to the expected value.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 12:37:24 +00:00
Rafał Miłecki b78ea40b46 kernel: backport ssb fix for WRT350N v1 (BCM4705) reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 06:11:26 +00:00
John Crispin da0fb3da2d au1000: add a missing dependency to the pcmcia module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 06:03:52 +00:00
John Crispin 1ae3b60e05 malta: add default network configuration
I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-31 17:45:43 +00:00
Felix Fietkau 8da0cd2349 ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images
Building the loader in Image/Build/TPLINK-SAFELOADER would break the image
builder as no target compiler is available in that stage.

Fixes #19580

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 22:55:50 +00:00
Felix Fietkau 322128e5c9 ar71xx: add Image/BuildLoaderPatched macro
In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the
kernel command line in the image and then builds the loader without command
line. This allows building loaders for systems which don't boot correctly when
the kernel command line is provided by the loader (like the TP-LINK CPE series).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 22:55:40 +00:00
John Crispin e2404b564f lantiq: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 20:28:57 +00:00
John Crispin 1a7be6d509 kernel: upstream fix: mount overlayfs r/o if workdir cannot be created
move the patch to the proper folder

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 13:16:23 +00:00
Felix Fietkau ae7b7cbcfa ramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 09:39:37 +00:00
Felix Fietkau 5eb118b610 ramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-30 09:01:41 +00:00
Felix Fietkau e9458de87e ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 22:42:32 +00:00
Felix Fietkau 511263a3e6 ramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 21:42:06 +00:00
Felix Fietkau d7a030bfdf ramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 21:25:23 +00:00
Felix Fietkau 3c31cae404 ramips: implement sysupgrade support for whr-300hp2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 21:13:28 +00:00
Jonas Gorski 5072bc7f98 ixp4xx: use usb-*-pci where appropriate
Most boards use pci connected usb controllers, so make sure to include
the pci drivers.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 14:39:12 +00:00
Jo-Philipp Wich 43017da73c sunxi: correct default package selection, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 13:55:26 +00:00
Felix Fietkau 94ad812527 ar71xx: use Image/BuildKernel/Initramfs template to fix image builder errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 13:41:41 +00:00
John Crispin c3f886bce7 generic: mount overlayfs r/o if workdir cannot be created
This is the case e.g. if JFFS2 partition is full.

see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html
(a small error in a logmessage was changed and reported upstream)

runtime tested on ar71xx with kernel 3.18.11 and r45772
this paritially fixes #19564

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:36:42 +00:00
John Crispin b7e1d88789 ipq806x: replace caf nss-gmac driver by upstream stmmac
This driver has been cherry-picked and backported from the following
LKML thread:
*https://lkml.org/lkml/2015/5/26/744

It also updates the DT accordingly.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:26:01 +00:00
John Crispin 3b223a0d0e ipq806x: enable kernel support for Fixed PHY emulation
Most ipq806x platforms use an ethernet switch, and the new upstream
GMAC driver makes use of the Fixed PHY emulation to force the link
settings despite the lack of PHY.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:25:44 +00:00
John Crispin 76543def1c kernel: add missing STMMAC options in generic configs
STMMAC_PLATFORM and STMMAC_PCI have been added recently in the kernel,
but show up only when STMMAC driver is enabled. So se'll add it in the
generic config, so the kernel build doesn't stall whenever we enable
this driver.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:25:29 +00:00
John Crispin e684038a04 ipq806x: move arm-gic include into pcie patch
This include is necessary starting at the PCIe patch, which has a lower
number. So in order to keep the patches consistent, we'll move the
arm-gic include in the first patch who needs it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:25:15 +00:00
John Crispin d4aa39c140 ixp4xx: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 12:20:39 +00:00
John Crispin d893bff4f0 brcm2708: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:28:54 +00:00
John Crispin 63da367760 ipq806x: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:28:44 +00:00
John Crispin e9386e5b52 gemini: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:28:33 +00:00
John Crispin 1cf47d8792 octeon: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:28:20 +00:00
John Crispin b15b638a58 ramips: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:28:10 +00:00
Jo-Philipp Wich 38148fdba1 au1000/au1550: fix profile package list
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:04:04 +00:00
Jo-Philipp Wich 6c3bd069f7 au1000/au1550: enable pcmcia support flag
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:03:59 +00:00
Jo-Philipp Wich 17031080b1 au1000: fix kmod-pcmcia-au1000
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 11:03:55 +00:00
Jo-Philipp Wich d04cf6f1bd mxs: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 08:42:50 +00:00
Jo-Philipp Wich dc94dff8f4 x86/64: add e1000e to the default packages
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 08:20:58 +00:00
Rafał Miłecki aed5ae6704 brcm47xx: image: fix typo in Asus WL-500gP v2 fw file name
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 19:53:59 +00:00
Jo-Philipp Wich ba1290ae1c au1000: use srecimage.pl instead of objcopy, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 15:54:01 +00:00
Jo-Philipp Wich 607e0e6f17 ar7: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 13:45:33 +00:00
Jo-Philipp Wich 939fca8454 at91: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 13:25:21 +00:00
Jo-Philipp Wich b26611b1c7 xburst: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 12:25:45 +00:00
Jo-Philipp Wich e8667624af malta: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 12:05:57 +00:00
Felix Fietkau 99b9333355 adm5120: fix subtarget dependency for kmod-pata-rb153-cf
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 09:06:28 +00:00
Rafał Miłecki c615faeaa0 brcm47xx: add LEDs/buttos for Asus N10U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 08:08:17 +00:00
Rafał Miłecki 3fa2aae0ef brcm47xx: drop 4.0 patch that is in 4.0.4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 08:08:11 +00:00
John Crispin 5dacb25890 ramips: dont set illacc to y by default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 20:06:06 +00:00
John Crispin 57029292e7 ipq806x: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 20:05:03 +00:00
John Crispin f7a022c6f9 ramips: diable ill_acc driver by default
this treacled down via the stable tree and wandered into 3.18.14

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 20:02:04 +00:00
Imre Kaloz 952b6f2b05 mvebu: make flashing more safe
Turn on the auto recovery feature when flashing
and turn it off on successful bootup.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 19:03:22 +00:00
Rafał Miłecki 1d78468105 bcm53xx: build images for Asus devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 16:20:06 +00:00
Rafał Miłecki f97ca978a6 brcm47xx: build images for Asus devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:37:05 +00:00
Jo-Philipp Wich b34ca14765 sunxi: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:34:48 +00:00
Jo-Philipp Wich a9a54d6b5b realview: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:34:38 +00:00
Jo-Philipp Wich 4623336647 omap: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:34:30 +00:00
Jo-Philipp Wich 46f308dba3 ixp4xx: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:34:19 +00:00
Felix Fietkau b810acd44b kernel: bridge: backport two snooping related patches
With this patch the following two patches are backported:

* bridge: fix parsing of MLDv2 reports
* bridge: allow setting hash_max + multicast_router if interface is down

The former one is an important fix which got just applied to the net-tree
and is queued for stable. The latter is a patch which is needed to make
the hash_max and multicast_router attributes configurable through
netifd.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:20:04 +00:00
Jo-Philipp Wich 0c4d4b2013 gemini: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:18:36 +00:00
Jo-Philipp Wich 0186298100 cns3xxx: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:18:29 +00:00
Jo-Philipp Wich 36d122efb0 brcm63xx: use common image prefix
Also remove "redbootscript" and "redbootscript.padded" junk files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:18:21 +00:00
Jo-Philipp Wich ae8e1b18e6 brcm47xx: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:04:02 +00:00
Jo-Philipp Wich a728419e46 arm64: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:57:38 +00:00
Felix Fietkau 6ad2228969 ramips: check size after padding
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:56:22 +00:00
Felix Fietkau c3e4dc5039 kirkwood: disable TSO on the ethernet device by default, fixes data corruption issues (#19735)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:56:13 +00:00
Jo-Philipp Wich b44b5dbb35 ar7: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:53:25 +00:00
Rafał Miłecki cb92cac38a brcm47xx: build image for Asus RT-N66U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 13:54:19 +00:00
Imre Kaloz 331deccdf5 mvebu: update Linux 4.0 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:31:39 +00:00
Imre Kaloz dc562c4e6c generic/4.0: update to 4.0.4
Update kernel sources and refresh some patches.
 
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:31:16 +00:00