From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 19 Nov 2018 12:18:35 -0500 Subject: [U-Boot] =?iso-8859-1?q?Re=A0=3A_Re=3A_Re=A0=3A_Re=3A_=5BPATCH=5D?= =?iso-8859-1?q?_exynos5=3A_allow_bigger_BL2_=28u-boot=2Ebin=29?= In-Reply-To: <546834627.417665315.1542647025534.JavaMail.root@zimbra71-e12.priv.proxad.net> References: <20181119165733.GZ11247@bill-the-cat> <546834627.417665315.1542647025534.JavaMail.root@zimbra71-e12.priv.proxad.net> Message-ID: <20181119171835.GE11247@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Mon, Nov 19, 2018 at 06:03:45PM +0100, Guillaume GARDET wrote: > ----- Tom Rini a écrit : > > On Mon, Nov 19, 2018 at 05:56:37PM +0100, Guillaume GARDET wrote: > > > > > > ----- Tom Rini a écrit : > > > > On Mon, Nov 19, 2018 at 05:45:03PM +0100, Guillaume GARDET wrote: > > > > > > > > > This patch allows SPL to load a bigger BL2 (u-boot.bin). > > > > > This is needed for and has been tested on Arndale board, as u-boot.bin is > > > > > now bigger than 512K with GCC8. > > > > > > > > > > Signed-off-by: Guillaume GARDET > > > > > > > > > > Cc: Minkyu Kang > > > > > Cc: Tom Rini > > > > > --- > > > > > include/configs/exynos5-common.h | 2 +- > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > Are these platforms using thumb2 to build? Were it not for some early > > > > Cortex-A platforms with thumb2 errata I'd be strongly inclined to do a > > > > global switch to making that option default. > > > > > > No, they are not using thumb2: > > > # CONFIG_SYS_THUMB_BUILD is not set > > > # CONFIG_SPL_SYS_THUMB_BUILD is not set > > > > I would suggest switching that on instead then. I'm always wary of > > changing stuff on the flash layout. > > I tested thumb2 for SPL and u-boot.bin on arndale and it does boot properly. > u-boot.bin is 397KB with thumb2, which is OK. > > Should I make the switch for Arndale board only, or on a bigger range? I'd go ahead and switch all exynos platforms. My recollection is it's really only very old / early Cortex-A platforms with issues and I'm pretty sure we either have the appropriate errata enabled or they've all been discarded at this point in time. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: