Commit Graph

30265 Commits

Author SHA1 Message Date
John Crispin
7c24d8627f ipq806x: add ahci to default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44525
2015-02-24 12:00:22 +00:00
John Crispin
3f22244009 modules: add ahci-platform
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44524
2015-02-24 12:00:16 +00:00
John Crispin
458c37fb14 ipq806x: add default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44523
2015-02-24 12:00:09 +00:00
John Crispin
de7100d818 ipq806x: initialize the network on AP148
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44522
2015-02-24 12:00:04 +00:00
John Crispin
114da1595a kernel: add qca-nss-gmac as a new module
This driver is used on IPQ806x to instanciate & drive the ethernet
interfaces.

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

SVN-Revision: 44521
2015-02-24 11:59:56 +00:00
John Crispin
9b6adc2d3a ipq806x: enable GMAC support in DTS
This adds the GMAC entries in the ipq806x dtsi file as well as in the
ap148 specific dts file.

This also adds the MDIO change as well.

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

SVN-Revision: 44520
2015-02-24 11:59:51 +00:00
John Crispin
8eda29f12c ipq806x: enable ar8xxx switch family support
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44519
2015-02-24 11:59:47 +00:00
John Crispin
a45a5f7cf0 ipq806x: fix spi read issues observed with SMP enabled
This change is fixing the issues observed when booting from NOR flash
with SMP enabled.

Error logs below:
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
m25p80 spi32766.0: SPI transfer failed: -110
spi_master spi32766: failed to transfer one message from queue
jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792

Patch is cherry-picked from here:
https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02

More details in the patch file.

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

SVN-Revision: 44518
2015-02-24 11:59:41 +00:00
John Crispin
1175e83f50 mpc85xx: add 3.19 support
It took very little to make the TL-WDR4900 work under 3.19:
- config is the same as for 3.18
- only patch 210 had to be refreshed, the other patches are
  the same as for 3.18
- in /etc/config/wireless the path options need to be prefixed
  with "platform/" ('platform/ffe09000.pci/...')

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

SVN-Revision: 44517
2015-02-24 11:59:35 +00:00
Felix Fietkau
ae9999a766 samba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44515
2015-02-24 07:21:25 +00:00
Rafał Miłecki
e8acbb11a4 generic: fix 050-backport_netfilter_rtcache.patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44514
2015-02-24 06:40:37 +00:00
Felix Fietkau
362bc849bc x86: remove spurious delete of /etc/config/network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44513
2015-02-24 06:07:40 +00:00
Felix Fietkau
a56b1e4638 mtools: fix build errors on mac os x (#19064)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44512
2015-02-24 06:06:12 +00:00
Rafał Miłecki
1c063070cf generic: early (incomplete!) 4.0 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44511
2015-02-23 22:59:53 +00:00
Imre Kaloz
ad077832bf leds: package the NXP PCA963x driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44510
2015-02-23 11:09:03 +00:00
Imre Kaloz
e02478a22a mvebu: set default WRT1900AC switch config
This sets 'enable_vlan' and thus uses 802.1q
VLANs, but without tagging on either interface.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44509
2015-02-23 10:35:29 +00:00
Imre Kaloz
0de48a0dd8 mvebu: set WRT1900AC WAN interface MAC address
Toggles the LA bit on the WAN interface.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44508
2015-02-23 10:33:19 +00:00
John Crispin
5e7d004633 ppp: Allow PPTP over a specified interface
In a dual-WAN setup, it's useful to specify an interface over which to
have PPTP.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44507
2015-02-22 08:29:34 +00:00
John Crispin
291e04ee8f comgt: Use TCGETS and TCSETS ioctls for struct termios
When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44506
2015-02-22 08:29:26 +00:00
John Crispin
6aab00fa44 ipq806x: delete config-3.14 file
ipq806x target has been upgraded to 3.14. There is no need to maintain
this file anymore.

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

SVN-Revision: 44505
2015-02-22 08:29:18 +00:00
John Crispin
565a6f2a27 ipq806x: fix "reboot" command
The watchdog driver already registers a restart notifier, we just have
to enable it in the config and in the DT to fix the "reboot" command.

This is done by integratin the following patch-set:
https://lkml.org/lkml/2015/2/20/610

I'm copy-pasting the description below:
qcom-wdt is currently assuming the presence of a dedicated node in DT
to gets its configuration. However, on msm architecture, the watchdog is
usually part of the timer block. So this patch-set is changing the driver
and slightly enhancing the timer DT bindings to provide the relevant clocks
and interrupts.

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

SVN-Revision: 44504
2015-02-22 08:29:14 +00:00
John Crispin
5072954cd0 ipq806x: enable watchdog kernel option
Some bootloaders seem to trigger the watchdog during the boot process,
therefore the lack of watchdog driver trigger a reboot a few seconds
after boot. So we'll enable it here to avoid it.

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

SVN-Revision: 44503
2015-02-22 08:29:07 +00:00
John Crispin
7938da42f5 kernel: Fix USB gadget modules for v3.18
Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44502
2015-02-22 08:29:01 +00:00
John Crispin
2f544d56d0 mpc85xx: add mpic timer clock frequency to avoid boot log warning
MPIC timers are enabled in the config, however a devicetree clock setting
is missing causing the following error:
/soc@ffe00000/timer@41100: cannot get timer frequency.
/soc@ffe00000/timer@42100: cannot get timer frequency.

This patch adds the missing clock and avoids the error.
It's a functional copy of this code
do_fixup_by_compat_u32(blob, "fsl,mpic",
        "clock-frequency", get_bus_freq(0), 1);
in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code.

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

SVN-Revision: 44501
2015-02-22 08:28:48 +00:00
John Crispin
850b3169ed ramips: rt288x: add missing symbol
Defaulting to disabled, based on the value of
the (old?) CONFIG_RALINK_USBPHY

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

SVN-Revision: 44500
2015-02-22 08:28:42 +00:00
John Crispin
0ba8217008 ramips: nexx wt3020: fix status led
For Nexx WT3020 board_name is wt3020, not nexx-wt3020

root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name)
wt3020

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

