John Crispin
2ae05c57f8
package/*: remove useless explicit set of function returncode
...
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
2014-08-25 06:35:50 +00:00
John Crispin
fdc41e2fd7
ramips: enable second SPI for VoCore
...
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
2014-08-25 06:35:46 +00:00
John Crispin
a3fd3dc796
ramips: second spi device on rt5350
...
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
2014-08-25 06:35:42 +00:00
Steven Barth
75cbca0a40
odhcp6c: enable softwires support by default
...
SVN-Revision: 42274
2014-08-25 06:11:53 +00:00
Jo-Philipp Wich
9d2bdd8585
iwinfo: properly decode SSIDs when scanning through wpa_supplicant
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42273
2014-08-24 21:42:26 +00:00
Hauke Mehrtens
823659f458
bcm53xx: update bcma device tree intergeneration and fix nvram parsing
...
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
2014-08-24 15:57:49 +00:00
Steven Barth
befad7432b
odhcpd: fix static lease behavior with dhcpv4
...
SVN-Revision: 42270
2014-08-24 08:12:57 +00:00
Florian Fainelli
fcfd0cec76
kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
...
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
2014-08-23 02:42:03 +00:00
John Crispin
0aa8214ae9
umbim: add netifd proto handler for mbim style lte modems
...
tested on vodafone k5105
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42262
2014-08-22 19:02:30 +00:00
John Crispin
2d286dad6e
base-files: properly generate the ula
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42261
2014-08-22 14:19:07 +00:00
Hauke Mehrtens
cc3545d165
bcm53xx: add bcm53xxspiflash driver for SPI flashes
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42260
2014-08-21 21:11:04 +00:00
Hauke Mehrtens
b118879cc3
bcm53xx: backport more spi-nor patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42259
2014-08-21 21:10:29 +00:00
Felix Fietkau
a81f356873
uclient: update to latest version, fixes HTTP keepalive issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42257
2014-08-21 19:12:38 +00:00
Felix Fietkau
53d1cb9409
xtables-addons: update to version 2.5
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42256
2014-08-21 19:12:34 +00:00
Jonas Gorski
bb6905bd23
dropbear: restore performance by disabling mips16
...
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
2014-08-21 11:29:04 +00:00
Jonas Gorski
932305f854
dropbear: fix keepalive more
...
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
2014-08-21 11:29:02 +00:00
Jonas Gorski
51e1f1476f
brcm63xx: Add DT support for P870HW-51a
...
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
2014-08-21 11:28:59 +00:00
Jonas Gorski
b339304425
brcm63xx: Add DT support for HG553
...
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
2014-08-21 11:28:54 +00:00
Jonas Gorski
2f09960e46
brcm63xx: Add DT support for HG520v
...
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: 42246
2014-08-21 11:28:46 +00:00
Jonas Gorski
7bc83fdd13
brcm63xx: Add DT support for A4001N
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42245
2014-08-21 11:28:43 +00:00
Jonas Gorski
a180c80f23
brcm63xx: Add DT support for A4001N1
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42244
2014-08-21 11:28:40 +00:00
Jonas Gorski
83651bad85
brcm63xx: Add DT support for WAP-5813n
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42243
2014-08-21 11:28:37 +00:00
Jonas Gorski
7b2d74a156
brcm63xx: Add DT support for VR-3025un
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42242
2014-08-21 11:28:34 +00:00
Jonas Gorski
42bbf7bcb3
brcm63xx: Add DT support for VR-3025u
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42241
2014-08-21 11:28:32 +00:00
Jonas Gorski
2936cacdfc
brcm63xx: Add DT support for AR-5387un
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42240
2014-08-21 11:28:28 +00:00
Jonas Gorski
b97aa0b4fd
brcm63xx: Add DT support for AR-5381u
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42239
2014-08-21 11:28:18 +00:00
Jonas Gorski
1891b08f00
brcm63xx: Add DT support for CT-6373
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42238
2014-08-21 11:28:14 +00:00
Jonas Gorski
e490cc7e14
brcm63xx: Add DT support for CT-5365
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42237
2014-08-21 11:28:10 +00:00
Jonas Gorski
e46d57b3af
brcm63xx: use DT for partitions on SPW500V
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42236
2014-08-21 11:28:01 +00:00
Jonas Gorski
84001352fd
brcm63xx: dts: fix spelling of "bank-width"
...
Fixes pflash registration through DT for 6338/6345/6348.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42235
2014-08-21 11:27:56 +00:00
Jonas Gorski
33e2a51d4d
brcm63xx: dsl-274xb-c: linux partition should not be read-only
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42234
2014-08-21 11:27:44 +00:00
John Crispin
b9ea44f947
firewall: the firewall did not start properly on boot
...
https://dev.openwrt.org/ticket/17593
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42233
2014-08-21 09:53:25 +00:00
John Crispin
e9e519a147
ramips: fix OMNI-PLUG.dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42232
2014-08-21 06:41:27 +00:00
John Crispin
db657af409
libubox: update to latest git revision
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42230
2014-08-20 18:21:59 +00:00
Nicolas Thill
62ae2d1af1
valgrind: fix build failure on uml
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 42229
2014-08-20 13:58:23 +00:00
Steven Barth
929e73c7b6
base-files: increase igmp_max_memberships to improve multicast-proxy handling
...
SVN-Revision: 42227
2014-08-20 10:18:40 +00:00
Steven Barth
0f49b1940e
dnsmasq: fix a race condition possibly leading to lockup
...
SVN-Revision: 42225
2014-08-20 09:52:29 +00:00
Hauke Mehrtens
f66a0912f7
bcm53xx: add SPI controller driver
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42223
2014-08-19 20:14:06 +00:00
Hauke Mehrtens
bcb36cd494
bcm53xx: backport spi nor code form kernel v3.17-rc1.
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42222
2014-08-19 20:12:36 +00:00
Hauke Mehrtens
a8bdf2f1e0
kernel: update bcma to code from v3.17-rc1
...
This is needed for some new patches.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42221
2014-08-19 20:06:24 +00:00
John Crispin
9ba6cd186a
base-files: fix inverse logic in board_detect script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42220
2014-08-19 09:59:39 +00:00
Steven Barth
fe3d4f2176
odhcpd: various DHCPv4 and DHCPv6 fixes
...
SVN-Revision: 42217
2014-08-19 05:58:51 +00:00
Steven Barth
c36e312647
dnsmasq: respect option dhcpv4 disabled in dhcp-config
...
SVN-Revision: 42216
2014-08-19 05:58:44 +00:00
Hauke Mehrtens
4a9acacf53
kernel: 3.14: update bcm47xxpart
...
It it used by brcm47xx and bcm53xx targets, so put patches in generic.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42212
2014-08-18 21:57:54 +00:00
Jonas Gorski
770ba9d40f
brcm63xx: enable fallback sprom for Speedport W500 V
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42211
2014-08-18 21:50:45 +00:00
Jonas Gorski
ddbff6a198
brcm63xx: tag images/dtbs with profiles
...
This prevents generating every supported image, except for de "Default" profile.
Also fixes Neufbox 6 image generation.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42210
2014-08-18 21:50:42 +00:00
Jonas Gorski
3db93a3351
brcm63xx: add profiles for DTB supported devices
...
Remove generic profiles and add profiles for each DTB supported device.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42209
2014-08-18 21:50:40 +00:00
Jonas Gorski
84ea696e03
brcm63xx: move generic profiles to top dir and remove smp profiles
...
Use generic profiles for brcm63xx instead of having similar profiles for
each subtarget.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42208
2014-08-18 21:50:37 +00:00
Jonas Gorski
4e708346cd
brcm63xx: simplify HG556a image generation
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42207
2014-08-18 21:50:34 +00:00
Jonas Gorski
29e4d82dbb
brcm63xx: fix HG556a boards and remove fallback board
...
This changes board info to match the Wiki
http://wiki.openwrt.org/toh/huawei/hg556a , removes the no longer needed
fallback board and fixes HG556 Ralink eeprom extraction.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: rename partitions instead]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42206
2014-08-18 21:50:29 +00:00