* [U-Boot] [PATCH] warp7: Fix DFU support
@ 2016-06-09 17:54 Fabio Estevam
2016-06-18 8:37 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2016-06-09 17:54 UTC (permalink / raw)
To: u-boot
Currently DFU is not working.
Adjust CONFIG_SYS_MALLOC_LEN and dfu_alt_info so that we are
able to flash u-boot.imx into the eMMC via dfu using the
following method:
=> dfu 0 mmc 0
In the host PC:
dfu-util -D u-boot.imx -a boot
This is the same approach done in the mx6sl warp board.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
include/configs/warp7.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 4dfcd28..b57065b 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -17,7 +17,7 @@
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
/* Size of malloc() pool */
-#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
+#define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M)
#define CONFIG_BOARD_EARLY_INIT_F
@@ -28,10 +28,7 @@
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
#define CONFIG_DFU_ENV_SETTINGS \
- "dfu_alt_info=image raw 0 0x800000;"\
- "u-boot raw 0 0x4000;"\
- "bootimg part 0 1;"\
- "rootfs part 0 2\0" \
+ "dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_DFU_ENV_SETTINGS \
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] warp7: Fix DFU support
2016-06-09 17:54 [U-Boot] [PATCH] warp7: Fix DFU support Fabio Estevam
@ 2016-06-18 8:37 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2016-06-18 8:37 UTC (permalink / raw)
To: u-boot
On 09/06/2016 19:54, Fabio Estevam wrote:
> Currently DFU is not working.
>
> Adjust CONFIG_SYS_MALLOC_LEN and dfu_alt_info so that we are
> able to flash u-boot.imx into the eMMC via dfu using the
> following method:
>
> => dfu 0 mmc 0
>
> In the host PC:
>
> dfu-util -D u-boot.imx -a boot
>
> This is the same approach done in the mx6sl warp board.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> include/configs/warp7.h | 7 ++-----
Applied to master (bug fix), thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-18 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 17:54 [U-Boot] [PATCH] warp7: Fix DFU support Fabio Estevam
2016-06-18 8:37 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox