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
- remove the kernel+rootfs partitions from the MTD partition map,
- use a temporary directory for intermediate image files,
- append the root squashfs directly to the kernel,
- don't hardcode uImage size in the jffs2 images,
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38194
It works:
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r38163)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/# uname -a
Linux OpenWrt 3.10.12 #1 Tue Sep 24 18:47:12 CEST 2013 avr32 GNU/Linux
root@OpenWrt:/# cat /proc/cpuinfo
processor : 0
chip type : AT32AP700x revision C
cpu arch : AVR32B revision 1
cpu core : AP7 revision 0
cpu MHz : 140.000
i-cache : 16K (4 ways x 128 sets x 32)
d-cache : 16K (4 ways x 128 sets x 32)
features : dsp simd ocd perfctr java
bogomips : 281.23
root@OpenWrt:/#
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38174
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
The default network configuration from base-files
is not correct for the NGW100 board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35979
uClibc-0.9.33 causes segfaults at least in iptables.
The segfaults are present with 2.6.39 as well, so it
makes no sense to stick to that version.
SVN-Revision: 31351