Commit Graph

412 Commits

Author SHA1 Message Date
John Crispin
20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
Felix Fietkau
f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
2014-10-05 20:17:19 +00:00
John Crispin
ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
2014-07-20 17:31:11 +00:00
John Crispin
32e93efc73 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41571
2014-07-10 20:05:43 +00:00
John Crispin
0f76f8a16e target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41560
2014-07-10 19:16:15 +00:00
John Crispin
994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
2014-06-26 13:47:42 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
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
2014-06-02 12:43:22 +00:00
Gabor Juhos
d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
Gabor Juhos
627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
Imre Kaloz
b85310df77 add GW2375 support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39893
2014-03-12 13:39:06 +00:00
Gabor Juhos
f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
Gabor Juhos
a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
Luka Perkov
1df5226b04 ixp4xx: upgrade: don't copy extra binaries
hexdump is already added to new temporary file system while less is not used at
all. While at it, remove some trailing whitespaces.

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39181
2013-12-30 23:49:25 +00:00
Hauke Mehrtens
952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
Gabor Juhos
f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
Felix Fietkau
e3a335c2c4 ixp4xx: fix usb on cambria boards by using the ehci-platform driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38740
2013-11-11 16:51:01 +00:00
Gabor Juhos
35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Felix Fietkau
28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
2013-07-30 08:00:25 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
c8933c968f linux: remove duplicated 3.10 symbols from target config files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37467
2013-07-20 07:21:52 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
Jonas Gorski
6db050194e ixp4xx: switch cambira to gpio_keys_polled
gpio_buttons have been deprecated since a long time.

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

SVN-Revision: 37434
2013-07-19 13:20:37 +00:00
Hauke Mehrtens
06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
2013-07-13 22:45:09 +00:00
Jonas Gorski
fb81a9b5ed ixp4xx: replace magic number with macros in avila/ixdp425/miccpt PCI routing setup
Replace magic number with the appropriate macro in
avila/ixdp425/miccpt PCI routing setup.
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37154
2013-07-03 17:51:54 +00:00
Jonas Gorski
cdd6c5b750 ixp4xx: switch to kernel 3.10
Fixes network issues at least on NSLU2 (#13801).

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

SVN-Revision: 37153
2013-07-03 17:51:44 +00:00
Jonas Gorski
87c0c2d81d ixp4xx: add support for linux 3.10
Run tested on a NSLU2.

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

SVN-Revision: 37124
2013-07-01 18:42:49 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
Florian Fainelli
1e103b2ecc target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35156
2013-01-14 16:34:25 +00:00
Florian Fainelli
33f6c5ddb9 kernel: add missing USB configuration symbols after r34501
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34568
2012-12-07 11:01:53 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Imre Kaloz
527c473674 add support for the Tonze AP-422/425
SVN-Revision: 34165
2012-11-11 21:04:30 +00:00
Imre Kaloz
ee9e3bf82e refresh patch
SVN-Revision: 34164
2012-11-11 21:03:52 +00:00
Imre Kaloz
4658e463d9 move fixed mapping of internal devices into vmalloc region
SVN-Revision: 34158
2012-11-11 19:29:27 +00:00
Imre Kaloz
f2b75b517b fixup typos in the compex patch
SVN-Revision: 34104
2012-11-07 07:51:24 +00:00
Imre Kaloz
d822ecfdf8 use the mainline machname for the compex boards
SVN-Revision: 34083
2012-11-05 11:38:23 +00:00
Gabor Juhos
e91dc2e5b3 target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33987
2012-10-29 10:11:05 +00:00
Felix Fietkau
96fa602499 ixp4xx: add sysupgrade support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/ixp4xx/base-files/lib/ixp4xx.sh           |   25 ++
 target/linux/ixp4xx/base-files/lib/upgrade/platform.sh |  156 +++++++++++++++++
 target/linux/ixp4xx/image/Makefile                     |   11 +
 3 files changed, 192 insertions(+)

SVN-Revision: 33828
2012-10-17 22:03:46 +00:00
John Crispin
6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
John Crispin
ba6751058b gpiodev/gpioctl RIP
SVN-Revision: 33725
2012-10-11 11:58:09 +00:00
Imre Kaloz
9b22ca8042 The Gateworks System Controller (GSC) is an i2c device that provides system level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33720
2012-10-11 07:59:06 +00:00
Felix Fietkau
cae6f4ddb4 ixp4xx: enable OPTIMIZE_FOR_SIZE
Enabling OPTIMIZE_FOR_SIZE cuts the kernel binary down by 50K which is
critical for some small-footprint boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33679
2012-10-10 11:38:28 +00:00
Felix Fietkau
f14b8d43f2 ixp4xx: add missing reboot handlers (fixes #11577)
SVN-Revision: 33672
2012-10-09 15:38:55 +00:00