From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Schenker Date: Thu, 11 Jul 2019 14:44:48 +0000 Subject: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode In-Reply-To: References: <20190703135028.19271-1-igor.opaniuk@gmail.com> Message-ID: 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, 2019-07-10 at 12:19 +0000, Philippe Schenker wrote: > On Wed, 2019-07-03 at 16:50 +0300, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought upstream kernel > > uses PSCI for this). > > > > As we're using NXP kernel in our BSPs, lets enable this by default. > > > > Signed-off-by: Igor Opaniuk > > Reviewed-by: Philippe Schenker > Tested-by: Philippe Schenker Please ignore my Reviewed-by and Tested-by. I Tested it on downstream which works fine but on mainline only one core comes up by design. I wasn't aware of that. Philippe > > > --- > > > > include/configs/colibri_imx7.h | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h > > index 40173b18fa..5408577661 100644 > > --- a/include/configs/colibri_imx7.h > > +++ b/include/configs/colibri_imx7.h > > @@ -164,7 +164,8 @@ > > "${board}/flash_blk.img && source ${loadaddr}\0" \ > > "setup=setenv setupargs " \ > > "console=tty1 console=${console}" \ > > - ",${baudrate}n8 ${memargs} consoleblank=0\0" \ > > + ",${baudrate}n8 ${memargs} consoleblank=0; " \ > > + "setenv bootm_boot_mode sec\0" \ > > "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ > > "setusbupdate=usb start && setenv interface usb && " \ > > "fatload ${interface} 0:1 ${loadaddr} " \ > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot