* [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default
@ 2019-06-08 17:56 Fabio Estevam
2019-06-08 19:32 ` Lukasz Majewski
2019-06-11 8:44 ` sbabic at denx.de
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-06-08 17:56 UTC (permalink / raw)
To: u-boot
As explained in include/configs/imx6_spl.h. the i.MX6 SPL
size limit is 68KB (4KB header + 64KB max size).
Provide such limit for all i.MX6 boards that use SPL
to detect SPL size overflow in build time.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Hi Tom and Stefano,
In order to build fine for all mx6 boards the following
patch is needed:
https://lists.denx.de/pipermail/u-boot/2019-May/370224.html
Ran buildman successfully for all imx6 boards.
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ac2f470032..48f6b39a75 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -28,6 +28,7 @@ config SPL_FRAMEWORK
config SPL_SIZE_LIMIT
int "Maximum size of SPL image"
depends on SPL
+ default 69632 if ARCH_MX6
default 0
help
Specifies the maximum length of the U-Boot SPL image.
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default
2019-06-08 17:56 [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default Fabio Estevam
@ 2019-06-08 19:32 ` Lukasz Majewski
2019-06-11 8:44 ` sbabic at denx.de
1 sibling, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2019-06-08 19:32 UTC (permalink / raw)
To: u-boot
On Sat, 8 Jun 2019 14:56:44 -0300
Fabio Estevam <festevam@gmail.com> wrote:
> As explained in include/configs/imx6_spl.h. the i.MX6 SPL
> size limit is 68KB (4KB header + 64KB max size).
>
> Provide such limit for all i.MX6 boards that use SPL
> to detect SPL size overflow in build time.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> Hi Tom and Stefano,
>
> In order to build fine for all mx6 boards the following
> patch is needed:
> https://lists.denx.de/pipermail/u-boot/2019-May/370224.html
>
> Ran buildman successfully for all imx6 boards.
>
> common/spl/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index ac2f470032..48f6b39a75 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -28,6 +28,7 @@ config SPL_FRAMEWORK
> config SPL_SIZE_LIMIT
> int "Maximum size of SPL image"
> depends on SPL
> + default 69632 if ARCH_MX6
> default 0
> help
> Specifies the maximum length of the U-Boot SPL image.
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190608/61b0dfc1/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default
2019-06-08 17:56 [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default Fabio Estevam
2019-06-08 19:32 ` Lukasz Majewski
@ 2019-06-11 8:44 ` sbabic at denx.de
1 sibling, 0 replies; 3+ messages in thread
From: sbabic at denx.de @ 2019-06-11 8:44 UTC (permalink / raw)
To: u-boot
> As explained in include/configs/imx6_spl.h. the i.MX6 SPL
> size limit is 68KB (4KB header + 64KB max size).
> Provide such limit for all i.MX6 boards that use SPL
> to detect SPL size overflow in build time.
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Applied to u-boot-imx, master, 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] 3+ messages in thread
end of thread, other threads:[~2019-06-11 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-08 17:56 [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default Fabio Estevam
2019-06-08 19:32 ` Lukasz Majewski
2019-06-11 8:44 ` sbabic at denx.de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox