Skip to contentSkip to conversation

colibri*.conf: define UBOOT_IMAGE

PATCH In review Ming Liu 2 participants 2 messages May 4, 2021 – May 5, 2021 Arm i.MX and Layerscape

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 colibri*.conf: define UBOOT_IMAGE

From: Ming Liu <[email protected]>

We have renamed UBOOT_BINARY with '-nand' suffix to indicate it's a image that should be flashed to NAND device, do the same to UBOOT_IMAGE, otherwise developers might get confused about how to deal with it.

---
 conf/machine/colibri-imx6ull.conf   | 1 +
 conf/machine/colibri-imx7-nand.conf | 1 +
 conf/machine/colibri-vf.conf        | 1 +
 3 files changed, 3 insertions(+)
conf/machine/colibri-imx6ull.conf +1 -0
index 1e1fd93..896fa1c 100644
@@ -22,6 +22,7 @@ PREFERRED_RPROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils"
 PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
 
 UBOOT_BINARY = "u-boot-nand.imx"
+UBOOT_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
 UBOOT_MAKE_TARGET = "u-boot.imx"
 UBOOT_MACHINE ?= "colibri-imx6ull_defconfig"
 
conf/machine/colibri-imx7-nand.conf +1 -0
index 4ab7a95..03794c9 100644
@@ -35,6 +35,7 @@ PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
 
 # U-Boot NAND binary includes 0x400 padding required for NAND boot
 UBOOT_BINARY = "u-boot-nand.imx"
+UBOOT_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
 UBOOT_MAKE_TARGET = "u-boot.imx"
 UBOOT_MACHINE ?= "colibri_imx7_defconfig"
 
conf/machine/colibri-vf.conf +1 -0
index 8c66ced..7e00e89 100644
@@ -39,6 +39,7 @@ PREFERRED_VERSION_weston_use-nxp-bsp = ""
 
 # U-Boot NAND binary includes 0x400 padding required for NAND boot
 UBOOT_BINARY = "u-boot-nand.imx"
+UBOOT_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
 UBOOT_MAKE_TARGET = "u-boot.imx"
 UBOOT_MACHINE ?= "colibri_vf_defconfig"
 
Signature · 1 line
2.29.0
#1 lore raw

Em ter., 4 de mai. de 2021 às 09:24, Ming Liu <[email protected]> escreveu:

Quoted 9 lines

From: Ming Liu <[email protected]>

We have renamed UBOOT_BINARY with '-nand' suffix to indicate it's a image that should be flashed to NAND device, do the same to UBOOT_IMAGE, otherwise developers might get confused about how to deal with it.

Please use the GitHub for this PR. Also, please include a background why this change is required. Up to now, it seems to be going on the wrong direction.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750