aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* procd: add support for relaying daemon stdio to syslogJo-Philipp Wich2015-02-262-2/+5
| | | | | | | | | | | | | Procd enabled init scripts can now specify: procd_set_param stdout 1 procd_set_param stderr 1 ... to relay their respective standard IO streams to the system log. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: implement ulog_close() and call it on ulog_open()Jo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | This is required to properly update syslog idents when switching between log modes. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the block, mount_root etc. logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the kmodloader logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the procd logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: introduce generic logging apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to introduce the new ulog() logging api which supports early boot logging to dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd: honor tunlink in host dependencySteven Barth2015-02-262-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix some more null-pointer accessesSteven Barth2015-02-261-2/+2
| | | | | | | | thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix build with enabled ubifs extroot supportJo-Philipp Wich2015-02-251-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix multiple extroot problemsJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | - Support external overlays on non-MTD systems again - Account for new directory structure of overlayfs partitions (additional upper/ component) - Support executing block from either overlay or rom - Support loading fstab from either overlay or rom - Log extroot failures to dmesg Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* modules: make ahci-platform depend on TARGET_ipq806xJohn Crispin2015-02-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: kmodloader: support loading kmods from multiple directoriesJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | This is required during early boot in the extroot setup phase to support loading kmods from the overlay that depend on kmods on the rom partition. The subsequent mount_root updates will use the LD_LIBRARY_PATH env variable to pass kmod directories to kmodloader. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: refresh patchesImre Kaloz2015-02-247-14/+14
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: drop patches applied upstreamImre Kaloz2015-02-242-190/+0
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: drop 3.18 specifix dwc2 backportImre Kaloz2015-02-241-146/+0
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: the ubi patches has been fixed in the 3.19 patchset alreadyImre Kaloz2015-02-243-35/+9
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh patchesJohn Crispin2015-02-243-67/+67
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add QCA953X version2 SoC supportJohn Crispin2015-02-242-22/+40
| | | | | | | | | http://patchwork.ozlabs.org/patch/435234/ Signed-off-by: 郭传鈜 <gch981213@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WA7210n v2 supportJohn Crispin2015-02-2410-3/+176
| | | | | | | | | | This patch adds support for TP-Link TL-WA7210n[0] [0] http://www.tplink.com/en/products/details/?model=TL-WA7210N Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add ahci to default packagesJohn Crispin2015-02-241-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* modules: add ahci-platformJohn Crispin2015-02-241-0/+17
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add default package selectionJohn Crispin2015-02-241-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: initialize the network on AP148John Crispin2015-02-241-0/+32
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add qca-nss-gmac as a new moduleJohn Crispin2015-02-241-0/+50
| | | | | | | | | This driver is used on IPQ806x to instanciate & drive the ethernet interfaces. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: enable GMAC support in DTSJohn Crispin2015-02-241-0/+172
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: enable ar8xxx switch family supportJohn Crispin2015-02-241-0/+3
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: fix spi read issues observed with SMP enabledJohn Crispin2015-02-241-0/+56
| | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add 3.19 supportJohn Crispin2015-02-2410-0/+1262
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* samba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)Felix Fietkau2015-02-241-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix 050-backport_netfilter_rtcache.patchRafał Miłecki2015-02-241-1/+1
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: remove spurious delete of /etc/config/networkFelix Fietkau2015-02-241-6/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtools: fix build errors on mac os x (#19064)Felix Fietkau2015-02-241-0/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: early (incomplete!) 4.0 supportRafał Miłecki2015-02-23177-0/+32126
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* leds: package the NXP PCA963x driverImre Kaloz2015-02-231-0/+16
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: set default WRT1900AC switch configImre Kaloz2015-02-231-1/+4
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: set WRT1900AC WAN interface MAC addressImre Kaloz2015-02-231-1/+2
| | | | | | | | | | | Toggles the LA bit on the WAN interface. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: Allow PPTP over a specified interfaceJohn Crispin2015-02-221-3/+5
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* comgt: Use TCGETS and TCSETS ioctls for struct termiosJohn Crispin2015-02-223-14/+90
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: delete config-3.14 fileJohn Crispin2015-02-221-360/+0
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: fix "reboot" commandJohn Crispin2015-02-223-0/+175
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: enable watchdog kernel optionJohn Crispin2015-02-221-1/+2
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix USB gadget modules for v3.18John Crispin2015-02-222-15/+24
| | | | | | | | Updated patch that fixes whitespace and supports kernel v3.3 too. Signed-off-by: Owen Kirby <osk@exegin.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add mpic timer clock frequency to avoid boot log warningJohn Crispin2015-02-221-0/+48
| | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: add missing symbolJohn Crispin2015-02-221-0/+1
| | | | | | | | | Defaulting to disabled, based on the value of the (old?) CONFIG_RALINK_USBPHY Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: nexx wt3020: fix status ledJohn Crispin2015-02-221-1/+1
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: remove uneeded PKG_BUILD_DIR overridesNicolas Thill2015-02-225-6/+0
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add one more NVRAM possible size (0x180000)Rafał Miłecki2015-02-202-2/+2
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: set v3.18 as defaultJohn Crispin2015-02-191-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: bump to v3.18John Crispin2015-02-192-1/+101
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix the mt7628 dts fileJohn Crispin2015-02-192-10/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44494 3c298f89-4303-0410-b956-a3cf2f4a3e73