Commit graph

13272 commits

Author SHA1 Message Date
Rafał Miłecki
3bdf05441a brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)
SVN-Revision: 43979
2015-01-16 12:48:27 +00:00
Imre Kaloz
8a103d5c56 mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43978
2015-01-16 08:44:15 +00:00
Imre Kaloz
9a8bf84879 mvebu: add the new tlc59116 driver and migrate the Mamba to it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43975
2015-01-15 13:59:01 +00:00
Felix Fietkau
f1c5232f4d ar71xx: fix disable_irq() on chained irq handlers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43974
2015-01-15 12:19:20 +00:00
Felix Fietkau
4f2fe5d7fa kernel: fix disable_irq() on MIPS CPU IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43973
2015-01-15 12:19:12 +00:00
Rafał Miłecki
4ae1e883e8 bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43972
2015-01-14 13:41:05 +00:00
Imre Kaloz
4f06ba0727 malta: copy initramfs images
Malta ramdisk images are no longer copied to output due to a recent change.
This change reimplements copying of ramdisk images for Malta builds.

Signed-off-by: Eric Schultz <eschultz@prplfoundation.org>

SVN-Revision: 43970
2015-01-14 12:09:33 +00:00
Imre Kaloz
a72bf9f3d2 mvebu: Switch to the generic mkuimage macro
The mvebu image makefile define something almost identical to the generic
implementation found in include/image.mk.

Switch to this implementation.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

SVN-Revision: 43969
2015-01-14 11:39:20 +00:00
Imre Kaloz
91b79128dc mvebu: Replace the padjffs2 call by the generic definition
The mvebu image Makefile directly calls the padjffs2 utility, while there's an
generic make function to do just that. Switch to it

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

SVN-Revision: 43968
2015-01-14 11:37:29 +00:00
Rafał Miłecki
f59c84c431 bcm53xx: enable earlyprintk on more devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43965
2015-01-14 07:42:48 +00:00
Rafał Miłecki
8e95c2c5be bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43964
2015-01-14 07:03:42 +00:00
Rafał Miłecki
55e766d78d bcm53xx: refresh configs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43963
2015-01-14 07:03:17 +00:00
Felix Fietkau
bc78885e70 ramips: add missing -Os cflag for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43954
2015-01-13 00:34:49 +00:00
Felix Fietkau
acfc6c153b ramips: use a larger number of rx descriptors on mt7621 to work around rx overrun related packet loss
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43953
2015-01-13 00:34:45 +00:00
Felix Fietkau
05d4b8c79b ramips: remove interrupt coalescing, it is unnecessary with napi polling and could reduce throughput
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43952
2015-01-13 00:34:38 +00:00
Imre Kaloz
b0a2d7ad0d now that the driver knows it, use the 88e6172's switch type in the mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43945
2015-01-12 09:32:33 +00:00
Nicolas Thill
edacde5042 target/uml: add missing config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43940
2015-01-11 22:03:06 +00:00
Luka Perkov
9db3df9d6b mvsw61xx: track and set per-VLAN port state in STU
Since the driver doesn't know anything about (M)STP
we just hard-set the ports to be enabled if they are
part of the VLAN.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43938
2015-01-11 17:20:16 +00:00
Luka Perkov
0b2cbeca7a mvsw61xx: clean up and expand register definitions
- eliminate MV_CPUPORT; not necessary since we define
  the CPU port(s) via Device Tree

- add STU and expand VTU operations

- update register names to match those of 88E61xx rather than
  mvswitch's 88E6060

- use more consistent formatting

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43937
2015-01-11 17:20:06 +00:00
Luka Perkov
1e39f3aef8 mvsw61xx: rework chip recognition
Recognizes 88E6171/6172/6176 at the moment.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43936
2015-01-11 17:20:03 +00:00
Luka Perkov
a1872182bb mvsw6171: rename to 'mvsw61xx'
In preparation for properly supporting switches
beyond the 88E6171.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43935
2015-01-11 17:19:58 +00:00
Luka Perkov
b78cddafcc kernel: update 3.14 to 3.14.28
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43929
2015-01-11 01:28:32 +00:00
Florian Fainelli
884a01d8a4 mcs814x: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43927
2015-01-10 20:12:15 +00:00
Florian Fainelli
dd4ee63fa4 mcs814x: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43926
2015-01-10 20:12:02 +00:00
Florian Fainelli
3b523f6780 mcs814x: account for dtb output directory differences
3.3 produced *.dtb files in arch/arm/boot/ while 3.14 will produce those
in arch/arm/boot/dts/, adjust the image makefile accordingly.

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

