From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Medhurst (Tixy) Date: Mon, 26 Sep 2016 12:30:46 +0100 Subject: [U-Boot] [PATCH v2] vexpress: disable cci ace slave ports when booting in non-sec/hyp mode In-Reply-To: <1474648719-2910-1-git-send-email-sudeep.holla@arm.com> References: <1474643401-13624-1-git-send-email-sudeep.holla@arm.com> <1474648719-2910-1-git-send-email-sudeep.holla@arm.com> Message-ID: <1474889446.2898.13.camel@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2016-09-23 at 17:38 +0100, Sudeep Holla wrote: > Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting > to nonsec booting") added support to check if the firmware on TC2 is > configured appropriately before booting in nonsec/hyp mode. > > However when booting in non-secure/hyp mode, CCI control must be done in > secure firmware and can't be done in non-secure/hyp mode. In order to > ensure that, this patch disables the cci slave port inteface so that it > is not accessed at all. > > Cc: Jon Medhurst > Acked-by: Marc Zyngier > Signed-off-by: Sudeep Holla > --- This works for me (unsurprisingly) when booting in secure mode. What kernel and firmware config do I need to use for non-sec mode? I tried vexpress_defconfig, with bits 12 and 13 cleared in SCC: 0x700 but I get nothing out the console after "Starting kernel ..." -- Tixy