warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE
PATCH 1/5 warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE
From: Fabio Estevam <[email protected]>
Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE in order to avoid the following error when running the dfu command:
=> dfu 0 mmc 0dfu_get_buf: Could not memalign 0x2000000 bytes
--- include/configs/warp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/warp.h +1 -1
@@ -94,7 +94,7 @@#define CONFIG_CMD_DFU #define CONFIG_DFU_FUNCTION #define CONFIG_DFU_MMC -#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M +#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M#define DFU_DEFAULT_POLL_TIMEOUT 300#define CONFIG_EXTRA_ENV_SETTINGS \
Signature · 1 line
1.9.1
PATCH 2/5 warp: Fix CONFIG_SYS_FSL_ESDHC_ADDR
From: Fabio Estevam <[email protected]>
Warp uses eMMC connected to esdhc2 port, so fixCONFIG_SYS_FSL_ESDHC_ADDR to reflect that.
--- include/configs/warp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/warp.h +1 -1
@@ -25,7 +25,7 @@#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR/* MMC Configs */ -#define CONFIG_SYS_FSL_ESDHC_ADDR 0 +#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
Signature · 1 line
1.9.1
PATCH 2/5 warp: Fix CONFIG_SYS_FSL_ESDHC_ADDR
Quoted 16 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Warp uses eMMC connected to esdhc2 port, so fix
CONFIG_SYS_FSL_ESDHC_ADDRto reflect that.Signed-off-by Fabio Estevam <[email protected]>--- include/configs/warp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/warp.h +0
-0
include/configs/warp.h line 31
Quoted 8 lines
include/configs/warp.h +1
-1@@ -25,7 +25,7 @@#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR/* MMC Configs */ -#define CONFIG_SYS_FSL_ESDHC_ADDR 0 +#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
Applied to u-boot-imx, 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 =====================================================================
PATCH 3/5 warp: Enable CONFIG_SUPPORT_EMMC_BOOT
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
CONFIG_SUPPORT_EMMC_BOOT is important to enable the boot partition via 'mmc partconf 0 1 1 0' command, for example.
--- include/configs/warp.h | 1 + 1 file changed, 1 insertion(+)
include/configs/warp.h +1 -0
@@ -28,6 +28,7 @@#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE +#define CONFIG_SUPPORT_EMMC_BOOT /* Command definition */ #undef CONFIG_CMD_NET
Signature · 1 line
1.9.1
PATCH 3/5 warp: Enable CONFIG_SUPPORT_EMMC_BOOT
Quoted 16 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
CONFIG_SUPPORT_EMMC_BOOTis important to enable the boot partition via 'mmc partconf 0 1 1 0' command, for example.Signed-off-by Fabio Estevam <[email protected]>--- include/configs/warp.h | 1 + 1 file changed, 1 insertion(+)include/configs/warp.h +0
-0
include/configs/warp.h line 34
Quoted 7 lines
include/configs/warp.h +1
-0@@ -28,6 +28,7 @@#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE +#define CONFIG_SUPPORT_EMMC_BOOT /* Command definition */ #undef CONFIG_CMD_NET
Applied to u-boot-imx, 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 =====================================================================
PATCH 4/5 warp: Add fuse command support
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Select the fuse command support.
--- include/configs/warp.h | 4 ++++ 1 file changed, 4 insertions(+)
include/configs/warp.h +4 -0
@@ -98,6 +98,10 @@#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M#define DFU_DEFAULT_POLL_TIMEOUT 300 +/* Fuses */ +#define CONFIG_CMD_FUSE +#define CONFIG_MXC_OCOTP +#define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \
Signature · 1 line
1.9.1
PATCH 4/5 warp: Add fuse command support
Quoted 15 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Select the fuse command support.
Signed-off-by Fabio Estevam <[email protected]>--- include/configs/warp.h | 4 ++++ 1 file changed, 4 insertions(+)include/configs/warp.h +0
-0
include/configs/warp.h line 107
Quoted 10 lines
include/configs/warp.h +4
-0@@ -98,6 +98,10 @@#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M#define DFU_DEFAULT_POLL_TIMEOUT 300 +/* Fuses */ +#define CONFIG_CMD_FUSE +#define CONFIG_MXC_OCOTP +#define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \
Applied to u-boot-imx, 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 =====================================================================
PATCH 5/5 warp: Fix the 'saveenv' command
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
After the mx6 config consolidation, 'save' command is no longer recognized.
Pass the full command name 'saveenv' instead.
--- board/warp/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/warp/README +1 -1
@@ -34,7 +34,7 @@ Then U-boot should start and its messages will appear in the console program. Use the default environment variables: => env default -f -a -=> save +=> saveenv Run the DFU command: => dfu 0 mmc 0
Signature · 1 line
1.9.1
PATCH 5/5 warp: Fix the 'saveenv' command
Quoted 18 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
After the mx6 config consolidation, 'save' command is no longer recognized.
Pass the full command name 'saveenv' instead.
Signed-off-by Fabio Estevam <[email protected]>--- board/warp/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/warp/README +0
-0
board/warp/README Then U-boot should start and its messages will appear in the console program. · line 40
Quoted 8 lines
board/warp/README +1
-1@@ -34,7 +34,7 @@ Then U-boot should start and its messages will appear in the console program. Use the default environment variables: => env default -f -a -=> save +=> saveenv Run the DFU command: => dfu 0 mmc 0
Applied to u-boot-imx, 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 =====================================================================
PATCH 1/5 warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE
In reply to Fabio EstevamQuoted 18 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Adjust
CONFIG_SYS_DFU_DATA_BUF_SIZEin order to avoid the following error when running the dfu command:
=> dfu 0 mmc 0dfu_get_buf: Could not memalign0x2000000bytesSigned-off-by Fabio Estevam <[email protected]>--- include/configs/warp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/warp.h +0
-0
include/configs/warp.h line 100
Quoted 8 lines
include/configs/warp.h +1
-1@@ -94,7 +94,7 @@#define CONFIG_CMD_DFU #define CONFIG_DFU_FUNCTION #define CONFIG_DFU_MMC -#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M +#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M#define DFU_DEFAULT_POLL_TIMEOUT 300#define CONFIG_EXTRA_ENV_SETTINGS \
Applied to u-boot-imx, 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 =====================================================================