From: Tom Rini Date: Thu, 26 Jan 2017 18:01:22 -0500 Subject: [U-Boot] [PATCH] booti: Set images.os.arch In-Reply-To: <1485471344-32079-1-git-send-email-oss@buserror.net> References: <1485471344-32079-1-git-send-email-oss@buserror.net> Message-ID: <20170126230122.GF22316@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 26, 2017 at 04:55:44PM -0600, Scott Wood wrote: > Commit ec6617c39741adc6c549 ("armv8: Support loading 32-bit OS in AArch32 > execution state") broke SMP boot by assuming that an image is 32-bit if > the arch field in the spin table != IH_ARCH_DEFAULT (i.e. > IH_ARCH_ARM64), even if the arch field also does not match IH_ARCH_ARM, > even though nothing actually set the arch field in the spin table. > > Commit e2c18e40b111470f ("armv8: fsl-layerscape: SMP support for loading > 32-bit OS") fixed this for bootm by setting the arch field of the spin > table based on images.os.arch, but booti remaineed broken because it did > not set images.os.arch. > > Fixes: ec6617c39741adc6c549 ("armv8: Support loading 32-bit OS in AArch32 execution state") > Fixes: e2c18e40b111 ("armv8: fsl-layerscape: SMP support for loading 32-bit OS") > Cc: Alison Wang > Cc: Chenhui Zhao > Cc: York Sun > Cc: Stuart Yoder > Signed-off-by: Scott Wood Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: