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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor chen8494
Visitor
423 Views
Registered: ‎05-18-2017

petalinux 2019.1 Cortex-R5 has no power

Jump to solution

Hello

when i use zcu102 borad .I create a project ,petalinux 2019.1 and it boot from SD , the APU work well.

then i create bare-metal applications for RPU in SDK . but it does not work .

I input targets in the xsct console,it show R5 has no power.

xsct% targets

1 PS TAP

2 PMU

3 PL

4 Legacy Debug Hub

5 PSU

6 RPU (Reset)

7 Cortex-R5 #0 (No Power)

8 Cortex-R5 #1 (No Power)

9 APU

10 Cortex-A53 #0 (Running)

11 Cortex-A53 #1 (Running)

12 Cortex-A53 #2 (Running)

13 Cortex-A53 #3 (Running)

I used petalinux 2018.2 before, and RPU works normally, so why petalinux 2019.1 RPU has no power?

thanks!

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
324 Views
Registered: ‎09-01-2014

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution

I am not sure if the target CPU was set to RPU, would you check the BIF or
add the –cpu option like following.
--add images/linux/zynqmp_r5_app.elf --cpu r5-0

And pleaes enable the FSBL debug print to see if r5 app is loaded by FSBL.
----
project-spec\meta-plnx-generated\recipes-bsp\fsbl\fsbl_%.bbappend
then add below content:
XSCTH_BUILD_DEBUG = "1"
XSCTH_COMPILER_DEBUG_FLAGS = "-DFSBL_DEBUG_DETAILED"
----

if this is still not working, try to set ENABLE_UNUSED_RPU_PWR_DWN flag to 0 while compiling PMUFW, If you do not want to power down RPU by default.


0 Kudos
7 Replies
Xilinx Employee
Xilinx Employee
407 Views
Registered: ‎09-01-2014

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution
I don’t see any issue from my side.
How do you run r5 app in SDK, from GUI or XSDB?
If you run from xsdb, try to tagert on RPU then “rst -processor”
0 Kudos
Visitor chen8494
Visitor
403 Views
Registered: ‎05-18-2017

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution

thank you for relpay!

I run r5 app in SDK, from GUI.

when linux boot before this picture,i send 'target' in the xsct console ,it show rpu works well.

boot-before.png

xsct% target
1 PS TAP
2 PMU
3 PL
5 PSU
6 RPU
7 Cortex-R5 #0 (Halted)
8 Cortex-R5 #1 (Lock Step Mode)
9 APU
10 Cortex-A53 #0 (Running)
11 Cortex-A53 #1 (Power On Reset)
12 Cortex-A53 #2 (Power On Reset)
13 Cortex-A53 #3 (Power On Reset)

 

 

when linux boot finish ,i send 'target' in the xsct console ,it show rpu has no poower

 

xsct% target
1 PS TAP
2 PMU
3 PL
5 PSU
6 RPU (Reset)
7 Cortex-R5 #0 (No Power)
8 Cortex-R5 #1 (No Power)
9 APU
10 Cortex-A53 #0 (Running)
11 Cortex-A53 #1 (Running)
12 Cortex-A53 #2 (Running)
13 Cortex-A53 #3 (Running)

 

this is my boot log

thanks

0 Kudos
Visitor chen8494
Visitor
401 Views
Registered: ‎05-18-2017

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution

I also try rst -processor

 

xsct% target
1 PS TAP
2 PMU
3 PL
5 PSU
6 RPU (Reset)
7 Cortex-R5 #0 (No Power)
8 Cortex-R5 #1 (No Power)
9 APU
10 Cortex-A53 #0 (Running)
11 Cortex-A53 #1 (Running)
12 Cortex-A53 #2 (Running)
13 Cortex-A53 #3 (Running)
xsct% target 7
xsct% rst -processor
xsct% APB AP transaction error, DAP status 30000021

0 Kudos
Xilinx Employee
Xilinx Employee
388 Views
Registered: ‎09-01-2014

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution
I think Linux is now aware of RPU if you are loading it from JTAG. So close the RPU power.
Please add the R5 elf file to the bootimage, it should be no problem.

0 Kudos
Visitor chen8494
Visitor
370 Views
Registered: ‎05-18-2017

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution

thanks for your suggestion!

I try this by 

petalinux-package --boot --fsbl zynqmp_fsbl.elf --fpga system.bit --pmufw pmufw.elf --atf bl31.elf --u-boot u-boot.elf --add rpu_app.elf --force

but the RPU also has no power

 

or by SDK ,and the linux can not boot,just print this.

Xilinx Zynq MP First Stage Boot Loader
Release 2019.1 Jun 12 2019 - 08:24:04

2.png

3.png

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
325 Views
Registered: ‎09-01-2014

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution

I am not sure if the target CPU was set to RPU, would you check the BIF or
add the –cpu option like following.
--add images/linux/zynqmp_r5_app.elf --cpu r5-0

And pleaes enable the FSBL debug print to see if r5 app is loaded by FSBL.
----
project-spec\meta-plnx-generated\recipes-bsp\fsbl\fsbl_%.bbappend
then add below content:
XSCTH_BUILD_DEBUG = "1"
XSCTH_COMPILER_DEBUG_FLAGS = "-DFSBL_DEBUG_DETAILED"
----

if this is still not working, try to set ENABLE_UNUSED_RPU_PWR_DWN flag to 0 while compiling PMUFW, If you do not want to power down RPU by default.


0 Kudos
Visitor chen8494
Visitor
299 Views
Registered: ‎05-18-2017

Re: petalinux 2019.1 Cortex-R5 has no power

Jump to solution

I regenerate the BOOT.bin by --add images/linux/zynqmp_r5_app.elf --cpu r5-0

The APU and RPU all can work !

ENABLE_UNUSED_RPU_PWR_DWN  need to compiling PMUFW in SDK ,so i don't try this method.

thank you very much!

0 Kudos