aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dnsmasq: Fix hosts file format when MAC address is not specifiedJohn Crispin2014-08-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | An entry like this in /etc/config/dhcp: config 'host' option 'name' 'pc2' option 'ip' '192.168.100.56' option 'dns' '1' results in a /tmp/hosts/dhcp entry that looks like this: 192.168.100.56 .lan Obviously it should say "pc2.lan". This happens because $name is set to "" in order to support the MAC-less syntax: "--dhcp-host=lap,192.168.0.199". Fix this by reordering the operations. Also, refuse to add a DNS entry if the hostname or IP is missing. Fixes #17683 Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr> Signed-off-by: Kevin Cernekee <cernekee@gmail.com> SVN-Revision: 42319
* dnsmasq: Create rDNS records for LuCI "Hostnames"John Crispin2014-08-281-6/+3
| | | | | | | | | | | | | LuCI creates "domain" UCI config sections, which the dnsmasq init file then, currently, translates into "address" config lines. This is not the correct usage of "address" (see r36943), and also causes rDNS records to not be created. This patches dnsmasq.init to utilize the additional hosts file introduced in r40799 for such domain names, resolving both issues. Signed-off-by: Tyler Fenby <tylerf@securecominc.com> SVN-Revision: 42318
* ar71xx: add Support for RB2011UiAS-2HnDJohn Crispin2014-08-284-3/+34
| | | | SVN-Revision: 42317
* lantiq: BTHOMEHUBV2B use bigger mtd partition for kernelJohn Crispin2014-08-281-2/+2
| | | | | | | | | | | | | | | | The bb-rc3 image for the BTHOMEHUBV2B is too big for its mtd partition. This patch corrects the partition sizes in the device tree. This patch should really go in before bb-final, otherwise the BTHOMEHUBV2B images won't be useable. I do apologise for not spotting this straight away. Many thanks, Ben Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 42316
* ramips: unbreak i2c for 3.14John Crispin2014-08-281-27/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42315
* kirkwood: refresh kernel configLuka Perkov2014-08-271-3/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42314
* sunxi: initial 3.14 patchsetZoltan Herpai2014-08-27111-0/+18880
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42313
* tools/bc: add missing dependency on bisonFelix Fietkau2014-08-271-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42309
* tools/flex: disable building shared libfl.soFelix Fietkau2014-08-271-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42308
* kernel: revert [40784]Nicolas Thill2014-08-271-1/+1
| | | | SVN-Revision: 42307
* ralink: set 3.14 as defaultJohn Crispin2014-08-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42305
* kernel: add package for huawei ncm modemsJohn Crispin2014-08-261-0/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42304
* target/toolchain: strip files, leave out the initial gccFelix Fietkau2014-08-261-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42302
* build: override hardcoded paths to bison and m4 to make the SDK more relocatableFelix Fietkau2014-08-261-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42300
* umbim: update to latest gitJohn Crispin2014-08-261-2/+2
| | | | | | | | add pincode sanitization and handling for authproto/user/pass Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42299
* usbmode: update to latest gitJohn Crispin2014-08-262-2/+5
| | | | | | | | this adds support for a new mode MBIM that auto detects the bConfigurationValue. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42298
* imx6: refresh patchesLuka Perkov2014-08-252-6/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42297
* kernel: 3.14: refresh patchesLuka Perkov2014-08-251-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42296
* kernel: 3.14: backport for igb driver resolving a driver crashLuka Perkov2014-08-251-0/+40
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42295
* imx6: kernel: backport upstream fix for IMX6DL 800MHz speed gradeLuka Perkov2014-08-251-0/+76
| | | | | | | | | | | | | | A previous backported patch that adds freq/voltage operating points for the IMX6DL processor can cause hang/crash (general instability) on IMX6DL processors in the industrial/automative speed grades as they don't support 1GHz operation. This adds another backported patch from mainline that uses IMX6 fuse settings to properly remove invalid operating points for the particular CPU grade used. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42294
* ralink: the mt7620 evb has a usb portJohn Crispin2014-08-251-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42293
* ralink: a few 3.14 related fixesJohn Crispin2014-08-254-142/+111
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42292
* ralink: fix mt7620 ohci 3.14John Crispin2014-08-252-50/+45
| | | | | | | | the ohci phy was not reset properly Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42291
* ralink: fix mt7620 ohci 3.10John Crispin2014-08-251-2/+3
| | | | | | | | the ohci phy was not reset properly Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42290
* ralink: mt7620 has obchi/ehci and not dwc2John Crispin2014-08-252-2/+2
| | | | | | | | fix the default package selection Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42289
* kernel: add ohci-platform.ko for 3.11+John Crispin2014-08-251-1/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42288
* kernel: add own Kconfig for OpenWrt mtdsplit driversJohn Crispin2014-08-255-83/+30
| | | | | | | | | | | | | There are pretty many OpenWrt patches against mtd subsystem resulting in a bit of mess and growing maintenance cost. My idea is to use an extra "mtdsplit" directory with OpenWrt specific files (including Kconfig). This is the first step to achieve this. This patch adds a "mtdsplit" directory with Kconfig and replaces 4 patches with a single one. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42287
* uhttpd: do not configure TLS parameters if libustream-ssl is not presentJo-Philipp Wich2014-08-252-3/+3
| | | | | | | | | | | | A quite frequent problem after sysupgrading from an older, SSL enabled build is that ustream-ssl is not installed so uhttpd fails to come up again due to https listening directives in the preserved configuration. Skip key/cert and ssl listen options when libustream-ssl.so is not present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42284
* PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by defaultJohn Crispin2014-08-252-3/+14
| | | | | | | | | | | The idea is still to enable it by default at some point I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now I can test more targets but i have no idea which are the most used Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 42282
* mac80211/rt2x00: allow disabling bands through dtsJohn Crispin2014-08-251-0/+27
| | | | | | | | | | | | | Add dts property ralink,2ghz and ralink,5ghz e.g. disable 2ghz band: wmac@10180000 { status = "okay"; ralink,2ghz = <0>; } Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 42281
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-08-251-3/+3
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42280
* ar71xx: enable sysupgrade for the EnGenius ESR900John Crispin2014-08-251-0/+1
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42279
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-257-26/+0
| | | | | | | | | | | | | | | | | | | | | | somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42278
* ramips: enable second SPI for VoCoreJohn Crispin2014-08-252-11/+11
| | | | | | | | This patch enables the second SPI as spidev and also fixes some typos. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42277
* ramips: second spi device on rt5350John Crispin2014-08-253-2/+738
| | | | | | | | | | | | | | | | This is based on Jon Smirl's patch with the following changes: - Set CS polarity as low by default. - Add support for changing CS polarity. - Add support for changing LSB/MSB. - Add support for changing SPI mode. - Fix indentations. I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42276
* odhcp6c: enable softwires support by defaultSteven Barth2014-08-251-11/+2
| | | | SVN-Revision: 42274
* iwinfo: properly decode SSIDs when scanning through wpa_supplicantJo-Philipp Wich2014-08-242-4/+63
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42273
* bcm53xx: update bcma device tree intergeneration and fix nvram parsingHauke Mehrtens2014-08-2414-241/+475
| | | | | | | | | | | | This fixes lots of sparse and checkpatch errors and extends the documentation. This also fixes a problem in the nvram parser, it now detects the correct nvram on my Netgear R6250. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42272
* odhcpd: fix static lease behavior with dhcpv4Steven Barth2014-08-241-2/+2
| | | | SVN-Revision: 42270
* kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patchesFlorian Fainelli2014-08-232-20/+0
| | | | | | | | | Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was included in 3.13 and onwards, hence making those patches obsolete. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42263
* umbim: add netifd proto handler for mbim style lte modemsJohn Crispin2014-08-222-0/+192
| | | | | | | | tested on vodafone k5105 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42262
* base-files: properly generate the ulaJohn Crispin2014-08-221-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42261
* bcm53xx: add bcm53xxspiflash driver for SPI flashesHauke Mehrtens2014-08-213-0/+306
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42260
* bcm53xx: backport more spi-nor patchesHauke Mehrtens2014-08-216-0/+556
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42259
* uclient: update to latest version, fixes HTTP keepalive issuesFelix Fietkau2014-08-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42257
* xtables-addons: update to version 2.5Felix Fietkau2014-08-217-127/+1940
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42256
* dropbear: restore performance by disabling mips16Jonas Gorski2014-08-211-1/+2
| | | | | | | | | | | | Disable MIPS16 to prevent it negatively affecting performance. Observed was a increase of connection delay from ~6 to ~11 seconds and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx. Fixes #15209. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42250
* dropbear: fix keepalive moreJonas Gorski2014-08-211-0/+333
| | | | | | | | | | | Add a further upstream commit to more closely match the keepalive to OpenSSH. Should now really fix #17523. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42249
* brcm63xx: Add DT support for P870HW-51aJonas Gorski2014-08-217-21/+85
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: fix nvram partition offset] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42248
* brcm63xx: Add DT support for HG553Jonas Gorski2014-08-2141-68/+99
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: fix linux partition length] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42247