All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2 01/15] Introduce CONFIG_FIT_EXTERNAL_OFFSET
@ 2018-11-20 10:19 Peng Fan
  2018-11-20 10:19 ` [U-Boot] [PATCH V2 02/15] imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M Peng Fan
                   ` (13 more replies)
  0 siblings, 14 replies; 28+ messages in thread
From: Peng Fan @ 2018-11-20 10:19 UTC (permalink / raw)
  To: u-boot

Introduce CONFIG_FIT_EXTERNAL_OFFSET to give user a choice to choose
where to put the external data.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V2:
 Add more help information

 Kconfig  | 10 ++++++++++
 Makefile |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/Kconfig b/Kconfig
index dca9bb4e43..f74d662358 100644
--- a/Kconfig
+++ b/Kconfig
@@ -248,6 +248,16 @@ config FIT
 
 if FIT
 
+config FIT_EXTERNAL_OFFSET
+	hex "Text Base"
+	default 0x0
+	help
+	  This specifies a data offset in fit image.
+	  The offset is from data payload offset to the beginning of
+	  fit image header. When specifies a offset, specific data
+	  could be put in the hole between data payload and fit image
+	  header, such as CSF data on i.MX platform.
+
 config FIT_ENABLE_SHA256_SUPPORT
 	bool "Support SHA256 checksum of FIT image contents"
 	default y
diff --git a/Makefile b/Makefile
index 552687db53..ee97601ec3 100644
--- a/Makefile
+++ b/Makefile
@@ -893,7 +893,7 @@ cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
 	>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
 
 quiet_cmd_mkfitimage = MKIMAGE $@
-cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E $@ \
+cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E $@ -p $(CONFIG_FIT_EXTERNAL_OFFSET)\
 	>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
 
 quiet_cmd_cat = CAT     $@
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2018-12-15  3:09 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20 10:19 [U-Boot] [PATCH V2 01/15] Introduce CONFIG_FIT_EXTERNAL_OFFSET Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 02/15] imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 03/15] imx: cpu: add CHIP_REV_2_1 macro Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 04/15] imx: introduce is_imx8mq helper Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 05/15] imx: rename mx8m,MX8M to imx8m,IMX8M Peng Fan
2018-11-29  5:01   ` Jon Nettleton
2018-12-03 12:33     ` Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 06/15] imx: spl: add MMC BOOT Device for i.MX8M Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 07/15] imx: imx8m: clock refactor dram pll part Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 08/15] tools: add i.MX8M image support Peng Fan
2018-12-14 13:25   ` Stefano Babic
2018-12-15  3:09     ` Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 09/15] imx: imx8m: introduce script to generate fit image Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 10/15] imx: imx8m: introduce imximage cfg file Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 11/15] imx: imx8mq: build flash.bin Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 12/15] imx: imx8m: not build bootaux when building SPL Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 13/15] imx: imx8m: add lpddr4 header file Peng Fan
2018-11-20 10:19 ` [U-Boot] [PATCH V2 14/15] drivers: ddr: introduce DDR driver for i.MX8M Peng Fan
2018-11-20 17:47   ` Troy Kisky
2018-11-21  2:54     ` Peng Fan
2018-11-21 12:39       ` Fabio Estevam
2018-11-28 14:45         ` Jon Nettleton
2018-11-28 14:57           ` Peng Fan
2018-11-28 16:02             ` Stefano Babic
2018-11-28 15:03           ` Jacky Bai
2018-11-28 15:32             ` Jon Nettleton
2018-11-20 10:20 ` [U-Boot] [PATCH V2 15/15] imx: add i.MX8MQ EVK support Peng Fan
2018-11-27  7:32   ` Peng Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.