aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-fritz4040/files
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-12-11 23:00:07 +0100
committerChristian Lamparter <chunkeey@gmail.com>2018-12-11 23:00:32 +0100
commit5beedcddc3ad2c6f92c24ce2655a84524ca26594 (patch)
treef498a37d0df4331dd2217817010789daed160b5e /package/boot/uboot-fritz4040/files
parent26d4cb2ca7acde1254f6ce6c0a54e0aca1489a0f (diff)
downloadupstream-5beedcddc3ad2c6f92c24ce2655a84524ca26594.tar.gz
upstream-5beedcddc3ad2c6f92c24ce2655a84524ca26594.tar.bz2
upstream-5beedcddc3ad2c6f92c24ce2655a84524ca26594.zip
uboot-fritz4040: update package to 2018-12-09
This patch updates the uboot-fritz4040 package to the latest version. The portability and private-libgcc patches, as well as the upload-to-f4040.sh script have been added to the upstream repository. Furthermore, the upload-to-f4040 has been updated to take the first parameter as the file it is supposed to flash, otherwise it defaults to the previous "uboot-fritz4040.bin". Furthermore the error messages have been improved and ftp will now dump some "progress information" to the user's console. Also included is support for gcc 8+ and a fix for the obnoxous error that currently breaks the builders: | fritz/src/lzma2eva.c:23:30: fatal error: zlib.h: No such file or directory Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'package/boot/uboot-fritz4040/files')
-rwxr-xr-xpackage/boot/uboot-fritz4040/files/upload-to-f4040.sh41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/boot/uboot-fritz4040/files/upload-to-f4040.sh b/package/boot/uboot-fritz4040/files/upload-to-f4040.sh
deleted file mode 100755
index 64f493190e..0000000000
--- a/package/boot/uboot-fritz4040/files/upload-to-f4040.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-die() {
- echo $1
- exit 1
-}
-
-FRITZBOX='192.168.178.1'
-USER='adam2'
-PASSWD='adam2'
-FILE='uboot-fritz4040.bin'
-
-ping -q -4 -w 1 -c 1 "$FRITZBOX" &> /dev/null || die "Fritzbox at $FRITZBOX is not reachable. aborting"
-
-cat << EOS
-
-This will take ages (2 minutes)! If you want a
-status bar: Attach a serial to the device and look there.
-
-Note: If this fails, you need to use AVM\' recover
-utility to get your box back. However this step
-should not damage your box....
-
-Also it doesn't terminate.. :/
-
-(Note: Make sure that you connected the router on
-the yellow LAN ports and not the blue WAN).
-
-EOS
-
-ftp -n -4 "$FRITZBOX" << END_SCRIPT
-quote USER $USER
-quote PASS $PASSWD
-quote MEDIA FLSH
-binary
-passive
-put $FILE mtd1
-quote check mtd1
-bye
-END_SCRIPT
-exit 0