Commit Graph

180 Commits

Author SHA1 Message Date
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
John Crispin
a100fd3b4a au1000: make sysupgrade compatible with all file system types
This patch adds support for all file system types as discussed earlier:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022109.html

This patch depends on a previous patch:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022111.html

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

SVN-Revision: 38675
2013-11-07 12:46:16 +00:00
John Crispin
8247d9926a au1000: create sysupgrade binary for each file system type
This patch should prevent overriding of sysupgrade binaries in the bin directory
if we build images for more then one file system type.

Discussion:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022108.html

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

SVN-Revision: 38674
2013-11-07 12:46:12 +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
Jonas Gorski
1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
2013-06-05 20:58:59 +00:00
Hauke Mehrtens
18c47be19a kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
SVN-Revision: 36102
2013-03-21 14:56:04 +00:00
Florian Fainelli
7987c8d0dc au1000: remove support for 3.3. kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36067
2013-03-17 14:33:47 +00:00
Florian Fainelli
c56c18168e au1000: switch to 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36066
2013-03-17 14:33:41 +00:00
Florian Fainelli
5592a619d0 au1000: keep the MTX-1 watchdog pin low during boot
Do this until the watchdog driver is loaded and the user-space watchdog
daemon can start pinging the watchdog.

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

SVN-Revision: 36065
2013-03-17 14:33:36 +00:00
Florian Fainelli
5953e79888 au1000: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35660
2013-02-18 10:37:52 +00:00
Gabor Juhos
c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34404
2012-11-29 15:21:41 +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
Florian Fainelli
9760644af4 advertise squashfs feature
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34157
2012-11-11 19:26:54 +00:00
Florian Fainelli
dd541cbefa add support for Linux 3.6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34156
2012-11-11 19:26:50 +00:00
Florian Fainelli
f7fcb3c845 split kernel config between generic, au1500 and au1550
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34155
2012-11-11 19:26:44 +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
Florian Fainelli
05340cc602 rename upgrade image to sysupgrade.bin for consistency
SVN-Revision: 32770
2012-07-17 16:47:57 +00:00
Florian Fainelli
d243c1e1f2 add missing configuration symbols
SVN-Revision: 32769
2012-07-17 16:40:28 +00:00
Florian Fainelli
f7dfd20f97 au1000: implement sysupgrade platform.sh
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32768
2012-07-17 16:40:24 +00:00
Florian Fainelli
ac6bf6d62f au1000: clean up profiles
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32767
2012-07-17 16:39:52 +00:00
Florian Fainelli
b2d76e1e05 au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific
idsel to work with newer kernels. Acutally I don't exactly understand why this
was not necessary before, but without the udelay, the MiniPCI adapter in slot 3
is not detected and set up correctly.

Also remove platform broken flag, it works.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32766
2012-07-17 16:39:47 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
907e88a37f au1000: remove 3.2 support
SVN-Revision: 31894
2012-05-27 15:01:18 +00:00
Gabor Juhos
fbe10e73c6 au1000: switch to 3.3 and add broken flag
SVN-Revision: 31893
2012-05-27 15:01:17 +00:00
Gabor Juhos
e065d5cfbe au1000: add support for 3.3
Compile tested only.

SVN-Revision: 31892
2012-05-27 15:01:15 +00:00
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Jonas Gorski
22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Gabor Juhos
b2b965a696 au1000: remove 2.6.39 support
SVN-Revision: 31416
2012-04-21 16:30:40 +00:00
Jonas Gorski
a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Jonas Gorski
d87efd8c3c kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Gabor Juhos
c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Felix Fietkau
db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
2012-03-19 09:58:13 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
6959317691 kernel: update linux 3.2 to 3.2.5
SVN-Revision: 30401
2012-02-10 08:19:23 +00:00
Jonas Gorski
b3568b10c2 kernel: update linux 3.2 to 3.2.2
SVN-Revision: 29967
2012-01-31 09:44:00 +00:00
Florian Fainelli
8100658a30 add missing config symbols
Thanks KanjiMonster

SVN-Revision: 29955
2012-01-30 10:53:20 +00:00
Florian Fainelli
ad808cf7e6 add support for 3.2 kernel
SVN-Revision: 29939
2012-01-29 15:00:25 +00:00
Hauke Mehrtens
09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Hauke Mehrtens
c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Florian Fainelli
34db3f9f86 remove 2.6.37 patches and config
SVN-Revision: 27228
2011-06-19 20:07:26 +00:00
Florian Fainelli
763b58c30c update to 2.6.39.1
patch from Peter Wagner

SVN-Revision: 27104
2011-06-04 13:35:55 +00:00
Florian Fainelli
0de25d1263 update to 2.6.39
SVN-Revision: 27090
2011-06-02 13:45:20 +00:00
Florian Fainelli
de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
2011-05-06 12:37:36 +00:00
Felix Fietkau
8566daa5df au1000: remove patches/configs for 2.6.35
SVN-Revision: 26708
2011-04-17 18:39:42 +00:00
Florian Fainelli
247a688ca5 drop 005-au1000_phy_addr.patch, upstream is fixed
SVN-Revision: 26580
2011-04-10 18:25:56 +00:00
Hauke Mehrtens
50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Imre Kaloz
b8430e7427 update to 2.6.32.33 and 2.6.37.4
SVN-Revision: 26226
2011-03-18 13:25:32 +00:00
Hauke Mehrtens
4226f1d373 kernel: update to kernel version 2.6.37.3
SVN-Revision: 26126
2011-03-13 17:14:08 +00:00
Florian Fainelli
16886de029 make au1OOO_eth probes all PHY addresses for MTX-1
SVN-Revision: 25761
2011-02-27 19:04:02 +00:00