aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-fritz4040/patches/110-portability.patch
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/patches/110-portability.patch
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/patches/110-portability.patch')
-rw-r--r--package/boot/uboot-fritz4040/patches/110-portability.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/boot/uboot-fritz4040/patches/110-portability.patch b/package/boot/uboot-fritz4040/patches/110-portability.patch
deleted file mode 100644
index 08ab889124..0000000000
--- a/package/boot/uboot-fritz4040/patches/110-portability.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: u-boot-2017-01-29-6946ebba/fritz/fritzcreator.sh
-===================================================================
---- u-boot-2017-01-29-6946ebba.orig/fritz/fritzcreator.sh
-+++ u-boot-2017-01-29-6946ebba/fritz/fritzcreator.sh
-@@ -1,4 +1,4 @@
--#!/bin/sh -xe
-+#!/bin/bash -xe
-
- # A helpful
- #
-@@ -11,6 +11,7 @@ UBOOT_FRITZ4040="uboot-fritz4040.bin"
- FRITZ_DTS="fritz/fritz4040.dts"
- FRITZ_DTB="fritz4040.dtb"
- UBOOT_LOADADDR=0x841FFFF8
-+DTC="${DTC:-dtc}"
-
- rm -f "$UBOOT_FRITZ4040"
-
-@@ -44,11 +45,11 @@ printf "\x00\x00\x00\xea\xf8\x01\x33\xc4
- cat "$UBOOT_BIN" >> "$UBOOT_FRITZ4040"
-
- # Pad file to 1M
--dd if="$UBOOT_FRITZ4040" of="$UBOOT_FRITZ4040.new" bs=1M count=1 conv=sync
-+dd if="$UBOOT_FRITZ4040" of="$UBOOT_FRITZ4040.new" bs=1024k count=1 conv=sync
- mv "$UBOOT_FRITZ4040.new" "$UBOOT_FRITZ4040"
-
- # Compile DTS
--dtc "$FRITZ_DTS" -o "$FRITZ_DTB" --space 49152
-+$DTC "$FRITZ_DTS" -o "$FRITZ_DTB" --space 49152
-
- # Append the compiled DTBs
- cat "$FRITZ_DTB" "$FRITZ_DTB" "$FRITZ_DTB" "$FRITZ_DTB" >> $UBOOT_FRITZ4040