Received: from eggs.gnu.org ([2001:4830:134:3::10]:45641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaVR0-0008P2-Jj for qemu-devel@nongnu.org; Mon, 29 Feb 2016 16:32:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaVQv-0003gk-I2 for qemu-devel@nongnu.org; Mon, 29 Feb 2016 16:32:54 -0500 Received: from zose-mta03.web4all.fr ([185.49.20.44]:50519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaVQv-0003fe-Cf for qemu-devel@nongnu.org; Mon, 29 Feb 2016 16:32:49 -0500 References: <4499d69ec1326c07481e9d8178e64b63f9748706.1454967766.git.jcd@tribudubois.net> <56C38B52.7080904@tribudubois.net> <56C398FA.8010204@tribudubois.net> <56C62EDA.3010307@tribudubois.net> <56C6B707.8040001@tribudubois.net> <56D4AB67.6080506@tribudubois.net> From: Jean-Christophe DUBOIS Message-ID: <56D4B8FA.4010305@tribudubois.net> Date: Mon, 29 Feb 2016 22:32:42 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 7/9] i.MX: Add i.MX6 SOC implementation. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Peter Crosthwaite Le 29/02/2016 22:14, Peter Maydell a =C3=A9crit : > On 29 February 2016 at 20:34, Jean-Christophe DUBOIS > wrote: >> Le 29/02/2016 18:58, Peter Maydell a =C3=A9crit : >>> To answer the question of "which of these is the correct thing to do" >>> we need to look at what the real hardware does when it's running Linu= x: >>> does it run Linux in Secure or Nonsecure? >> >> i.MX6 is definitively able to boot in secure/trustzone mode (there are= some >> demo out there about it) so I guess it might be booting in secure mode= . > > Mmm. The other question I had about the system reset controller > is whether it's really purely hardware doing the "start secondary CPU", > or is it just a funny way of asking the system firmware to start > things, or is the stuff like the register for startup address > just a place to leave information that the system firmware > on the secondary CPU will read as part of its boot sequence? > > Is there a datasheet available for this? Well the SRC device is described in the i.MX6 reference manual. http://cache.nxp.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fpsp=3D1&WT_= TYPE=3DReference%20Manuals&WT_VENDOR=3DFREESCALE&WT_FILE_FORMAT=3Dpdf&WT_= ASSET=3DDocumentation&fileExt=3D.pdf I believe it is hardware based. Now it might involve some of the=20 functions of the internal ROM in the process but we cannot change this=20 behavior in any way. > > thanks > -- PMM >