Commit Graph

29256 Commits

Author SHA1 Message Date
Felix Fietkau
623f3bda54 fstools: update to the latest version, fixes overlayfs mount on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43368
2014-11-24 17:18:32 +00:00
Felix Fietkau
8f7e398350 mac80211: fix a crash on getting the channel in WDS AP mode (#18400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43367
2014-11-24 17:13:54 +00:00
Imre Kaloz
f3df3bdb26 add initial 3.18 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43366
2014-11-24 16:00:41 +00:00
Imre Kaloz
2e3b84c3b5 fix sysupgrade on overlayfs v23+
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43365
2014-11-24 15:55:52 +00:00
Jonas Gorski
cf0c966d9a brcm63xx: do not build images for unsupported routers
If there is no board support in the kernel, it does not make sense to
build images for devices. So drop any images for board ids for which
there are nc corresponding board_info structs in the kernel.

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

SVN-Revision: 43364
2014-11-24 14:44:46 +00:00
Jonas Gorski
fb2a44df50 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43363
2014-11-24 14:44:40 +00:00
Jonas Gorski
c6fc6b42e1 brcm63xx: Add DT support for SPW303V
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43362
2014-11-24 14:44:33 +00:00
Jonas Gorski
5540ca300e brcm63xx: Add DT support for DV-201AMR
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43361
2014-11-24 14:44:28 +00:00
Jonas Gorski
89000dea4c brcm63xx: Add DT support for RG100A
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43360
2014-11-24 14:44:23 +00:00
Jonas Gorski
13d6fa0081 brcm63xx: Add DT support for A226G/M
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43359
2014-11-24 14:44:19 +00:00
Jonas Gorski
b3ce1c4ea6 brcm63xx: Add DT support for AGPF-S0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43358
2014-11-24 14:44:12 +00:00
Imre Kaloz
c26c5eff0e update .18 support for -rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43357
2014-11-24 10:17:33 +00:00
Felix Fietkau
35902404fc ar8216: Fix issue with autoneg being disabled under 3.14, revert 43332
Patch reverts 43332 which seems to cause issues with VLAN functionality.
Add a specific check to check whether ANEG is still enabled and re-enable
it if necessary. Disable generic phy soft reset for kernel >=3.16.

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

SVN-Revision: 43356
2014-11-24 09:33:48 +00:00
Florian Fainelli
a2768bd9e0 arm64: add ARM 64-bits target
This target can be emulated using ARM's Foundation_V8 simulator
software or qemu-system-aarch64 using the command-line described in the
README file.

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

SVN-Revision: 43355
2014-11-24 06:34:07 +00:00
Florian Fainelli
acf4691904 libbsd: add support for aarch64
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43354
2014-11-24 06:33:34 +00:00
Florian Fainelli
dd8d7188ee aarch64: add initial support
Add initial support for the AArch64 architecture

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

SVN-Revision: 43353
2014-11-24 06:33:13 +00:00
Florian Fainelli
d6da770a80 eglibc: enforce use of autoconf-2.69
Since we updated autoconf in r42855 we also need to enforce its use
while building eglibc to allow it to build successfully.

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

SVN-Revision: 43352
2014-11-24 02:06:20 +00:00
Felix Fietkau
2ff709e38f libubox: fix a variable handling regression in jshn
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43351
2014-11-23 22:53:14 +00:00
Felix Fietkau
e4d207542e libubox: update to the latest version, adds some jshn optimizations
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43350
2014-11-23 20:10:07 +00:00
Felix Fietkau
061319ec3d lzo: disable unaligned access for everything except x86
Fixes issues on ARM

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

SVN-Revision: 43349
2014-11-23 20:10:02 +00:00
Felix Fietkau
a70800a7ed busybox: turn on BUSYBOX_DEFAULT_FEATURE_SH_NOFORK to slightly improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43348
2014-11-23 20:09:56 +00:00
Felix Fietkau
174d16e59f ar71xx: merge changes from 3.10 that were forgotten for 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43347
2014-11-23 16:27:19 +00:00
Felix Fietkau
185172bdd3 netifd: update to the latest version, fixes issues when changing a bridge member from a vlan to its base device (#18351)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43346
2014-11-23 16:07:00 +00:00
Felix Fietkau
ed5ed9cf6f hostapd: fix build error on some variants with CONFIG_WPA_RFKILL_SUPPORT=y (#17765)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43345
2014-11-23 14:16:47 +00:00
Felix Fietkau
25cb8318cd ar71xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43344
2014-11-23 13:54:28 +00:00
Felix Fietkau
0179456212 ar71xx: switch to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43343
2014-11-23 13:54:22 +00:00
Felix Fietkau
6aeb3528a8 ath9k: fix some ar913x irq handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43342
2014-11-23 12:53:35 +00:00
Jonas Gorski
2bab3e2796 brcm63xx: move board compatible strings into a table
Move compatible strings from board structs into separate table. This
allows for several board compatibles to match to the same board in case
e.g. only the flash size / partitions differ.

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

SVN-Revision: 43341
2014-11-22 12:25:52 +00:00
Felix Fietkau
f80596c9df mac80211: fix a crash on using VHT rates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43340
2014-11-21 22:29:48 +00:00
Felix Fietkau
6c1c3cac55 hostapd: switch dependency from mac80211 to cfg80211
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43339
2014-11-21 20:38:14 +00:00
Zoltan Herpai
352c7d3cb2 sunxi: add config for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43338
2014-11-21 18:49:56 +00:00
Zoltan Herpai
9c54f7f312 sunxi: add initial 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43337
2014-11-21 18:42:43 +00:00
Rafał Miłecki
c84fe94b0d brcm47xx: add support for Netgear WGR614 V10
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43336
2014-11-20 22:15:21 +00:00
Felix Fietkau
7d5fa16311 mt76: add new mediatek 802.11ac driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43335
2014-11-20 20:27:36 +00:00
Felix Fietkau
c9340fd8a9 ar8216: Use generic hw_init from ar8236 for ar8216 too
We should make sure that also for ar8216 hw gets initialized.
For ar8216 hw_init is a dummy currently. The hw_init used for ar8236
should be generic enough to be usable with ar8216 too.

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

SVN-Revision: 43334
2014-11-20 15:19:15 +00:00
Felix Fietkau
0178b516a2 ar8216: simplify PHY fixup/init
Move the PHY fixup call to the PHY init loop.
Use ar8xxx_has_gige in the PHY init instead of passing the gigE
capability via function parameter.

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

SVN-Revision: 43333
2014-11-20 15:19:04 +00:00
Felix Fietkau
43e3e88379 ar8216: use genphy_config_aneg also for PHY 0
Kernel 3.14 introduced a switch reset in phy_init_hw in drivers/net/phy
causing BMCR_ANENABLE to get cleared.

Due to the fact that ar8xxx_phy_config_aneg does nothing for
PHY 0 autonegatiation support remains disabled.
This can cause ports to operate at 10MBit/half-duplex only.

Fix this by calling genphy_config_aneg for PHY 0 too as
genphy_config_aneg sets BMCR_ANENABLE if it's not yet set.
Fixes: ticket 17800

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

SVN-Revision: 43332
2014-11-19 20:18:01 +00:00
Felix Fietkau
898712f43f ar8216: factor out PHY init code into a generic function
PHY init code in the switch-specific hw_init functions is mainly
identical. Factor it out into a generic ar8xxx_phy_init function.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43331
2014-11-19 20:17:52 +00:00
Felix Fietkau
20baeb5595 ar8216: introduce fixup_phys callback in ar8xxx_chip
Move phy fixup code from the chip-specific hw_init functions into a
fixup_phys callback.

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

SVN-Revision: 43330
2014-11-19 20:17:43 +00:00
Felix Fietkau
37fefea79b ar8216: after a switch reset poll until BCMR_RESET is cleared
Currently there is a fixed 1000ms wait time after the switch was reset.
Most if not all switches need much less time to perform a reset.
Therefore replace the fixed wait time with polling for BMCR_RESET to
be cleared.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43329
2014-11-19 20:17:37 +00:00
Felix Fietkau
6dcdc2bb05 ar8216: introduce global constant for number of PHYs
All supported switches have 5 PHYs. Currently partially 5 is hardcoded
and partially switch-specific constants exist.
Replace them with a global constant.

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

SVN-Revision: 43328
2014-11-19 20:17:30 +00:00
Felix Fietkau
226f330bcf procd: update to the latest version, fixes ubus service list
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43327
2014-11-19 20:17:24 +00:00
Felix Fietkau
4d99db168c mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43326
2014-11-19 20:17:08 +00:00
Felix Fietkau
1ffcc555ef mac80211: add an intermediate software queueing implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43325
2014-11-19 20:17:01 +00:00
Felix Fietkau
bc30e04a83 mac80211: add support for passing sta rate table updates to the driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43324
2014-11-19 20:16:55 +00:00
Felix Fietkau
ab92a23394 build: allow AutoLoad and AutoProbe to specify modules not included in the package
On out-of-tree modules depending on other out-of-tree modules from a
different tree, module dependencies are not filled properly.
This change helps with adding those dependencies in the AutoLoad call

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

SVN-Revision: 43323
2014-11-19 20:16:50 +00:00
Rafał Miłecki
ac7e0e69bb brcm47xx: mtd: bcm47xxpart: lower minimal blocksize to 4Ki (from 64Ki)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43322
2014-11-19 17:35:24 +00:00
John Crispin
83381c5c8f ixp4xx: Don't overwrite memory in wg302v1_fixup()
wg302v1_fixup() looks for the ATAG_CMDLINE atag, it doesn't find it and
so it takes the last atag in the list and overwrites non allocated
memory.

The side effects are corrupted vital data and a kernel that doesn't
boot. More details here https://dev.openwrt.org/ticket/18356

The fix appends the fixup to the command line and updates the atag only
when it finds it.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 43320
2014-11-19 14:09:19 +00:00
John Crispin
da5001475c gemini: add basic nas4220 board support
Few notes:
- redboot partitions are unusable
- redboot declares only 16M of RAM, hence the mem arg in cmdline and separate kernel config
- boots fine but only ethernet works for now
- split wiliboard and raidsonic boards into different subtargets

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43319
2014-11-19 14:09:10 +00:00
John Crispin
6521f53c65 keernel: Fixed dependencies in netfilter modules introduced with 3.18 kernel
Building current trunk with 3.18 kernel fired some errors like 'missed
dependancy of module XXX from library kmod_YYY.ko'. These patch fixes 3
of such issues which are critical to have a successful build.

Signed-off-by: Alexey N Vinogradov <a.n.vinogradov@gmail.com>

SVN-Revision: 43318
2014-11-19 14:09:01 +00:00