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
John Crispin
6ba5d2dd29
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:46:16 +00:00
John Crispin
46c0a79b2c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:46:12 +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
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
Hauke Mehrtens
c697edaab2
kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:56:04 +00:00
Florian Fainelli
365eb27ba4
au1000: remove support for 3.3. kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:47 +00:00
Florian Fainelli
45acb1fd6f
au1000: switch to 3.6 kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:41 +00:00
Florian Fainelli
ac2749d0f0
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:36 +00:00
Florian Fainelli
3b1a2e5c15
au1000: migrate to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:52 +00:00
Gabor Juhos
6e6c016e80
remove common symbols from 3.6 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@34404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:41 +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
Florian Fainelli
ddf27142f4
[au1000] advertise squashfs feature
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 19:26:54 +00:00
Florian Fainelli
8a9badd8a3
[au1000] add support for Linux 3.6
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 19:26:50 +00:00
Florian Fainelli
1ff596e058
[au1000] split kernel config between generic, au1500 and au1550
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 19:26:44 +00:00
Gabor Juhos
e036077e9e
target: refresh all target configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:11:05 +00:00
Florian Fainelli
2cd40740fa
[au1000] rename upgrade image to sysupgrade.bin for consistency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:47:57 +00:00
Florian Fainelli
f24645d38e
[au1000] add missing configuration symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:40:28 +00:00
Florian Fainelli
12b3013f15
au1000: implement sysupgrade platform.sh
...
Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:40:24 +00:00
Florian Fainelli
6ea773bad6
au1000: clean up profiles
...
Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:39:52 +00:00
Florian Fainelli
bb1fe5cfc1
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:39:47 +00:00
John Crispin
266c70cdf4
[kernel] bump to 3.3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
Gabor Juhos
47555ae06c
au1000: remove 3.2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:18 +00:00
Gabor Juhos
480346bdcb
au1000: switch to 3.3 and add broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:17 +00:00
Gabor Juhos
854bea7e28
au1000: add support for 3.3
...
Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:15 +00:00
Gabor Juhos
cb4c118e50
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
Jonas Gorski
5520ed39bf
kernel: update linux 3.2 to 3.2.16
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:35 +00:00
Gabor Juhos
ad28da8084
au1000: remove 2.6.39 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 16:30:40 +00:00
Jonas Gorski
7865291832
kernel: also update the targets to use 3.2.15
...
Thanks Gabor for spotting it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 13:12:14 +00:00
Jonas Gorski
fe073513d5
kernel: update linux 3.2 to 3.2.14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
Jonas Gorski
d944e45d65
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Gabor Juhos
81de1500bc
kernel: update linux 3.2 to 3.2.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Felix Fietkau
887c0ecd98
targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
Gabor Juhos
23c3f7941e
kernel: update linux 3.2 to 3.2.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
Gabor Juhos
671345762c
kernel: update linux 3.2 to 3.2.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:23 +00:00
Jonas Gorski
16c688c247
kernel: update linux 3.2 to 3.2.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:44:00 +00:00
Florian Fainelli
d12db5a466
[au1000] add missing config symbols
...
Thanks KanjiMonster
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-30 10:53:20 +00:00
Florian Fainelli
fdce0d68fd
[au1000] add support for 3.2 kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 15:00:25 +00:00
Hauke Mehrtens
ff1d70f47d
kernel: update kernel to version 2.6.39.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
Hauke Mehrtens
210af3e57c
kernel: update kernel to 2.6.39.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 19:30:58 +00:00
Florian Fainelli
a057bc3de3
[au1000] remove 2.6.37 patches and config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:07:26 +00:00
Florian Fainelli
c8baad652d
[kernel] update to 2.6.39.1
...
patch from Peter Wagner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 13:35:55 +00:00
Florian Fainelli
1184342f70
[au1000] update to 2.6.39
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-02 13:45:20 +00:00
Florian Fainelli
b8f0b2b785
[kernel] fill maintainer infos for a couple of targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-06 12:37:36 +00:00
Felix Fietkau
2a894af942
au1000: remove patches/configs for 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 18:39:42 +00:00
Florian Fainelli
64b93ee3e9
[au1000] drop 005-au1000_phy_addr.patch, upstream is fixed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 18:25:56 +00:00
Hauke Mehrtens
5fb18eaef8
kernel: Update to version 2.6.37.6
...
Thank you Peter Wagner for the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:59:07 +00:00
Imre Kaloz
4e0887e1b3
update to 2.6.32.33 and 2.6.37.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 13:25:32 +00:00
Hauke Mehrtens
910545f3eb
kernel: update to kernel version 2.6.37.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 17:14:08 +00:00
Florian Fainelli
01f1527c94
[au1000] make au1OOO_eth probes all PHY addresses for MTX-1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 19:04:02 +00:00