aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-0218-18/+18
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 40915
* dropbear: make missing variables localJohn Crispin2014-06-021-1/+1
| | | | | | Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 40914
* include: fix kernel download failure with git & local treesJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | When using the options EXTERNAL_KERNEL_TREE or KERNEL_GIT_CLONE_URI, the command "make downloads" fails as it tries to download the kernel tarball despite the option. This doesn't happen during a regular build as in that case, the dependency is conditionned through the LINUX_SITE variable, which is not set in these cases. Below is a snapshot of the error for an target using a 3.14 kernel: make[3]: *** No rule to make target `.../dl/linux-3.14.tar.xz', needed by `download'. Stop. Change-Id: I1244969c1bbf9c81a6a64d68ae88ac58b0f8e79e Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 40913
* base-files: remove function service_killJohn Crispin2014-06-021-23/+0
| | | | | | | | Function service_kill is deprecated and has no user, so remove it. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40912
* ramips: add missing profile for DIR-615-DJohn Crispin2014-06-021-0/+13
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40911
* ramips: fix not set lan/wan mac addressJohn Crispin2014-06-021-4/+4
| | | | | | | | | | | | The first switch case is default case. Then it will only match default case. cause not update the lan/wan mac address. And in the default switch case the param lan_mac is empty. it will case error message 'arithmetic syntax error' when call macaddr_add function. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 40910
* base-files: add simple shutdown scriptJohn Crispin2014-06-021-0/+5
| | | | | | | | | | | | | Since svn rev [38557] we support power buttons, for example the ACPI power button on x86 machines. Add a simple shutdown script to /etc/rc.button, to gracefully shutdown the machine after the power button is pressed. Tested on x86 and x86_64 in a kvm virtual machine. Signed-off-by: Stefan Hellermann <stefan@the2masters.de> SVN-Revision: 40909
* ralink: Add support for samsung cy-swr1100 wireless routerJohn Crispin2014-06-0212-0/+180
| | | | | | | | | | | | It is base on rt3662 soc with dual band 802.11n wireless router. Use rtl8367R switch chip. This patch adds a profile for this board. It use seama image header. so i also enable it on kernel config. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 40908
* ramips: Support for Teltonika RUT5XXJohn Crispin2014-06-026-0/+97
| | | | | | | | | | | | Hi Hartmut, Thanks for your feedback, I have reformated the patch accordingly. Added support for Teltonika RUT5XX hardware. Signed-off-by: Steffen Weinreich <steve@weinreich.org> SVN-Revision: 40907
* base-files: calling stop_service before procd_kill.John Crispin2014-06-022-2/+2
| | | | | | | | | | | | Before this patch, doing `/e/c/network restart' will emit the folloing error by `ubus network.wireless down "{}"' because netifd already quit by that time. Command failed: not found Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40906
* kernel: usb.mk: enable chipidea udc modeJohn Crispin2014-06-021-2/+3
| | | | | | | | | | | | | | The chipidea USB OTG controller is dual-role and supports both host and device modes. Enable device mode. Tested on Gateworks Ventana imx6 board with g_ether. Are there any other targets out there that use the CHIPIDEA controller? If so testing is needed for those. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40905
* base-files: removes loggingJohn Crispin2014-06-021-3/+1
| | | | | | | | Since logd haven't started at this point, logging does not work. Signed-off-by: Nuno Goncalves <nunojpg@gmail.com> SVN-Revision: 40904
* ralink: Enable Asus RT-N10+ in menuconfig targetsJohn Crispin2014-06-021-0/+17
| | | | | | | This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk). Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org> SVN-Revision: 40903
* fstools: update to latest version, fixes build on x86_64Felix Fietkau2014-06-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40902
* kernel: update 3.14 to 3.14.5Luka Perkov2014-06-028-41/+32
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40901
* odhcpd: add configuration for userclass-filterSteven Barth2014-06-021-2/+2
| | | | SVN-Revision: 40900
* uboot-sunxi: add bananapi supportZoltan Herpai2014-06-012-1/+96
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40899
* sunxi: add support for Lemaker bananaPiZoltan Herpai2014-06-014-0/+190
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40898
* metadata.pl: suppress profile config.in code for targets that have ↵Felix Fietkau2014-06-011-1/+4
| | | | | | | | subtargets (fixes #14480) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40896
* sunxi: fix typo in uci-defaults network configZoltan Herpai2014-06-011-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40895
* ca-certificates: bump to 20140325Steven Barth2014-06-011-2/+2
| | | | SVN-Revision: 40894
* 6relayd: superseded by odhcpdSteven Barth2014-06-015-255/+0
| | | | SVN-Revision: 40893
* polarssl: bump to 1.3.7Steven Barth2014-06-014-55/+39
| | | | SVN-Revision: 40892
* netifd: replace the sleep 5 with an ubus wait_for call to speed up init scriptFelix Fietkau2014-05-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40891
* eglibc: add support for other mips64 ABI variants as wellFelix Fietkau2014-05-311-1/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40890
* fstools: update to the latest version, fixes build for 64 bit targetsFelix Fietkau2014-05-311-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40889
* eglibc: fix mips64 abi selection, default to o64 instead of n32Felix Fietkau2014-05-311-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40888
* odhcp6c: fix last commitSteven Barth2014-05-301-1/+1
| | | | SVN-Revision: 40887
* odhcp6c: improve passthrough filterSteven Barth2014-05-301-2/+2
| | | | SVN-Revision: 40886
* include/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errorsFelix Fietkau2014-05-301-11/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40885
* iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing ↵Felix Fietkau2014-05-301-1/+4
| | | | | | | | garbage Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40884
* busybox: remove redundant 6rd-patchSteven Barth2014-05-291-18/+0
| | | | SVN-Revision: 40882
* odhcpd: Fix a segfault in DHCPv6 option handlingSteven Barth2014-05-291-2/+2
| | | | SVN-Revision: 40881
* bcm53xx: add support for the PCIe controllerHauke Mehrtens2014-05-2916-91/+2598
| | | | | | | | | | This patch adds support for the PCIe controller In addition to the PCIe controller a sprom is now provided by a device tree driver to bcma from some nvram. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40880
* busybox: udhcpc source IP rebind patchSteven Barth2014-05-291-0/+53
| | | | | | | | | | | | Patch sets the source IP address of DHCP request messages during rebind to the IP address assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release messages. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 40878
* 6in4: adjust update url (#16617)Jo-Philipp Wich2014-05-292-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40876
* musl: add a hack to rip out excessive iconv bloatFelix Fietkau2014-05-281-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40875
* gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object sizeFelix Fietkau2014-05-281-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40874
* kirkwood: cosmetic: move POGOE02 profile to different fileLuka Perkov2014-05-282-21/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40873
* uboot-envtools: add support for kirkwood ea4500Luka Perkov2014-05-282-2/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40872
* kirkwood: add support for Linksys EA4500Luka Perkov2014-05-285-2/+203
| | | | | | | Support is added only for kernel 3.14 - do not show it until the switch is made. Following uboot env changes are needed to make it work on stock uboot:
* gcc: disable libsanitzier off_t check to fix musl buildFelix Fietkau2014-05-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40870
* ubox: update to latest version, fixes kmodloader issues with muslFelix Fietkau2014-05-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40869
* uqmi: Add support for QMI-based mobile broadband modemsFelix Fietkau2014-05-282-0/+185
| | | | | | | | | | | | | Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the modem. At the moment there is no support for them in OpenWrt. This patch adds support for them in the form of a netifd script and a control utility. Tested with Huawei E398 and ZTE MF820D (which requires a delay of ~30 s before responding to QMI commands). I put myself up as the maintainer, feel free to change this if you desire. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 40868
* uclient: update to the latest version, fixes an issue with http ↵Felix Fietkau2014-05-281-2/+2
| | | | | | | | authentication handling Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40867
* ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbolFelix Fietkau2014-05-277-21/+7
| | | | | | | | | | | | | | 550-ubifs-symlink-xattr-support.patch contains a reference to the by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to the functionality originally added by the patch in r30794 being left-out during compile since commit 1bdcc63112a0 ("UBIFS: remove xattr Kconnfig option") in v3.5. Fix this by removing the #ifdef from all affected kernels as XATTR support is now always enabled for UBIFS as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40864
* odhcpd: add support for configuring raw dhcpv6 optionsSteven Barth2014-05-261-2/+2
| | | | SVN-Revision: 40862
* libubox: update to latest version, fixes a segfault on json_script cleanupFelix Fietkau2014-05-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40861
* ath9k: fix deprecated syntax in config symbolFelix Fietkau2014-05-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40860
* ath9k: make support for PC-OEM cards optional, reduces module sizeFelix Fietkau2014-05-253-0/+270
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40859