SVN-Revision: 43925
2015-01-10 20:11:18 +00:00
Florian Fainelli
d43997b223 mcs814x: set low_mem feature flag
Most of the devices we support have between 16MiB and 32MiB of RAM
available.

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

SVN-Revision: 43924
2015-01-10 20:11:07 +00:00
Florian Fainelli
cfdb22f0e4 mcs814x: rename config-default to config-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43923
2015-01-10 20:10:57 +00:00
Zoltan Herpai
741e0fd7a1 sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43922
2015-01-10 19:56:30 +00:00
Felix Fietkau
547ab2de5a ar71xx: fix console string in images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43917
2015-01-10 18:48:14 +00:00
Jo-Philipp Wich
dffaf94d44 imagebuilder: fail with error if the passed profile name does not exist
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43916
2015-01-10 18:19:59 +00:00
Florian Fainelli
3b21b2ae00 adm5120: add experimental 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43915
2015-01-10 18:10:04 +00:00
Florian Fainelli
c119814b2b adm5120: move files to files-3.8
In preparation for adding new kernel support

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

SVN-Revision: 43914
2015-01-10 18:08:53 +00:00
Zoltan Herpai
3db73fc350 kernel: add missing config symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43912
2015-01-10 17:23:55 +00:00
Felix Fietkau
9229b34d92 ar71xx: port wndr3700/3800 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43910
2015-01-10 15:27:07 +00:00
Felix Fietkau
492bcad8ec ar71xx: port carambola2 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43909
2015-01-10 15:27:00 +00:00
Felix Fietkau
5b0d18093d ramips: convert mt7621 images to new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43908
2015-01-10 15:26:53 +00:00
Felix Fietkau
e66f1292aa ramips: simplify mkimage kernel loadaddr/entry handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43906
2015-01-10 15:26:38 +00:00
Jo-Philipp Wich
4685e4f273 sdk: track files with git and use it to implement proper clean targets
Initialize a Git repository in the SDK and use git reset / git clean
to rollback any SDK changes with "make clean" or "make dirclean".

This approach is more robust than nuking entire directory trees because
some parts of them might have been shipped with the original archive.

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

SVN-Revision: 43904
2015-01-10 11:17:02 +00:00
Zoltan Herpai
1e0c22507a sunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43900
2015-01-09 19:35:14 +00:00
Felix Fietkau
48d8bc4f97 ramips: add preliminary Archer C20i support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43898
2015-01-09 15:40:51 +00:00
Imre Kaloz
7f21a92ffa switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43893
2015-01-09 12:36:07 +00:00
Imre Kaloz
182bbf60b7 upgrade to 3.18.2
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43892
2015-01-09 12:35:19 +00:00
John Crispin
baad87ae3d kernel: add SECCOMP to menuconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43888
2015-01-08 21:23:18 +00:00
John Crispin
5789169b1d gemini: add ata driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43885
2015-01-08 20:26:34 +00:00
John Crispin
5a5d558d0f gemini: add rtc-gemini driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43884
2015-01-08 20:26:27 +00:00
John Crispin
2120e48e75 ramips: Fix HooToo HT-TM02 support.
- Fix LED definitions.
- Add mode-switch slider definition (at GPIO 14).
- Remove unneeded VLAN now that the ethernet driver is fixed and TCP packets get passed correctly now. (This router only has one port.)
- Fix LAN port MAC address, which is defined in the factory partition as WLAN MAC address + 1.
- Fix board name, as the company name is HooToo and not HOOTOO.
- Remove unnecessary packages from the profile. (The end-user is supposed to use mechanisms such as the ImageBuilder in order to add his own set of packages to his own images... while the precompiled images should just contain the core set of packages needed to run the base functions of a wireless router.)

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43883
2015-01-08 20:26:20 +00:00
John Crispin
5ea31bbc58 ramips: Fix for gpio falling interrupt mask
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.

Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43882
2015-01-08 20:26:13 +00:00
John Crispin
2ea64717e2 ramips: update BR-6475ND dts
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 43881
2015-01-08 20:26:02 +00:00
John Crispin
f9dcd95919 ramips: base-files: Whitespace fixes.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43880
2015-01-08 20:25:55 +00:00
John Crispin
c9a390f9e1 lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43879
2015-01-08 20:25:48 +00:00
John Crispin
9d7d29439b lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43878
2015-01-08 20:25:41 +00:00
John Crispin
550784f1ea lantiq: BT Home Hub3A - device tree
BT Home Hub3A - device tree

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43877
2015-01-08 20:25:35 +00:00
John Crispin
1ba71cbc14 lantiq: Fix adsl led on Home Hub 2B
This fixes the adsl led on the Home Hub 2B.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43876
2015-01-08 20:25:28 +00:00
Jo-Philipp Wich
15d8db1f8c build: add version number to filenames
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes
OpenWrt to embed the version number in generated image files, SDK- and
ImageBuilder archives.

