On 14/02/17 07:36, Maxime Ripard wrote: > On Mon, Feb 13, 2017 at 04:12:04PM +0800, Icenowy Zheng wrote: >> >> 2017年2月13日 15:17于 Maxime Ripard <maxime.rip...@free-electrons.com>写道: >>> >>> Hi, >>> >>> On Sat, Feb 11, 2017 at 07:11:02PM +0800, Icenowy Zheng wrote: >>>> @@ -0,0 +1,13 @@ >>>> +CONFIG_ARM=y >>>> +CONFIG_ARCH_SUNXI=y >>>> +# CONFIG_ARMV7_NONSEC is not set >>> >>> Why? It doesn't have Trustzone? >> >> The CPU has Secure mode, but no TrustZone Peripheral Controller, >> neither SMP. > > Still, booting in HYP and having PSCI sounds like a good idea.
Yes, so without this option Linux will run in secure state, if I am not mistaken, which is discouraged. Instead we should enter Linux in (non-secure) HYP mode [1], which will allow KVM, for instance. So I'd recommend to remove this last line. Whether we need PSCI on an UP system is a separate question, I don't know from the top of my head if ARM(32) uses it for suspend/resume. But anyway this is not implemented in U-Boot's PSCI implementation, IIRC. So for just disabling PSCI we could use: +# CONFIG_ARMV7_PSCI is not set Cheers, Andre. [1] http://lxr.free-electrons.com/source/Documentation/arm/Booting#L188 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot