Skip to contentSkip to conversation

ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

PATCH Superseded Marek Vasut 5 participants 12 messages Feb 1, 2021 – Mar 1, 2021

Subsystems (3)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim. The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE is enabled, the u-boot.bin does not contain control DT for U-Boot, and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx does not contain the DT, and a system where u-boot-with-spl.imx is written to offset 1024B to the start of storage no longer boots, as it is missing DT.

In case OF_SEPARATE is enabled, u-boot.img contains both u-boot.bin and the necessary DTs. Therefore, use u-boot.img instead of u-boot.uim to generate u-boot-with-spl.imx when OF_SEPARATE is enabled.

Cc Christoph Niedermaier <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Simon Glass <[email protected]>
Cc Stefano Babic <[email protected]>
Cc uboot-imx <[email protected]>

---
V2: Swap the u-boot.uim <-> u-boot.img in the conditional so this would
match the patch which Fabio originally tested

---
 arch/arm/mach-imx/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-imx/Makefile +2 -2
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@
 quiet_cmd_pad_cat = CAT     $@
 cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
 
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if $(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE
 	$(call if_changed,pad_cat)
 
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if $(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE
 	$(call if_changed,pad_cat)
 
 quiet_cmd_u-boot-nand-spl_imx = GEN     $@
Signature · 1 line
2.29.2
#1 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

From: Marek Vasut <[email protected]>
Sent: Monday, February 1, 2021 9:07 PM

Quoted 44 lines

The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim. The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE is enabled, the u-boot.bin does not contain control DT for U-Boot, and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx does not contain the DT, and a system where u-boot-with-spl.imx is written to offset 1024B to the start of storage no longer boots, as it is missing DT.

In case OF_SEPARATE is enabled, u-boot.img contains both u-boot.bin and the necessary DTs. Therefore, use u-boot.img instead of u-boot.uim to generate u-boot-with-spl.imx when OF_SEPARATE is enabled.

Cc Christoph Niedermaier <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Simon Glass <[email protected]>
Cc Stefano Babic <[email protected]>
Cc uboot-imx <[email protected]>

---
V2: Swap the u-boot.uim <-> u-boot.img in the conditional so this would
match the patch which Fabio originally tested

---
 arch/arm/mach-imx/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-imx/Makefile +1 -1
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@
 quiet_cmd_pad_cat = CAT     $@
 cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
 
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if $(CONFIG_OF_SEPARATE),u-boot.img,u-

boot.uim) FORCE

        $(call if_changed,pad_cat)
arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

Quoted 5 lines
        $(call if_changed,pad_cat)

quiet_cmd_u-boot-nand-spl_imx = GEN $@
--
2.29.2

Best regards
Christoph

#2 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

In reply to Marek Vasut

Hi Marek,

Quoted 36 lines · Marek Vasut

The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim. The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE is enabled, the u-boot.bin does not contain control DT for U-Boot, and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx does not contain the DT, and a system where u-boot-with-spl.imx is written to offset 1024B to the start of storage no longer boots, as it is missing DT.

In case OF_SEPARATE is enabled, u-boot.img contains both u-boot.bin and the necessary DTs. Therefore, use u-boot.img instead of u-boot.uim to generate u-boot-with-spl.imx when OF_SEPARATE is enabled.

Cc Christoph Niedermaier <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Simon Glass <[email protected]>
Cc Stefano Babic <[email protected]>
Cc uboot-imx <[email protected]>

---
V2: Swap the u-boot.uim <-> u-boot.img in the conditional so this would
match the patch which Fabio originally tested

---
  arch/arm/mach-imx/Makefile | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-imx/Makefile +0 -0
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@
  quiet_cmd_pad_cat = CAT     $@
  cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@

arch/arm/mach-imx/Makefile append = cat $(filter-out $< $(PHONY), $^) >> $@ · line 211

Quoted 10 lines
arch/arm/mach-imx/Makefile +2 -2
 
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if $(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE
  	$(call if_changed,pad_cat)
 
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if $(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE
  	$(call if_changed,pad_cat)
 
  quiet_cmd_u-boot-nand-spl_imx = GEN     $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Could you take a look, please ?

Thanks,
Stefano

Thanks,
Stefano

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: sbabic at denx.de
=====================================================================
#3 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 22 lines
Quoted 13 lines
arch/arm/mach-imx/Makefile +0 -0
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@

? quiet_cmd_pad_cat = CAT???? $@
? cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if 

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if 
Quoted 4 lines

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)
? quiet_cmd_u-boot-nand-spl_imx = GEN???? $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

#4 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 29 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 22 lines
Quoted 13 lines
arch/arm/mach-imx/Makefile +0 -0
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@

? quiet_cmd_pad_cat = CAT???? $@
? cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if 

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if 
Quoted 4 lines

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)
? quiet_cmd_u-boot-nand-spl_imx = GEN???? $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 5 lines
Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

I pick it up and let you know, thanks.

Regards,
Stefano

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: sbabic at denx.de
=====================================================================
#5 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 30 lines · Stefano Babic
Quoted 29 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 22 lines
Quoted 13 lines
arch/arm/mach-imx/Makefile +0 -0
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@

? quiet_cmd_pad_cat = CAT???? $@
? cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if 

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if 
Quoted 4 lines

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)
? quiet_cmd_u-boot-nand-spl_imx = GEN???? $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

I pick it up and let you know, thanks.

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