SVN-Revision: 44499
2015-02-22 08:28:35 +00:00
Nicolas Thill
4b8ebb5d50 packages: remove uneeded PKG_BUILD_DIR overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44498
2015-02-22 01:31:21 +00:00
Rafał Miłecki
a416029d4d bcm53xx: add one more NVRAM possible size (0x180000)
Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.

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

SVN-Revision: 44497
2015-02-20 07:07:53 +00:00
John Crispin
e071f4fd1a mpc85xx: set v3.18 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44496
2015-02-19 14:30:03 +00:00
John Crispin
52b2a2c398 ralink: bump to v3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44495
2015-02-19 14:04:47 +00:00
John Crispin
64db436416 ramips: fix the mt7628 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44494
2015-02-19 14:04:41 +00:00
Felix Fietkau
5dbd3e65a6 tools/patchelf: fix portability issue breaking mac os x builds (#18998)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44493
2015-02-19 10:30:39 +00:00
John Crispin
0227827f7b at91: Add dts for Exegin Q5x boards.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44492
2015-02-19 09:07:06 +00:00
John Crispin
3cf87e67b2 at91: USB gadget subsystem cleanup and driver fix.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44491
2015-02-19 09:06:56 +00:00
John Crispin
6fb59689c6 at91: Enable power and reset controller drivers.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44490
2015-02-19 09:06:49 +00:00
John Crispin
4a6e468588 at91: bump to v3.18
Signed-off-by: Your Name <blogic@openwrt.org>

SVN-Revision: 44489
2015-02-18 13:35:46 +00:00
Jo-Philipp Wich
b2f666d098 include: netfilter: fix packaging of LOG target for Linux >= 3.16 (#19031)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44488
2015-02-18 13:28:28 +00:00
John Crispin
1a1d69da08 au1000: fix 3.18 and set it as default
Thanks to Bruno Randolf for testing and Manuel Lauss for providing a fix.

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

SVN-Revision: 44487
2015-02-18 09:49:38 +00:00
Jo-Philipp Wich
f9aa2ec7f6 ar71xx: fix 82_patch_ath10k
The firware md5sum check never worked due to missing dollar signs.

Also suppress
  `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'`
error on any board not using ath10k.

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

SVN-Revision: 44486
2015-02-17 21:26:39 +00:00
John Crispin
7cfc88bac8 mpc85xx: add v3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44485
2015-02-17 20:28:36 +00:00
John Crispin
ef87acc6a5 hostapd: fix c&p typo
https://dev.openwrt.org/ticket/19010

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

SVN-Revision: 44484
2015-02-17 15:59:28 +00:00
John Crispin
a54f062bd4 ar71xx: make v3.18 default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44482
2015-02-17 14:33:29 +00:00
John Crispin
c2c2f64c66 kernel: re-enable the firmware loader
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44481
2015-02-17 14:33:13 +00:00
Steven Barth
c975f83cc2 netifd: various device config / event fixes (thx Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44480
2015-02-17 14:14:51 +00:00
Steven Barth
c091515d68 iproute2: bump version from v3.18.0 to v3.19.0
with refreshed patches

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 44479
2015-02-17 14:14:39 +00:00
John Crispin
3618391514 ramips: Buffalo WZR-AGL300NH target support
I got work with this patch.
Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons.

In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata.

signed-off-by: ngc@ff.iij4u.or.jp
——
——

SVN-Revision: 44470
2015-02-16 21:19:18 +00:00
John Crispin
f440414c55 ramips: enables rt288x PCIe
To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong.
Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus.

signed-off-by: ngc@ff.iij4u.or.jp
————
————

SVN-Revision: 44469
2015-02-16 21:18:59 +00:00
John Crispin
5a8d78d710 oxnas: fix itb generation
- according to imx6 Makefile and u-Boot documentation is itb
  and probably should not be changed
- this fixes build error if CONFIG_TARGET_ROOTFS_INCLUDE_FIT is set
  (missing .itb file)
- use DTS_DIR (like in imx6 Makefile)

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Acked-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44468
2015-02-16 21:18:48 +00:00
Rafał Miłecki
08b45f73db bcm53xx: include kmod-brcmfmac in default profile
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44467
2015-02-16 19:51:21 +00:00
Rafał Miłecki
a79d10fa01 mac80211: brcmfmac: Add PCIe support option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44466
2015-02-16 19:36:35 +00:00