mx6sabre: Do not enable UMS with SPL
PATCH 1/1 mx6sabre: Do not enable UMS with SPL
From: Fabio Estevam <[email protected]>
Since commit ad8aae82b20ac6a ("mx6sabre: Enable User Mass Storage") SPL target does not boot anymore due to the increased spl image size.
Only enable USB Mass Storage for the non-SPL target.
--- include/configs/mx6sabre_common.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/mx6sabre_common.h +2 -0
@@ -278,6 +278,7 @@#define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP +#ifndef CONFIG_SPL #define CONFIG_CI_UDC #define CONFIG_USBD_HS #define CONFIG_USB_GADGET_DUALSPEED
@@ -291,5 +292,6 @@#define CONFIG_G_DNL_VENDOR_NUM 0x0525#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5#define CONFIG_G_DNL_MANUFACTURER "FSL" +#endif #endif /* __MX6QSABRE_COMMON_CONFIG_H */
Signature · 1 line
1.9.1
PATCH 1/1 mx6sabre: Do not enable UMS with SPL
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Since commit
ad8aae82b20ac6a("mx6sabre: Enable User Mass Storage") SPL target does not boot anymore due to the increased spl image size.Only enable USB Mass Storage for the non-SPL target.
Signed-off-by Fabio Estevam <[email protected]>
Please do a follow up commit that makes use of the existing size checks to avoid this problem in the future, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150309/63cde84c/attachment.sig>
PATCH 1/1 mx6sabre: Do not enable UMS with SPL
Hi Tom,
Quoted 7 lines · Tom Rini
Quoted 5 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Since commit
ad8aae82b20ac6a("mx6sabre: Enable User Mass Storage") SPL target does not boot anymore due to the increased spl image size.
Quoted 8 lines
Quoted 3 lines
Only enable USB Mass Storage for the non-SPL target.
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Tom Rini <[email protected]>Please do a follow up commit that makes use of the existing size checks to avoid this problem in the future, thanks!
Yes, it would be useful. Could you please point me to the existing size checks function, so that I can learn about it?
Thanks,
Fabio Estevam
PATCH 1/1 mx6sabre: Do not enable UMS with SPL
Quoted 14 lines · Fabio Estevam
Hi Tom,
Quoted 11 lines · Tom Rini
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Since commit
ad8aae82b20ac6a("mx6sabre: Enable User Mass Storage") SPL target does not boot anymore due to the increased spl image size.Only enable USB Mass Storage for the non-SPL target.
Signed-off-by Fabio Estevam <[email protected]>
Quoted 7 lines
Quoted 4 lines
Reviewed-by Tom Rini <[email protected]>Please do a follow up commit that makes use of the existing size checks to avoid this problem in the future, thanks!
Yes, it would be useful. Could you please point me to the existing size checks function, so that I can learn about it?
CONFIG_SPL_MAX_SIZE and CONFIG_SPL_MAX_BSS_SIZE or CONFIG_SPL_MAX_FOOTPRINT are what you want for i.MX6 and documented in README. I'm not quite sure of all the details on i.MX6 right now so I can't say for sure which group it falls into. On TI ARMv7 parts for example we get access to DDR by the time we need BSS, so BSS is in DDR and our limit there is semi artificial but CONFIG_SPL_MAX_SIZE (since the binary is loaded into SRAM of a limited area) is not. On some TI Davinci platforms we use CONFIG_SPL_MAX_FOOTPRINT since both BSS and the binary must be in a limited RAM area.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150309/5f5438ca/attachment.sig>
PATCH 1/1 mx6sabre: Do not enable UMS with SPL
Quoted 9 lines · Tom Rini
CONFIG_SPL_MAX_SIZEandCONFIG_SPL_MAX_BSS_SIZEorCONFIG_SPL_MAX_FOOTPRINTare what you want for i.MX6 and documented in README. I'm not quite sure of all the details on i.MX6 right now so I can't say for sure which group it falls into. On TI ARMv7 parts for example we get access to DDR by the time we need BSS, so BSS is in DDR and our limit there is semi artificial butCONFIG_SPL_MAX_SIZE(since the binary is loaded into SRAM of a limited area) is not. On some TI Davinci platforms we useCONFIG_SPL_MAX_FOOTPRINTsince both BSS and the binary must be in a limited RAM area.
Thanks, Tom. I will take a look at these options.
Regards,
Fabio Estevam
PATCH 1/1 mx6sabre: Do not enable UMS with SPL
In reply to Fabio EstevamQuoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Since commit
ad8aae82b20ac6a("mx6sabre: Enable User Mass Storage") SPL target does not boot anymore due to the increased spl image size.Only enable USB Mass Storage for the non-SPL target.
Signed-off-by Fabio Estevam <[email protected]>---
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 =====================================================================