Regards,
Stefano

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: sbabic at denx.de
=====================================================================
#6 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 37 lines · Stefano Babic
Quoted 36 lines · Stefano Babic
Quoted 34 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 22 lines
Quoted 13 lines
arch/arm/mach-imx/Makefile +0 -0
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@

? quiet_cmd_pad_cat = CAT???? $@
? cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if 

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if 
Quoted 4 lines

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)
? quiet_cmd_u-boot-nand-spl_imx = GEN???? $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 5 lines
Quoted 2 lines

I pick it up and let you know, thanks.

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

All right, V4 is out, please give it a try.

#7 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

In reply to Stefano Babic
Quoted 38 lines · Stefano Babic
Quoted 37 lines · Stefano Babic
Quoted 35 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 23 lines
Quoted 13 lines
arch/arm/mach-imx/Makefile +0 -0
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@

? quiet_cmd_pad_cat = CAT???? $@
? cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)

arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if
Quoted 4 lines

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE ????? $(call if_changed,pad_cat)
? quiet_cmd_u-boot-nand-spl_imx = GEN???? $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 5 lines
Quoted 2 lines

I pick it up and let you know, thanks.

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

Please note that ot1200 has today been ack'd for removal and udoo is on
the removal list:
https://patchwork.ozlabs.org/project/uboot/patch/20210221010634.21310-24-trini at konsulko.com/

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210301/ef6138d5/attachment.sig>
#8 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

On 3/1/21 6:56 PM, Tom Rini wrote:

[...]

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 10 lines
Quoted 6 lines

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

I pick it up and let you know, thanks.

Quoted 6 lines
Quoted 2 lines

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

Please note that ot1200 has today been ack'd for removal and udoo is on
the removal list:
https://patchwork.ozlabs.org/project/uboot/patch/20210221010634.21310-24-trini at konsulko.com/

That's sad. Anyway, this patch was buggy, it should be fixed in V4.

#9 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

In reply to Tom Rini
Quoted 40 lines · Tom Rini
Quoted 38 lines · Stefano Babic
Quoted 37 lines · Stefano Babic
Quoted 35 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 23 lines
Quoted 14 lines
arch/arm/mach-imx/Makefile +1 -1
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@
  quiet_cmd_pad_cat = CAT     $@
  cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

      $(call if_changed,pad_cat)
arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

Quoted 3 lines
      $(call if_changed,pad_cat)

quiet_cmd_u-boot-nand-spl_imx = GEN $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I pick it up and let you know, thanks.

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

Please note that ot1200 has today been ack'd for removal and udoo is on the removal list:

FYI I am working to update the udoo and the udoo_neo so they're not removed as we support those boards in Fedora, I've still working my way through it with my schedule.

#10 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 47 lines · Peter Robinson
Quoted 46 lines · Tom Rini
Quoted 43 lines · Stefano Babic
Quoted 31 lines · Stefano Babic
Quoted 30 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 23 lines
Quoted 14 lines
arch/arm/mach-imx/Makefile +1 -1
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@
  quiet_cmd_pad_cat = CAT     $@
  cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

      $(call if_changed,pad_cat)
arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

Quoted 3 lines
      $(call if_changed,pad_cat)

quiet_cmd_u-boot-nand-spl_imx = GEN $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

I pick it up and let you know, thanks.

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

Quoted 6 lines
Quoted 2 lines

Please note that ot1200 has today been ack'd for removal and udoo is on the removal list:

FYI I am working to update the udoo and the udoo_neo so they're not removed as we support those boards in Fedora, I've still working my way through it with my schedule.

Please find time soon. I'm spelling this out more in my -rc email (which has been delayed in that I expect an imx PR and so I want to get that, then release) but I will be dropping stuff post v2021.04 release. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210301/c9800542/attachment.sig>
#11 lore raw

PATCH v2 1/1 ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 52 lines · Tom Rini
Quoted 50 lines · Peter Robinson
Quoted 48 lines · Tom Rini
Quoted 38 lines · Stefano Babic
Quoted 37 lines · Stefano Babic
Quoted 35 lines · Marek Vasut
Quoted 1 line · Stefano Babic

Hi Marek,

Hi,

[...]

Quoted 23 lines
Quoted 14 lines
arch/arm/mach-imx/Makefile +1 -1
index 1aa26a50ad8..e6b4654cd35 100644
@@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@
  quiet_cmd_pad_cat = CAT     $@
  cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
-u-boot-with-spl.imx: SPL u-boot.uim FORCE
+u-boot-with-spl.imx: SPL $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

      $(call if_changed,pad_cat)
arch/arm/mach-imx/Makefile +1 -1
-u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE
+u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if

$(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE

Quoted 3 lines
      $(call if_changed,pad_cat)

quiet_cmd_u-boot-nand-spl_imx = GEN $@

This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue).

Quoted 1 line

Could you take a look, please ?

There is V3 already, does that work?
[PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

Quoted 5 lines
Quoted 2 lines

I pick it up and let you know, thanks.

Sorry, I answered to V2 thread, but I had already picked up V3, and this causes the issue with udoo and ot1200_spl.

Please note that ot1200 has today been ack'd for removal and udoo is on the removal list:

Quoted 7 lines
Quoted 3 lines

FYI I am working to update the udoo and the udoo_neo so they're not removed as we support those boards in Fedora, I've still working my way through it with my schedule.

Please find time soon. I'm spelling this out more in my -rc email (which has been delayed in that I expect an imx PR and so I want to get that, then release) but I will be dropping stuff post v2021.04 release.

I was planning on having patches in time for the next merge window.