summaryrefslogtreecommitdiffstats
path: root/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2018-11-22 16:55:21 -0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-23 10:42:42 +0100
commit1ad9c45a059deaaae65a78a9ed7f78b579fed422 (patch)
tree82b79a3ce7f5adaa054c8afcbf4831dfe74259bb /board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch
parent0d61846b5f267839911a76ed2aeed505575de0bd (diff)
downloadbuildroot-1ad9c45a059deaaae65a78a9ed7f78b579fed422.tar.gz
buildroot-1ad9c45a059deaaae65a78a9ed7f78b579fed422.zip
configs/imx6sabre: Create distinct pre-processed mkimage config files
Commit 0c4bccf9e882 ("configs/imxsabre: Fix U-Boot parallel build issue") tried to fix the parallel build issue, but the real fix was developed later by Trent Piepho later, so add such commit to fix Buildroot build failures on rel_imx_4.9.x_1.0.0_ga NXP branch. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/123771053 https://gitlab.com/buildroot.org/buildroot/-/jobs/123771054 https://gitlab.com/buildroot.org/buildroot/-/jobs/123771055 Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch')
-rw-r--r--board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch b/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch
deleted file mode 100644
index 92eff7574d..0000000000
--- a/board/freescale/imx6sabre/patches/uboot/0002-imximage-Remove-failure-when-no-IVT-offset-is-found.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 24ba28680abe868e8db3442a9bf523ad3af1febd Mon Sep 17 00:00:00 2001
-From: Fabio Estevam <fabio.estevam@nxp.com>
-Date: Fri, 9 Mar 2018 08:25:00 -0300
-Subject: [PATCH] imximage: Remove failure when no IVT offset is found
-
-Sometimes imximage throws the following error:
-
- CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp
- CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp
- MKIMAGE u-boot-dtb.imx
-Error: No BOOT_FROM tag in board/freescale/vf610twr/imximage.cfg.cfgtmp
-arch/arm/mach-imx/Makefile:100: recipe for target 'u-boot-dtb.imx' failed
-
-Later on, when running mkimage for the u-boot.imx it will succeed in
-finding the IVT offset.
-
-Looks like some race condition happening during parallel build when
-processing mkimage for u-boot-dtb.imx and u-boot.imx.
-
-A proper fix still needs to be implemented, but as a workaround let's
-remove the error when the IVT offset is not found.
-
-It is useful to have such message, especially during bring-up phase,
-but the build error that it causes is severe, so better avoid the
-build error for now.
-
-The error checking can be re-implemented later when we have a proper
-fix.
-
-Reported-by: Breno Lima <breno.lima@nxp.com>
-Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
----
- tools/imximage.c | 5 -----
- 1 file changed, 5 deletions(-)
-
-diff --git a/tools/imximage.c b/tools/imximage.c
-index 0c43196..bef56f8 100644
---- a/tools/imximage.c
-+++ b/tools/imximage.c
-@@ -765,11 +765,6 @@ static uint32_t parse_cfg_file(struct imx_header *imxhdr, char *name)
- (*set_dcd_rst)(imxhdr, dcd_len, name, lineno);
- fclose(fd);
-
-- /* Exit if there is no BOOT_FROM field specifying the flash_offset */
-- if (imximage_ivt_offset == FLASH_OFFSET_UNDEFINED) {
-- fprintf(stderr, "Error: No BOOT_FROM tag in %s\n", name);
-- exit(EXIT_FAILURE);
-- }
- return dcd_len;
- }
-
---
-2.7.4
-
OpenPOWER on IntegriCloud