The option is enabled by default if CONFIG_VERSIONOPT is set.

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

SVN-Revision: 43869
2015-01-08 11:02:00 +00:00
Felix Fietkau
5bbe758e4e lantiq: add missing NAND_WRITE_DATA in NAND driver.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43856
2015-01-05 21:37:21 +00:00
Imre Kaloz
26b57a6dc2 refresh kernel config, add cpuidle and cpufreq support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43855
2015-01-05 15:08:20 +00:00
Imre Kaloz
bfa1f18bfb enable swconfig and the mvsw6171 driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43854
2015-01-05 15:02:18 +00:00
Felix Fietkau
1cbf0fbcb4 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
Move all AR8327/AR8337-specific driver code into a separate source file
ar8327.c and adjust patches so that ar8327.c is compiled if
CONFIG_AR8216_PHY is set.

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

SVN-Revision: 43845
2015-01-05 13:03:07 +00:00
Felix Fietkau
cc02d4c72d ar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.h
Move several structure definitions and #defines from ar8216.c
to ar8216.h and move AR8327/AR8337 header stuff into a new
header file ar8327.h.

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

SVN-Revision: 43844
2015-01-05 13:02:57 +00:00
Felix Fietkau
7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

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

SVN-Revision: 43842
2015-01-05 13:02:44 +00:00
Felix Fietkau
2b9379052e kernel: bridge: multicast: backport a few more fixes for 3.10
The following patches unfortunately didn't hit the kernel stable
branches yet, therefore cherrypicking them for OpenWRT here:

* bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries
* bridge: multicast: enable snooping on general queries only
* bridge: multicast: add sanity check for general query destination

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

