Commit Graph

31341 Commits (34627f6bf63023cc95f7ce7fd180f17809121fc0)

Author SHA1 Message Date
John Crispin e723b7928a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:50 +00:00
John Crispin 6c505b7533 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:46 +00:00
John Crispin 724cfaaddc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:42 +00:00
Steven Barth e7adecda3f odhcp6c: enable softwires support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:11:53 +00:00
Jo-Philipp Wich 9a4301d15e iwinfo: properly decode SSIDs when scanning through wpa_supplicant
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 21:42:26 +00:00
Hauke Mehrtens 49a8887214 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 15:57:49 +00:00
Steven Barth 7bbfb59996 odhcpd: fix static lease behavior with dhcpv4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 08:12:57 +00:00
Florian Fainelli 539e1f880b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-23 02:42:03 +00:00
John Crispin c3f7b0fe6d umbim: add netifd proto handler for mbim style lte modems
tested on vodafone k5105

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-22 19:02:30 +00:00
John Crispin 75653caad1 base-files: properly generate the ula
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-22 14:19:07 +00:00
Hauke Mehrtens 6d6b245249 bcm53xx: add bcm53xxspiflash driver for SPI flashes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 21:11:04 +00:00
Hauke Mehrtens 63fbe5f83b bcm53xx: backport more spi-nor patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 21:10:29 +00:00
Felix Fietkau dff426fd61 uclient: update to latest version, fixes HTTP keepalive issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:12:38 +00:00
Felix Fietkau d55fa23224 xtables-addons: update to version 2.5
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:12:34 +00:00
Jonas Gorski 0d96d86bc3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:29:04 +00:00
Jonas Gorski a67d5e1eeb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:29:02 +00:00
Jonas Gorski 68c0942be4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:59 +00:00
Jonas Gorski 6e11bb2ea8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:54 +00:00
Jonas Gorski e906c851e9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:46 +00:00
Jonas Gorski ec95cb410a brcm63xx: Add DT support for A4001N
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:43 +00:00
Jonas Gorski 6bf8cb672b brcm63xx: Add DT support for A4001N1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:40 +00:00
Jonas Gorski 5771199a96 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:37 +00:00
Jonas Gorski 77fbee7119 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:34 +00:00
Jonas Gorski 67f88552ff 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:32 +00:00
Jonas Gorski 21d5dba7ad 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:28 +00:00
Jonas Gorski 2d4ba17d54 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:18 +00:00
Jonas Gorski 364a80bb11 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:14 +00:00
Jonas Gorski 89f205b198 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:10 +00:00
Jonas Gorski 330287328c brcm63xx: use DT for partitions on SPW500V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:01 +00:00
Jonas Gorski 66f3f87e6c brcm63xx: dts: fix spelling of "bank-width"
Fixes pflash registration through DT for 6338/6345/6348.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:27:56 +00:00
Jonas Gorski 08c8aced28 brcm63xx: dsl-274xb-c: linux partition should not be read-only
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:27:44 +00:00
John Crispin 16be44f48f firewall: the firewall did not start properly on boot
https://dev.openwrt.org/ticket/17593

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 09:53:25 +00:00
John Crispin 7e47cb16bd ramips: fix OMNI-PLUG.dts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 06:41:27 +00:00
John Crispin b0a70151a8 libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 18:21:59 +00:00
Nicolas Thill b7cff96218 valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 13:58:23 +00:00
Steven Barth e5a925bd47 base-files: increase igmp_max_memberships to improve multicast-proxy handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 10:18:40 +00:00
Steven Barth 5401347fda dnsmasq: fix a race condition possibly leading to lockup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 09:52:29 +00:00
Hauke Mehrtens 97108f1b53 bcm53xx: add SPI controller driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 20:14:06 +00:00
Hauke Mehrtens ee464c33a2 bcm53xx: backport spi nor code form kernel v3.17-rc1.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 20:12:36 +00:00
Hauke Mehrtens 3ba033ed1b 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 20:06:24 +00:00
John Crispin fede953fc2 base-files: fix inverse logic in board_detect script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 09:59:39 +00:00
Steven Barth 8d22f9d0f4 odhcpd: various DHCPv4 and DHCPv6 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:58:51 +00:00
Steven Barth bb96082ca0 dnsmasq: respect option dhcpv4 disabled in dhcp-config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:58:44 +00:00
Hauke Mehrtens c41d5581c1 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:57:54 +00:00
Jonas Gorski d2fc14ca6c brcm63xx: enable fallback sprom for Speedport W500 V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:45 +00:00
Jonas Gorski 574299cf25 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:42 +00:00
Jonas Gorski 8f72056123 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:40 +00:00
Jonas Gorski 927414af4e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:37 +00:00
Jonas Gorski a8b85da981 brcm63xx: simplify HG556a image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:34 +00:00
Jonas Gorski 9ea86de16b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:29 +00:00