Skip to contentSkip to conversation

warp7: Fix dfu_alt_info setting after DM conversion

PATCH In review Pierre-Jean Texier 4 participants 4 messages Apr 12, 2019 – Apr 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 warp7: Fix dfu_alt_info setting after DM conversion

After DM conversion, U-Boot is larger than 512 KiB, so we need to increase the "size" of the dfu_alt_info setting.

---
 include/configs/warp7.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/warp7.h +1 -1
index 043f286..4947597 100644
@@ -39,7 +39,7 @@
 #define CONFIG_SERIAL_TAG
 
 #define CONFIG_DFU_ENV_SETTINGS \
-	"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
+	"dfu_alt_info=boot raw 0x2 0x1000 mmcpart 1\0" \
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	CONFIG_DFU_ENV_SETTINGS \
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 warp7: Fix dfu_alt_info setting after DM conversion

Le 12/04/2019 à 22:36, Pierre-Jean Texier a écrit :

Quoted 21 lines

After DM conversion, U-Boot is larger than 512 KiB, so we need to increase the "size" of the dfu_alt_info setting.

---
  include/configs/warp7.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/warp7.h +1 -1
index 043f286..4947597 100644
@@ -39,7 +39,7 @@
  #define CONFIG_SERIAL_TAG
 
  #define CONFIG_DFU_ENV_SETTINGS \
-	"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
+	"dfu_alt_info=boot raw 0x2 0x1000 mmcpart 1\0" \
 
  #define CONFIG_EXTRA_ENV_SETTINGS \
  	CONFIG_DFU_ENV_SETTINGS \
#3 lore raw
In reply to Pierre-Jean Texier
Quoted 5 lines

After DM conversion, U-Boot is larger than 512 KiB, so we need to increase the "size" of the dfu_alt_info setting.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

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
=====================================================================