2018-02-05 16:02:49 +00:00
|
|
|
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
|
2022-12-21 20:00:49 +00:00
|
|
|
@@ -1607,8 +1607,10 @@ endif
|
2018-02-05 16:02:49 +00:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_ARCH_SUNXI),)
|
2018-06-09 16:40:16 +00:00
|
|
|
ifeq ($(CONFIG_ARM64),)
|
|
|
|
-u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img u-boot.dtb FORCE
|
2018-02-05 16:02:49 +00:00
|
|
|
- $(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)
|
2018-06-09 16:40:16 +00:00
|
|
|
else
|
|
|
|
u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.itb FORCE
|
|
|
|
$(call if_changed,cat)
|
|
|
|
--- a/arch/arm/Kconfig
|
|
|
|
+++ b/arch/arm/Kconfig
|
2022-12-21 20:00:49 +00:00
|
|
|
@@ -995,7 +995,6 @@ config ARCH_SOCFPGA
|
2018-02-05 16:02:49 +00:00
|
|
|
|
2018-06-09 16:40:16 +00:00
|
|
|
config ARCH_SUNXI
|
|
|
|
bool "Support sunxi (Allwinner) SoCs"
|
|
|
|
- select BINMAN
|
|
|
|
select CMD_GPIO
|
|
|
|
select CMD_MMC if MMC
|
|
|
|
select CMD_USB if DISTRO_DEFAULTS
|