SVN-Revision: 43841
2015-01-05 13:02:31 +00:00
Felix Fietkau
36fa8e4ce2 octeon: enable VLAN support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43840
2015-01-05 13:02:26 +00:00
Felix Fietkau
1d21ebab99 octeon: remove config-default
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43839
2015-01-05 13:02:21 +00:00
Imre Kaloz
5ed3a7aeb3 add tmp421 to the device tree instead of relying on autodetect
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43825
2015-01-04 17:26:07 +00:00
Luka Perkov
deb35ad4ac kernel: update 3.18 to 3.18.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43821
2015-01-03 22:59:47 +00:00
Luka Perkov
9c8422a09b kernel: update 3.14 to 3.14.27
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43820
2015-01-03 22:59:43 +00:00
Felix Fietkau
fd7be4073a ramips: fix WSR-600DHP flash layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43819
2015-01-03 18:31:27 +00:00
Felix Fietkau
373c84c30b ramips: fix WSR-1166DHP flash layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43818
2015-01-03 18:31:17 +00:00
Felix Fietkau
ada0452b14 ramips: fix WSR-{600,1166} names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43817
2015-01-03 18:31:11 +00:00
Felix Fietkau
ca32b89cc0 ramips: fix wsr-1166 sysupgrade support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43816
2015-01-03 18:31:06 +00:00
Felix Fietkau
88e8f99f7f ramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup to take effect)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43815
2015-01-03 18:30:57 +00:00
Felix Fietkau
bdc35c8ef4 ramips: fix WSR-600 image format
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43814
2015-01-02 21:53:45 +00:00
Felix Fietkau
8eb074756d ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43813
2015-01-02 21:53:38 +00:00
Felix Fietkau
ed20caeb65 ramips: fix image format for WSR-1166
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43812
2015-01-02 21:53:31 +00:00
Felix Fietkau
10c2bdbc4f ramips: disable ethernet checksum offloads for mt7621, they are broken
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43811
2015-01-02 21:53:24 +00:00
Felix Fietkau
51b1f0ca5c ramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is unavailable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43810
2015-01-02 21:53:18 +00:00
Felix Fietkau
baa3a38ac6 kernel: add mtd split support for trx images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43809
2015-01-02 21:53:11 +00:00
Felix Fietkau
81e3014e6d ramips: rework and fix m25p80 chunked-io support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43808
2015-01-02 21:53:02 +00:00
Felix Fietkau
aefd3c569c ramips: split mt7621 spi into a separate driver, increase maximum transfer size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43807
2015-01-02 21:52:53 +00:00
Felix Fietkau
cc5f89c66a kernel: add a mtdsplit implementation for tp-link firmware headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43806
2015-01-02 21:52:44 +00:00
Felix Fietkau
4153c0adff kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43805
2015-01-02 21:52:35 +00:00
Imre Kaloz
6bfd210ade honor the bootloader's bootargs
Only overwrite the bootloader's bootargs if "chosen" exists in the dtb

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

SVN-Revision: 43802
2015-01-02 16:48:20 +00:00
Imre Kaloz
f12a0f4308 enable wpad-mini by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43801
2014-12-31 21:59:07 +00:00
Rafał Miłecki
d1a28cfbb2 bcm53xx: support flashing CHK and CyberTAN images
SVN-Revision: 43800
2014-12-30 17:45:53 +00:00
Rafał Miłecki
81b8d95f2c brcm47xx: support for flashing CHK and CyberTAN images
This will allow simple sysupgrade-s including simpler reverting to the
original firmware.

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

SVN-Revision: 43799
2014-12-30 17:19:36 +00:00
Rafał Miłecki
cca3990b16 brcm47xx: verify if CHK/CyberTAN contains valid TRX
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43798
2014-12-30 17:19:02 +00:00
Hauke Mehrtens
bb5a18ff92 mpc83xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

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

SVN-Revision: 43797
2014-12-29 17:11:13 +00:00
Hauke Mehrtens
cb96191088 mpc52xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

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

SVN-Revision: 43796
2014-12-29 16:12:52 +00:00
Hauke Mehrtens
2ea959650e ep93xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

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

SVN-Revision: 43795
2014-12-29 13:55:59 +00:00
Hauke Mehrtens
469e8adbac kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43794
2014-12-29 11:59:32 +00:00
Hauke Mehrtens
f22aeccdd2 ipq806x: refresh patches
This makes the patchs apply again.

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

SVN-Revision: 43792
2014-12-28 19:31:40 +00:00
Felix Fietkau
0f0460afda oxnas: re-enable ubifs
After the changes make ubinize.cfg optional in image.mk, ubifs
generation can now safely be enabled again.

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

SVN-Revision: 43789
2014-12-27 13:03:26 +00:00
Felix Fietkau
2ef587a8fc oxnas: clk-oxnas: rework pllb enable function
kernel lock debugging unveiled that we should not call
of_reset_control_get inside a clock's enable operation (see below)

