Skip to contentSkip to conversation

tree: imx: remove old fit generator script

RFC PATCH In review Andrey Zhizhikin 4 participants 4 messages Aug 24, 2021 – Oct 7, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 tree: imx: remove old fit generator script

Since derivatives are moving to binman from usage of the FIT generator script, and considering the warning introduced in f4a43d2925 ("Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR"), usage of FIT generator is discouraged.

Current FIT generator also generates broken output, since commit 3f04db891a ("image: Check for unit addresses in FITs") prohibits using '@' for unit addresses but the generator script still emits the old sematics.

Remove the generator script and corresponding call in Makefile, all derivatives should be migrated to binman in order to provide binary images.

---
 Makefile                             |   3 -
 arch/arm/mach-imx/mkimage_fit_atf.sh | 143 ---------------------------
 2 files changed, 146 deletions(-)
 delete mode 100755 arch/arm/mach-imx/mkimage_fit_atf.sh
Makefile +0 -3
index 3c8437d21a..6760ddc826 100644
@@ -1350,9 +1350,6 @@ $(U_BOOT_ITS): $(subst ",,$(CONFIG_SPL_FIT_SOURCE))
 else
 ifneq ($(CONFIG_USE_SPL_FIT_GENERATOR),)
 U_BOOT_ITS := u-boot.its
-ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-imx/mkimage_fit_atf.sh")
-U_BOOT_ITS_DEPS += u-boot-nodtb.bin
-endif
 ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-rockchip/make_fit_atf.py")
 U_BOOT_ITS_DEPS += u-boot
 endif
arch/arm/mach-imx/mkimage_fit_atf.sh deleted +0 -143

143 lines not on this page · raw message

Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Andrey Zhizhikin

Since derivatives are moving to binman from usage of the FIT generator script, and considering the warning introduced in f4a43d2925 ("Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR"), usage of FIT generator is discouraged.

Current FIT generator also generates broken output, since commit 3f04db891a ("image: Check for unit addresses in FITs") prohibits using '@' for unit addresses but the generator script still emits the old sematics.

Remove the generator script and corresponding call in Makefile, all derivatives should be migrated to binman in order to provide binary images.

Quoted 6 lines
---
 Makefile                             |   3 -
 arch/arm/mach-imx/mkimage_fit_atf.sh | 143 ---------------------------
 2 files changed, 146 deletions(-)
 delete mode 100755 arch/arm/mach-imx/mkimage_fit_atf.sh
reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Andrey Zhizhikin

Hi Andrey,

Quoted 11 lines · Andrey Zhizhikin

Since derivatives are moving to binman from usage of the FIT generator script, and considering the warning introduced in f4a43d2925 ("Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR"), usage of FIT generator is discouraged.

Current FIT generator also generates broken output, since commit 3f04db891a ("image: Check for unit addresses in FITs") prohibits using '@' for unit addresses but the generator script still emits the old sematics.

Quoted 5 lines

Remove the generator script and corresponding call in Makefile, all derivatives should be migrated to binman in order to provide binary images.

#3 lore raw

RFC PATCH 1/1 tree: imx: remove old fit generator script

In reply to Andrey Zhizhikin
Quoted 11 lines

Since derivatives are moving to binman from usage of the FIT generator script, and considering the warning introduced in f4a43d2925 ("Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR"), usage of FIT generator is discouraged.
Current FIT generator also generates broken output, since commit 3f04db891a ("image: Check for unit addresses in FITs") prohibits using '@' for unit addresses but the generator script still emits the old sematics.
Remove the generator script and corresponding call in Makefile, all derivatives should be migrated to binman in order to provide binary images.

Quoted 3 lines

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================