修改时间 06-29-2020 08:03 PM
自己生成的BOOT.BIN可以正常启动,但当去掉ARM Trusted Firmware(bl31.elf)时,启动报错
Xilinx Zynq MPFirst Stage Boot Loader
Release 2018.3 Jun 11 2020 - 09:43:49
"Synchronous Abort" Hander ,esr 0x5e000000
ELR:8001db8
LR:f7ba0
x0:00000000c2000001 x1:0000000000000000
x2:0000000000000000 x3:00000000000f7bd0
...
x28:0000000000000100 x29:00000000000f7b70
Resetting CPU ...
reseting ...
"Synchronous Abort" Hander ,esr 0x5e000000
ELR:8001db8
LR:f7ba0
.............
修改时间 06-30-2020 11:13 AM
如果你的BOOT.bin中包含有U-boot或者Kernel,那么你必须要包含ATF。
因为U-boot或者Kernel要访问EL-3级别的寄存器的时候,必须要通过ATF来实现。
修改时间 06-30-2020 11:13 AM
如果你的BOOT.bin中包含有U-boot或者Kernel,那么你必须要包含ATF。
因为U-boot或者Kernel要访问EL-3级别的寄存器的时候,必须要通过ATF来实现。
修改时间 06-30-2020 11:16 AM
如果是裸机程序的BOOT.bin的话,正常可以不用bl31.elf.
你的bif文件是怎样的?
----------------------------------------------------------------------------------------------
如果帖子有帮助,别忘“接受为解决方案”或“奖励”。谢谢!
Don't forget to "Accept as solution" or "Kudo" if it helps. Thanks!
----------------------------------------------------------------------------------------------
修改时间 06-30-2020 11:46 AM
//arch = zynqmp;split = false; format = BIN the_ROM_image: { [fsbl_config]a53_x64 [bootloader]./zynqmp_fsbl.elf [pmufw_image]./pmufw.elf [destination_device = pl]./system.bit [destination_cpu = a53-0, exception_level = el-3, trustzone] ./bl31.elf [destination_cpu = a53-0, exception_level = el-2]./u-boot.elf }
不是裸机程序,有包含uboot和kernel。
1.pmufw.elf(电源管理和功耗控制?)呢,这个可以不包含吗?
2.启动log
Xilinx Zynq MP First Stage Boot Loader Release 2018.3 Jun 11 2020 - 09:43:49 NOTICE: ATF running on ZCZU2EG/silicon v4/RTL5.1 at 0xfffea000 NOTICE: BL31 : Secure code at 0x0 NOTICE: BL31: Non Secure code at 0x8000000 NOTICE: BL31: v1.5(release): NOTICE: BL31: Built : 14:30:37, Dec 19 2019 PMUFW:v1.1
uboot(U-Boot 2.18.01(Jun 11 2020 - 09:55:58 +0800) Xilinx ZynqMp ZCU102 rev1.0)
有发现,fsbl启动打印完PMUFW:v1.1后会卡个几百ms才执行到uboot(U-Boot 2.18.01(Jun 11 2020 - 09:55:58 +0800) Xilinx ZynqMp ZCU102 rev1.0)
3.上电到执行到uboot,耗时大概2秒多,请问这个有优化的空间吗
修改时间 06-30-2020 01:17 PM
你要使用u-boot或者kernel的话,pmufw也是不能少的,你可以参考ug1209,Boot and Configuration章节。
要优化或者估算启动时间的话,你可以看一下这个AR。
https://www.xilinx.com/support/answers/67475.html
修改时间 06-30-2020 03:47 PM
AR中下载的表格的Main页中,optimization level有下拉框可以选择的。
修改时间 06-30-2020 04:59 PM
其实就是FLASH的时钟变快了,你可以在BootRom Times页看到standard和optimized的时钟。