Commit Graph

13391 Commits

Author SHA1 Message Date
John Crispin
28353b3fc5 kernel: fix compile error inside adm6996.c
drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]

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

SVN-Revision: 44333
2015-02-09 12:09:17 +00:00
Jo-Philipp Wich
49fda5e4d9 sdk: use prepare target to initialize git snapshot
The new approach is less prone to race conditions and will properly
snapshot the symlinks prepared by the prereq-build target.

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

SVN-Revision: 44330
2015-02-08 22:54:27 +00:00
Luka Perkov
4b0fbf3072 ramips: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44324
2015-02-08 15:42:42 +00:00
Nicolas Thill
6b8f598ca6 linux/generic: add missing config symbols
Related to debug/tracing, only added to 3.14+, might be needed for older versions as well

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44323
2015-02-08 15:34:20 +00:00
Nicolas Thill
ad6f7dffa5 linux/sunxi: rename A20-OLinuXino-Lime profile
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44322
2015-02-08 15:34:13 +00:00
Luka Perkov
f6a01dd3d1 x86: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44321
2015-02-08 15:31:25 +00:00
Luka Perkov
683da1384b lantiq: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44320
2015-02-08 15:09:45 +00:00
Luka Perkov
7294b892dc kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44319
2015-02-08 12:01:39 +00:00
Luka Perkov
b9d513158e kernel: update 3.18 to 3.18.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44318
2015-02-08 12:01:37 +00:00
Jo-Philipp Wich
e972c95cf0 x86: declare missing kernel symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44316
2015-02-07 21:26:20 +00:00
Luka Perkov
efc28a75fe ar71xx: ubnt: move new board patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44315
2015-02-07 21:11:06 +00:00
Luka Perkov
0067ab8e39 ar71xx: rb2011: apply patch to file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44314
2015-02-07 21:10:51 +00:00
Jo-Philipp Wich
65ec08d1b0 imagebuilder: align filename with SDK
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44313
2015-02-07 21:01:48 +00:00
Jo-Philipp Wich
f52a62d600 sdk: rename file to mention target/subtarget and move host system to suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44312
2015-02-07 21:01:43 +00:00
Jo-Philipp Wich
e9c10a0c8e toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44311
2015-02-07 21:01:37 +00:00
Luka Perkov
fcfbbfc385 ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44309
2015-02-07 20:53:16 +00:00
Luka Perkov
54ac4e0600 ar71xx: uci-defaults: add el-mini to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44307
2015-02-07 19:59:05 +00:00
Luka Perkov
8ca6c1acd4 ar71xx: qihoo: define flash variable as static
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44306
2015-02-07 19:59:02 +00:00
Luka Perkov
81db848656 targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44305
2015-02-07 19:58:58 +00:00
Luka Perkov
92e6e80080 targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44304
2015-02-07 19:58:52 +00:00
Luka Perkov
0bbcdb21da ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44303
2015-02-07 17:48:39 +00:00
Luka Perkov
d81a8ad523 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44302
2015-02-07 17:48:33 +00:00
Jo-Philipp Wich
188032c8e3 imagebuilder: don't pregenerate package index, strip host binaries
The package index is generated on first use anyway, therefore it makes no
sense to continue shipping it.

Also sstrip the bundled host binaries when packing the IB to save some
additional space.

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

SVN-Revision: 44293
2015-02-06 12:31:31 +00:00
Imre Kaloz
865647cea2 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44291
2015-02-06 11:18:59 +00:00
Imre Kaloz
eda08dd423 mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44290
2015-02-06 11:16:20 +00:00
Jo-Philipp Wich
2adab34c20 imagebuilder: use FreeBSD compatible tar invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44288
2015-02-06 00:27:06 +00:00
Imre Kaloz
12531a0f86 mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44268
2015-02-05 16:31:52 +00:00
Imre Kaloz
66e35c5246 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>

SVN-Revision: 44267
2015-02-05 15:41:07 +00:00
Imre Kaloz
9be491f084 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>

SVN-Revision: 44266
2015-02-05 11:34:21 +00:00
Imre Kaloz
3019f7ecbd 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>

SVN-Revision: 44265
2015-02-05 11:29:56 +00:00
Imre Kaloz
40daf9346e 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>

SVN-Revision: 44264
2015-02-05 11:26:17 +00:00
Imre Kaloz
f14c4e5cff 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>

SVN-Revision: 44263
2015-02-05 11:25:21 +00:00
Imre Kaloz
e46593a54c 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>

SVN-Revision: 44262
2015-02-05 11:24:10 +00:00
Imre Kaloz
80cfe34291 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>

SVN-Revision: 44261
2015-02-05 11:22:43 +00:00
Imre Kaloz
b361a9d59a 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>

SVN-Revision: 44260
2015-02-05 11:21:31 +00:00
Imre Kaloz
67b91f47d6 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>

SVN-Revision: 44259
2015-02-05 11:14:53 +00:00
John Crispin
cde2225c7c 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>

SVN-Revision: 44255
2015-02-04 06:10:20 +00:00
John Crispin
a63e94426d at71xx: TP-LINK Archer: add 5GHz led entry
Add 5GHz led entry after r44033.

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

SVN-Revision: 44254
2015-02-04 06:10:12 +00:00
John Crispin
df22a8e3d0 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>

SVN-Revision: 44248
2015-02-03 10:11:11 +00:00
John Crispin
baaef42952 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

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

SVN-Revision: 44245
2015-02-02 10:32:04 +00:00
John Crispin
b41bf7479e ralink: cleanup firefly default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44244
2015-02-02 09:02:35 +00:00
John Crispin
043f462be4 ralink: add FireWRT button detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44242
2015-02-02 09:02:16 +00:00
John Crispin
d725678a43 ralink: add FireWRT led detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44241
2015-02-02 09:02:10 +00:00
John Crispin
1258b4cc94 ralink: add ethernet macaddr to dts for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44240
2015-02-02 09:02:02 +00:00
John Crispin
70db4e4639 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>

SVN-Revision: 44238
2015-02-02 09:01:07 +00:00
John Crispin
bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
2015-02-02 09:00:21 +00:00
Felix Fietkau
10c8d8c483 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>

SVN-Revision: 44234
2015-02-01 08:20:37 +00:00
Jo-Philipp Wich
12c7c25398 x86_64: add more symbols required to enable SMP
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44233
2015-01-31 22:23:01 +00:00
Jo-Philipp Wich
9328fbe74b x86_64: support HyperThreading and SMP with up to 8 CPUs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44232
2015-01-31 17:33:32 +00:00
Rafał Miłecki
4dd3c05af2 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>

SVN-Revision: 44230
2015-01-31 16:43:13 +00:00