Commit Graph

449 Commits (0d7130a68ff89f2f5479b8d78e26fddfe7b9c665)

Author SHA1 Message Date
John Crispin fb6da76b11 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:05:43 +00:00
John Crispin 38c81b2552 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:22 +00:00
Gabor Juhos 659883a917 kernel: remove obsolete yaffs options from target configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:51:21 +00:00
Florian Fainelli 1bd081cf6f targets: fix remaining targets for initramfs builds
Fix some bugs that slipped through while making initramfs non exclusive.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 22:56:34 +00:00
Florian Fainelli 704e2ed39d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 19:58:31 +00:00
John Crispin 623e6025a8 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:47 +00:00
John Crispin 02f1075b0a base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:43 +00:00
Jonas Gorski 103893f67e target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:59 +00:00
Gabor Juhos 590f53b235 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:02:31 +00:00
Jonas Gorski c3152edcbd kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 21:41:55 +00:00
Gabor Juhos f4c75506c0 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-08 08:53:53 +00:00
Gabor Juhos eeea332f33 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-01 22:15:18 +00:00
Gabor Juhos 440bb56dc2 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:43:59 +00:00
Gabor Juhos 14fec491c7 kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 16:55:42 +00:00
Steven Barth 276de79fca Change default IPv6 config to enable DHCPv6-PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:16 +00:00
Gabor Juhos 5afe312fc7 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 08:07:34 +00:00
Gabor Juhos 9198c2f4ab kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-14 09:25:53 +00:00
Steven Barth 4c9003ffc7 Adapt default network configuration for IPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 08:03:08 +00:00
Gabor Juhos 67dfec2fa8 kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:40:44 +00:00
Gabor Juhos 84da566873 kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:39:51 +00:00
Gabor Juhos 8fcf953db3 adm5120: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:46 +00:00
Gabor Juhos c824d4394f adm5120: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:45 +00:00
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos 21acabb63d adm5120: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:14 +00:00
Gabor Juhos fc6e5812f4 adm5120: remove __dev{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:03 +00:00
Gabor Juhos 2a26c45c14 adm5120: remove a superfluous patch
The NO_IRQ symbol is not used by the amba core since
upstream commit:

  dfb85185bda373a70409c70c2632b02fb0f8f449
  AMBA: get rid of last two uses of NO_IRQ

  This gets rid of the last two users of NO_IRQ in AMBA primecell
  drivers.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:19 +00:00
Gabor Juhos d1746f1489 adm5120: avoid warning caused by wrong AMBA irq values
The amba core throws a warning if -1 is used as an
irq value since upstream commit:

  2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
  ARM: amba: make use of -1 IRQs warn

  Make the core warn about the use of -1 (NO_IRQ)

Cange the value of the unused IRQs to zero for the
UART devices to get rid of the warning.

Based on #12729.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:17 +00:00
Gabor Juhos d5e9696c49 adm5120: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:26 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos d619b697b5 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:56 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
Felix Fietkau a35962e3b7 kernel: clean up crypto related kconfig options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Gabor Juhos 1b117657bf adm5120: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:42 +00:00
Gabor Juhos f4b34b8280 adm5120: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:40 +00:00
Gabor Juhos 64cfd63980 kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 11:43:08 +00:00
Gabor Juhos 5da444f97a adm5120: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:49 +00:00
Gabor Juhos b1d8b07c54 adm5120: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:44 +00:00
Gabor Juhos 8d217f0aa3 adm5120: switch to 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:41 +00:00
Gabor Juhos e28e4f21bb adm5120: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:36 +00:00
Gabor Juhos 1bb315c9c0 adm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c
Also add a compatibility patch for 3.3.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:30 +00:00
Gabor Juhos e16d2987ec adm5120: use mtd_read helper in trxsplit.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:20 +00:00
Gabor Juhos 3d264ffd0a adm5120: don't include asm/system.h in adm5120-hcd.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:16 +00:00
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Florian Fainelli bfd69b4134 kernel: add missing USB configuration symbols after r34501
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 11:01:53 +00:00
Florian Fainelli 75d0271704 [adm5120] do no longer rename amba-pl010 serial devices names
Back in the days when we could not override /etc/inittab, it made a lot
of sense to rename ttyAM to ttyS since this was the only supported
serial device(s), we can now just put in an appropriate /etc/inittab file
now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 16:18:40 +00:00
Gabor Juhos b8f87e36f2 remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:35 +00:00