move of_reset_control_* previously used in pllb_clk_enable to new
pllb_clk_prepare and pllb_clk_unprepare functions.
use a container to carry runtime information.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2742 lockdep_trace_alloc+0xb8/0xfc()
DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.26 #6
[<c001a6ac>] (unwind_backtrace) from [<c0016dec>] (show_stack+0x10/0x14)
[<c0016dec>] (show_stack) from [<c0194f68>] (dump_stack+0x7c/0x94)
[<c0194f68>] (dump_stack) from [<c0021b50>] (warn_slowpath_common+0x68/0x8c)
[<c0021b50>] (warn_slowpath_common) from [<c0021ba4>] (warn_slowpath_fmt+0x30/0x40)
[<c0021ba4>] (warn_slowpath_fmt) from [<c0061b30>] (lockdep_trace_alloc+0xb8/0xfc)
[<c0061b30>] (lockdep_trace_alloc) from [<c00cb740>] (kmem_cache_alloc+0x1c/0xf8)
[<c00cb740>] (kmem_cache_alloc) from [<c01d33c8>] (of_reset_control_get+0xe8/0x12c)
[<c01d33c8>] (of_reset_control_get) from [<c0269228>] (pllb_clk_enable+0x14/0xbc)
[<c0269228>] (pllb_clk_enable) from [<c0265738>] (__clk_enable+0x54/0xa0)
[<c0265738>] (__clk_enable) from [<c0265acc>] (clk_enable+0x18/0x2c)
[<c0265acc>] (clk_enable) from [<c04325f8>] (oxnas_pcie_probe+0x3b8/0x6a0)
[<c04325f8>] (oxnas_pcie_probe) from [<c01f2510>] (platform_drv_probe+0x18/0x48)
[<c01f2510>] (platform_drv_probe) from [<c01f1070>] (driver_probe_device+0xd8/0x24c)
[<c01f1070>] (driver_probe_device) from [<c01f1298>] (__driver_attach+0x70/0x94)
[<c01f1298>] (__driver_attach) from [<c01ef728>] (bus_for_each_dev+0x4c/0x98)
[<c01ef728>] (bus_for_each_dev) from [<c01f0818>] (bus_add_driver+0xcc/0x1e8)
[<c01f0818>] (bus_add_driver) from [<c01f169c>] (driver_register+0xa0/0xe8)
[<c01f169c>] (driver_register) from [<c01f2568>] (platform_driver_probe+0x20/0xa4)
[<c01f2568>] (platform_driver_probe) from [<c0013a3c>] (do_one_initcall+0x90/0x140)
[<c0013a3c>] (do_one_initcall) from [<c0421d38>] (kernel_init_freeable+0x1e4/0x2c0)
[<c0421d38>] (kernel_init_freeable) from [<c000c214>] (kernel_init+0x8/0x104)
[<c000c214>] (kernel_init) from [<c0008768>] (ret_from_fork+0x14/0x2c)
---[ end trace 5f17ed2f61e0683f ]---

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

SVN-Revision: 43787
2014-12-27 13:03:12 +00:00
Felix Fietkau
604fc8faf5 kernel/generic: fix warnings if libata-ledtrig is disabled
accidentally #if was used instead of #ifdef, thus gcc warned
about CONFIG_ATA_LEDS being undefined...

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

SVN-Revision: 43786
2014-12-27 13:02:58 +00:00
Imre Kaloz
edbb903461 fix mvneta vlan tagging
This is a 3.14.x backport of:
"mvneta: Fix TSO and checksum for non-acceleration vlan traffic"

Upstream commits:

817dbfa5d1bc276a72c1a577310382008e8aca0a
2d39d120781a5770573dc6ed672a5a562f541aea

Fixes vlan tagging on SoC interfaces for the WRT1900AC.  Useful
when using mvsw6171 driver.

Signed-off-by: Mark Milburn <mark.a.milburn@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43781
2014-12-26 14:48:33 +00:00
Imre Kaloz
e23b988bf5 only call UbinizeImage and BuildSysUpgrade for boards we support them on
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43779
2014-12-26 13:45:18 +00:00
Imre Kaloz
f3755f5758 The ubinized filesystems should be used for generating the final images, so store them in KDIR instead.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43778
2014-12-26 13:33:22 +00:00
Felix Fietkau
fa3cb9fa5c ar71xx: add flush reset register writes, should fix restart issues (#17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43777
2014-12-26 12:36:38 +00:00
Felix Fietkau
a96afecf5c kernel: backport a few PHY layer fixes from upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43776
2014-12-26 12:36:30 +00:00
Felix Fietkau
d7320d2d89 ar71xx: rename/refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43775
2014-12-26 12:36:22 +00:00