Re: [PATCH v1 00/12] ARM: stm32mp: add drivers for GPIO, pinctrl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sascha,

On 20/6/19 16:32, Sascha Hauer wrote:
> On Mon, Jun 17, 2019 at 05:07:39PM +0200, Ahmad Fatoum wrote:

>> Ahmad Fatoum (12):
>>   ARM: stm32mp157c-dk2: add board-specific sysconf fixups

Please drop this patch from next.

>>   ARM: psci: fix erroneous call of ->system_reset on system_off
>>   ARM: stm32mp: implement PSCI support
>>   ARM: stm32mp157c-dk2: boot kernel in nonsecure mode

as well as these three. These patches duplicate functionality already
existing in the upstream ARM Trusted Firmware-A repository.

STMicro provides two boot chains for the STM32MP. A trusted boot chain,
with the TF-A as the first stage boot loader doing the SDRAM init
and U-Boot as the second stage as well as a simplified one where
U-Boot SPL acts as a first stage.

After talking this over with Lucas, I now see that barebox should
probably not go down this road and instead settle for support of
one of these boot chains.

STMicro's docs[1] state that

> authentication is optional with this boot chain, so it can run on any STM32MP
> security variant (that is, with or without the Secure boot).
> The trusted boot chain is the default solution delivered by STMicroelectronics,
> with a complete feature set (for example, all Flash devices are supported).

Which makes me lean towards settling for TF-A as first stage and have
barebox focus on the second stage instead. Should it turn out, we should
be doing first stage as well, these can always be reinstated in a way that doesn't
break use of TF-A. Dropping them now allows a boot chain with
mainline TF-A -> barebox with my network patches -> mainline Kernel
to function.

>>   ARM: sm: move get_gicd_base_address to header for reuse

Could be removed as well, but it doesn't hurt to leave it in.
Future code for other subarches may need this as well.

[1]: https://wiki.st.com/stm32mpu/wiki/Boot_chains_overview ¶2.2.1

Cheers
Ahmad

> 
> Applied, thanks
> 
> Sascha
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux