Skip to contentSkip to conversation

ARM: add u-boot.imx as target for i.MX SOCs

PATCH New Stefano Babic 4 participants 5 messages Apr 3, 2012 – Apr 6, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs

Freescale SOCs require an header to u-boot.bin

The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG).

Cc Albert ARIBAUD <[email protected]>
CC Lo?c Minier <[email protected]>
CC Mike Frysinger <[email protected]>
---
 arch/arm/cpu/armv7/config.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/armv7/config.mk +3 -0
index 83ddf10..f532d62 100644
@@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5
 # =========================================================================
 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
+ifneq ($(CONFIG_IMX_CONFIG),)
+ALL-y	+= $(obj)u-boot.imx
+endif
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs

arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36

Quoted 6 lines · Stefano Babic
arch/arm/cpu/armv7/config.mk +3 -0
 
+ifneq ($(CONFIG_IMX_CONFIG),)
+ALL-y ?+= $(obj)u-boot.imx
+endif

i guess CONFIG_IMX_CONFIG is a free-form string and not just boolean, so:

-mike

#2 lore raw

PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs

In reply to Stefano Babic
Quoted 18 lines · Stefano Babic

Freescale SOCs require an header to u-boot.bin

The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG).

Cc Albert ARIBAUD <[email protected]>
CC Lo?c Minier <[email protected]>
CC Mike Frysinger <[email protected]>
---
 arch/arm/cpu/armv7/config.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/armv7/config.mk +0 -0
index 83ddf10..f532d62 100644

arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36

Quoted 6 lines
arch/arm/cpu/armv7/config.mk +3 -0
@@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5
 # =========================================================================
 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
+ifneq ($(CONFIG_IMX_CONFIG),)
+ALL-y	+= $(obj)u-boot.imx
+endif

Not tested yet, but I like the idea:

Any chance to still get this into 2012.04?

Thanks!

Dirk

#3 lore raw

PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs

Quoted 30 lines · Dirk Behme
Quoted 23 lines · Stefano Babic

Freescale SOCs require an header to u-boot.bin

The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG).

Cc Albert ARIBAUD <[email protected]>
CC Lo?c Minier <[email protected]>
CC Mike Frysinger <[email protected]>
---
 arch/arm/cpu/armv7/config.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/armv7/config.mk +0 -0
index 83ddf10..f532d62 100644
@@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5
 #

=========================================================================
PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call
cc-option,-malignment-traps,))
PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)

arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36

Quoted 3 lines
arch/arm/cpu/armv7/config.mk +3 -0
+ifneq ($(CONFIG_IMX_CONFIG),)
+ALL-y    += $(obj)u-boot.imx
+endif

Not tested yet, but I like the idea:

Quoted 3 lines

Any chance to still get this into 2012.04?

This was my intention. Albert, could you pick up this patch ?

Thanks,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
=====================================================================
#4 lore raw

PATCH 1/1 ARM: add u-boot.imx as target for i.MX SOCs

In reply to Dirk Behme
Quoted 32 lines · Dirk Behme
Quoted 25 lines · Stefano Babic

Freescale SOCs require an header to u-boot.bin

The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG).

Cc Albert ARIBAUD <[email protected]>
CC Lo?c Minier <[email protected]>
CC Mike Frysinger <[email protected]>

---
arch/arm/cpu/armv7/config.mk | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/cpu/armv7/config.mk +0 -0
index 83ddf10..f532d62 100644
@@ -31,3 +31,6 @@ PLATFORM_CPPFLAGS += -march=armv5
 #

=========================================================================

PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)

arch/arm/cpu/armv7/config.mk PLATFORM_CPPFLAGS += -march=armv5 · line 36

Quoted 3 lines
arch/arm/cpu/armv7/config.mk +3 -0
+ifneq ($(CONFIG_IMX_CONFIG),)
+ALL-y += $(obj)u-boot.imx
+endif

Not tested yet, but I like the idea:

Quoted 1 line

Dirk