aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2018-02-05 17:02:49 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2018-03-21 17:07:06 +0100
commit7e1e29de757b23de7befc54e2bfc01e60b903170 (patch)
tree1440e39f8d1127e0365c18dc3ab2c2c0306ffea8 /package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch
parentbfc6514e948cd357191c115ac4dac4fc11937ac4 (diff)
downloadupstream-7e1e29de757b23de7befc54e2bfc01e60b903170.tar.gz
upstream-7e1e29de757b23de7befc54e2bfc01e60b903170.tar.bz2
upstream-7e1e29de757b23de7befc54e2bfc01e60b903170.zip
uboot-sunxi: bump again to 2017.11
Runtime-tested on: - Pine64 (A64) - Orange Pi 2 (H3) - Bananapro (A20) - Olimex A20-Micro (A20) - Pcduino v3 (A20) - Pcduino v2 (A10) Compile-tested on: - all A8/A7/A53 boards Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch b/package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch
new file mode 100644
index 0000000000..b9cd9c7ac0
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch
@@ -0,0 +1,28 @@
+From def280c4792262a368c8861312dc6b376181021f Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Mon, 1 Jan 2018 23:10:56 +0100
+Subject: sunxi: deactivate binman
+
+Use the old way to generate the images instead of binman.
+binman needs python with swig to avoid this host tool dependency use the
+old way of generating images.
+---
+ Makefile | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+--- a/Makefile
++++ b/Makefile
+@@ -1144,9 +1144,10 @@ u-boot-x86-16bit.bin: u-boot FORCE
+ endif
+
+ ifneq ($(CONFIG_ARCH_SUNXI),)
+-u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img u-boot.dtb \
+- checkbinman FORCE
+- $(call if_changed,binman)
++OBJCOPYFLAGS_u-boot-sunxi-with-spl.bin = -I binary -O binary \
++ --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff
++u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img FORCE
++ $(call if_changed,pad_cat)
+ endif
+
+ ifneq ($(CONFIG_TEGRA),)