UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Visitor nick_ctrl
Visitor
307 次查看
注册日期: ‎09-12-2018

XSCT下PMU状态

根据官方wiki :https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841724/PMU+Firmware#PMUFirmware-DebuggingPMUFWusingSDK

芯片启动成功connect后查看状态应该是如下的:

微信图片_20190221110512.png

而我自己生成的PMU,在XSCT下查看状态的时候如下:

微信图片_20190221110519.png

PMU下无显示,也无法对其进行操作,而且将生成的pmufw.elf加入BOOT.bin 中,上电启动打印信息里也没有PMU的相关信息,且uboot启动不成功,如下:

Xilinx Zynq MP First Stage Boot Loader
Release 2018.2 Feb 20 2019 - 15:42:49
Reset Mode : System Reset
Platform: Silicon (4.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU3EG
Processor Initialization Done
================= In Stage 2 ============
SD1 Boot Mode
SD: rc= 0
File name is BOOT.BIN
Multiboot Reg : 0x0
Image Header Table Offset 0x8C0
*****Image Header Table Details********
Boot Gen Ver: 0x1020000
No of Partitions: 0x3
Partition Header Address: 0x440
Partition Present Device: 0x0
Initialization Success
======= In Stage 3, Partition No:1 =======
UnEncrypted data Length: 0x3140
Data word offset: 0x3140
ation Load Address: 0xFFFEA000 .
Execution Address: 0xFFFEA000
Data word offset: 0xE970
Partition Attributes: 0x117
Partition 1 Load Success
======= In Stage 3, Partition No:2 =======
UnEncrypted data Length: 0x4366E
Data word offset: 0x4366E
Total Data word length: 0x4366E
Destination Load Address: 0x8000000
Execution Address: 0x8000000
Data word offset: 0x11AB0
Partition Attributes: 0x114
Partition 2 Load Success
All Partitions Loaded
================= In Stage 4 ============
AIB ack status: 0x0
AIB ack status: 0x0
PM Init Success
Protection configuration applied
ATF running on XCZU3EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.4(release):xilinx-v2018.2-dirty
NOTICE: BL31: Built : 15:35:41, Feb 20 2019
P

最后那个 “P” 也是打印出来的,请帮忙看看这是为何?

0 项奖励
3 条回复3
Moderator
Moderator
288 次查看
注册日期: ‎05-23-2018

回复: XSCT下PMU状态

Hi, @nick_ctrl 

PMU是如何生成的?用的工具版本是什么?

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Visitor nick_ctrl
Visitor
284 次查看
注册日期: ‎09-12-2018

回复: XSCT下PMU状态

Hi @weiyil 

工具版本为2018.2,PMU就是在 sdk 里面生成的,File->new->application project->pmu

捕获.JPG

fsbl.bif文件如下:

//arch = zynqmp; split = false; format = BIN
the_ROM_image:
{
[fsbl_config]a53_x64
[bootloader]D:\xilinx_vivado_workspace\ZU3\project_1\project_1.sdk\FSBL\Debug\FSBL.elf
[pmufw_image]D:\xilinx_vivado_workspace\ZU3\project_1\project_1.sdk\pmufw\Debug\pmufw.elf
[destination_cpu = a53-0, exception_level = el-3, trustzone]C:\Users\Nick\Desktop\zu3\bl31.elf
[destination_cpu = a53-0, exception_level = el-2]C:\Users\Nick\Desktop\zu3\u-boot.elf
}

0 项奖励
Moderator
Moderator
252 次查看
注册日期: ‎05-23-2018

回复: XSCT下PMU状态

Hi, @nick_ctrl 

可以参考一下这个链接。

https://forums.xilinx.com/t5/Embedded-Boot-and-Configuration/ZynqU-Boot-from-QSPI-hangs-after-FSBL-and-PMU-messages-XCU19EG/td-p/874382

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励