Commit Graph

14025 Commits (50bd81d3df1da5fede46e2f62c7cce53065c3ec4)

Author SHA1 Message Date
Imre Kaloz 623f057f46 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:18:59 +00:00
Imre Kaloz 32a16916ad mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:16:20 +00:00
Imre Kaloz fd2b6e002e mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:31:52 +00:00
Imre Kaloz 6fb6373091 mvebu: Enable the A385 AP on 3.19
In order for the image to be built, some patches need to be ported to 3.19.
 
Add the relevant patches. Note that most of them (if not all) should be merged
in 3.20, removing the need to carry them on then.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 15:41:07 +00:00
Imre Kaloz ecf2d3a6ef mvebu: add Armada 385 DB AP support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:34:21 +00:00
Imre Kaloz c0e5c48199 mvebu: add the Armada 385 Reference Design support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:29:56 +00:00
Imre Kaloz c3cc30bc84 mvebu: fix NAND and NOR options
All the boards but Mamba had wrong UBI options so far, making it impossible to
flash the built image on their respective storage medium.
 
Fix all of the supported boards in order to make the generated images useful.
 
Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND
chip datasheet for the others.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:26:17 +00:00
Imre Kaloz 6c1456ba13 mvebu: add a subprofile for boards based on a small NOR
Some boards only come with a small NOR on it, where UBI isn't a good solution
because of its overhead.
 
Add a new subprofile for such boards, that rely on the mtd split framework
instead.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:25:21 +00:00
Imre Kaloz fc9eed5539 mvebu: add large NOR sub-profile implementation
While we supported only the NAND so far, some boards use a large enough NOR,
where UBI is the only reasonable option. Create a new sub-profile template with
a different set of UBI options.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:24:10 +00:00
Imre Kaloz 552279824c mvebu: Add sub-profiles
In order to support the various board NAND layout that we support, introduce a
sub-profile similar to the one used by ar71xx.
 
These subprofiles provide a default implementation for most of the building
functions, while allowing each sub-profile to override any of these operations
in order to have a more specific behaviour, like Mamba expects for example.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:22:43 +00:00
Imre Kaloz d2fa50e57a generic: allow ubi autoattach to run on NOR flash
Some devices out there only have a NOR flash to store the rootfs on.
 
While using UBI is arguable on this kind of flash, this is something that should
be supported.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:21:31 +00:00
Imre Kaloz ebfbc428e2 mvebu: Add MTD split framework support
We're going to need the MTD split related options for our NOR support.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:14:53 +00:00
John Crispin 207f4c59ac ar71xx: add support for the TP-LINK TL-WR941ND v5
This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:20 +00:00
John Crispin 65439af50d at71xx: TP-LINK Archer: add 5GHz led entry
Add 5GHz led entry after r44033.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:12 +00:00
John Crispin 3131f64da4 ralink: fix USB host function for Intenso M2M
The ubootloader of the M2M sets the reset bits for
both USB device and USB host during initialization
(to save a few mA of power during boot).

However, for the usb<->sata bridge to be properly
detected, it is necessary to clear both reset bits
as otherwise the kernel logs will just be filled
with:

usb 1-1: device descriptor read/64, error -145
...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-03 10:11:11 +00:00
John Crispin 1c45ec1021 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 10:32:04 +00:00
John Crispin d5add0371f ralink: cleanup firefly default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:35 +00:00
John Crispin c532af473b ralink: add FireWRT button detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:16 +00:00
John Crispin 4b21f8fd9c ralink: add FireWRT led detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:10 +00:00
John Crispin ac8a6123f8 ralink: add ethernet macaddr to dts for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:02 +00:00
John Crispin 6e37a7e628 ramips: add support for Xiaomi MiWiFi Mini devices
This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:01:07 +00:00
John Crispin 560f9d5637 added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:00:21 +00:00
Felix Fietkau 9763f432cf ramips: fix ethernet driver tx completion polling
- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 08:20:37 +00:00
Jo-Philipp Wich 45dce2ab93 x86_64: add more symbols required to enable SMP
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 22:23:01 +00:00
Jo-Philipp Wich e053c41ea2 x86_64: support HyperThreading and SMP with up to 8 CPUs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 17:33:32 +00:00
Rafał Miłecki f2f10560c9 kernel: disable bcma's usage of OF API in kernel 3.10
It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 16:43:13 +00:00
Jo-Philipp Wich 65b02ac916 linux: fix mips boot decompressor build
Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 10:04:23 +00:00
John Crispin 93eb47fb3d ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 08:06:40 +00:00
Rafał Miłecki 61f0b79e06 bcm53xx: fix partitions on Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 07:25:43 +00:00
Rafał Miłecki 6748315e99 bcm53xx: fix booting BCM4709
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:58:35 +00:00
Rafał Miłecki 1897829a18 bcm53xx: fix Netgear R8000 serial console
Thanks raven-auand.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:30:44 +00:00
Zoltan HERPAI d8091bdb4b sunxi: disable MMC debugging in kernel config
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:19:18 +00:00
Zoltan HERPAI 38b7a18d3c sunxi: workaround switch being uninitialized on netifd startup
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:18:21 +00:00
Zoltan HERPAI dab2d03d87 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:17:16 +00:00
Zoltan HERPAI aa2d8b3cbb sunxi: use sunxi_board_name when generating default network settings
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:14:17 +00:00
Zoltan HERPAI f75f6ead64 sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:12:29 +00:00
Zoltan HERPAI 523564cf44 sunxi: implement board_detect for device-tree kernels
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:11:30 +00:00
Jo-Philipp Wich b8eccbebe3 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:15:53 +00:00
Jo-Philipp Wich defffd7cd1 Revert "x86_64: enable PCIE support"
This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:15:45 +00:00
Jo-Philipp Wich 293b505f46 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:12:29 +00:00
Rafał Miłecki 5edc190fef bcm53xx: early support for Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 21:55:43 +00:00
Rafał Miłecki 19be6485d5 kernel: bcm47xxpart: support T_Meter partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 21:26:31 +00:00
John Crispin f91b6a228c ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 19:19:47 +00:00
Jo-Philipp Wich 7558535a9e linux: add upstream patch to allow building dwc2 as module on 3.18
Also add the required config symbols to usb.mk

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 13:45:06 +00:00
John Crispin 1dfcf9183c kernel: add LZ4 decompressors to kconfig hack
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:35 +00:00
John Crispin dba339a5c1 kernel: kmod-usb2-pci to Intel ixp4xx/Geode
Signed-off-by: Ted Hess <thess@kitschensync.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:28 +00:00
John Crispin 3e6b801eb4 ralink: check ethernet MAC address whether it is valid
The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff.
This patch is purpose to fix this issue.

Signed-off-by: wengbj <linux.c@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:22 +00:00
John Crispin 27fe727852 ar71xx: add default LED configuration for D-Link DIR-615 rev. C1
This patch adds an entry in the uci-defaults' led-file to configure the
WAN and WLAN LEDs by default.

Signed-off-by: Vincent Wiemann <me@bibbl.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:13 +00:00
Luka Perkov afcc1ab062 kernel: update 3.14 to 3.14.30
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 01:00:08 +00:00
Rafał Miłecki 12b5776139 kernel: bcm47xxpart: support boart_data partition on Xiaomi
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 22:13:18 +00:00