你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STM32MP157 u-boot启动速度问题

[复制链接]
ZTL 提问时间:2024-5-17 19:35 / 未解决

芯片启动,能加速吗,目前速度有点慢,启动首先打印了一些信息,到U-BOOT启动,中间有2-3秒时间,能否加速呢

NOTICE: Model: STMicroelectronics STM32MP157D eval daughter INFO: Reset reason (0x14): INFO: Pad Reset from NRST INFO: Using EMMC INFO: Instance 2 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.2-r1.0(debug):aa9f87c NOTICE: BL2: Built : 08:21:58, May 11 2022 INFO: Using crypto library 'stm32_crypto_lib' INFO: BL2: Doing platform setup INFO: RAM: DDR3-DDR3L 32bits 533000Khz INFO: Memory size = 0x40000000 (1024 MB) INFO: BL2 runs SP_MIN setup INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2ffed000 INFO: Image id=4 loaded: 0x2ffed000 - 0x2ffff000 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: STM32 Image size : 867931 INFO: Image id=5 loaded: 0xc0100000 - 0xc01d3e5b WARNING: Skip signature check (header option) NOTICE: ROTPK is not deployed on platform. Skipping ROTPK verification. NOTICE: BL2: Booting BL32 INFO: Entry point address = 0x2ffed000 INFO: SPSR = 0x1d3 INFO: Cannot find st,stpmic1 node in DT NOTICE: SP_MIN: v2.2-r1.0(debug):aa9f87c NOTICE: SP_MIN: Built : 08:22:03, May 11 2022 INFO: ARM GICv2 driver initialized INFO: stm32mp IWDG1 (12): Secure INFO: ETZPC: CRYP1 (9) could be non secure INFO: SP_MIN: Initializing runtime services INFO: SP_MIN: Preparing exit to normal world

U-Boot 2020.01-stm32mp-r1 (May 17 2024 - 04:31:08 -0700)

收藏 评论2 发布时间:2024-5-17 19:35

举报

2个回答
wgzzz 回答时间:2024-5-21 09:49:21

如果想提升TF-A的启动速度,将TF-A重新编译为release模式,编译参数如下:

EXTRA_OEMAKE ?= PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 CROSS_COMPILE=arm-ostl-linux-gnueabi- DEBUG=0 LOG_LEVEL=10

具体可以参考wiki: How to debug TF-A BL2 - stm32mpu (stmicroelectronics.cn)

https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#Modifying_the_TF-A

ZTL 回答时间:2024-5-22 16:22:25

wgzzz 发表于 2024-5-21 09:49
如果想提升TF-A的启动速度,将TF-A重新编译为release模式,编译参数如下:</p>
<p>EXTRA_OEMAKE ?=  PLAT=stm ...

[md]好的。启动速度加快了不少 ,问题解决了,

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版