From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 14 Jan 2016 12:15:46 -0500 Subject: [U-Boot] [PATCH 06/11] imx: imx-common: introduce boot auxiliary core In-Reply-To: References: <1451973384-26824-1-git-send-email-van.freenix@gmail.com> <1451973384-26824-7-git-send-email-van.freenix@gmail.com> <09793a2cf40935a18761ebfd2083c630@agner.ch> <20160107083817.GB30701@linux-7smt.suse> Message-ID: <20160114171546.GC3359@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 Wed, Jan 13, 2016 at 12:45:05PM -0800, Stefan Agner wrote: > Hi, > > I would like to keep the discussion going and shed some light on the > image format introduced here, see below... > > On 2016-01-07 00:38, Peng Fan wrote: > > Hi Stefan, > > On Wed, Jan 06, 2016 at 10:59:17PM -0800, Stefan Agner wrote: > >>On 2016-01-04 21:56, Peng Fan wrote: > >>> From: Peng Fan > >>> > >>> To boot a auxiliary core in asymmetric multicore system, introduce the > >>> new command "bootaux" to do it. Example of boot auxliary core from > >>> 0x70000000 where stores the boot head information that should be > >>> parsed by auxiliary core, "bootaux 0x70000000". > >> > >>This reminds me of a question which was nagging me lately: > >>Is the M4 core of SoloX/MX7 running a boot ROM? Or who/what is "parsing > >>the boot head information"? > > > > There is no bootrom for m4 core. The bootimage for M4 contains stack > > info and pc info. bootaux command will use the info extracted from bootimage. > > > So the image expected by bootaux is really a raw binary image, with the > only notion that the first two words need to be the stack pointer and > the reset handler (firmware entry point). > > U-Boot has other commands which work with "raw" images, such as the > bootz command. The bootz command also expects a certain "raw" format, > hence I guess it is ok to introduce something like that also for the > auxiliary core. I suppose my only contribution right now is that for another project where we have U-Boot (on the M4) kicking off NuttX we've had to do a custom command to stack pointer thing, I agree with the need to add some way to easily kick these cases off. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: