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: 
Observer oska874
Observer
705 Views
Registered: ‎10-17-2012

how to boot r5 after uboot or linux?

We want to boot r5 after uboot or linux started,but we failed with calling XPm_InitXilpm.

We use mpsoc's a53 and r5. Running uboot in a53 and load bitstream in uboot. Copy r5 core0's image to 0x78000000 in ddr. Then a53 tell r5 core1 to power up rr core0 via shared memory. R5 core1 call XPm_InitXilpm to powerup r5 core0,but fails, r5 just print R"PU0: XPm_RequestWakeUp(7, 78000001, 2, 0, 0)".

What's the reason that fails bootup r5 core0? and how to achive this goal?

Thanks.

0 Kudos
6 Replies
Highlighted
Observer oska874
Observer
658 Views
Registered: ‎10-17-2012

回复: how to boot r5 after uboot or linux?

Address 0xffd8xxxx is writable , and as soon as I read  (like 0xffd80118)  mpsoc restarts.

Though it's wo, but read will cause reset?

0 Kudos
Xilinx Employee
Xilinx Employee
650 Views
Registered: ‎10-11-2011

回复: how to boot r5 after uboot or linux?

Did you take a look at Xilinx OpenAMP solution? I suggest to find an example that fits your needs on Xilinx wiki or Xilinx docs and start from there.

0 Kudos
Observer oska874
Observer
639 Views
Registered: ‎10-17-2012

回复: how to boot r5 after uboot or linux?

I've seen openamp ,but it's a bit complex for our case. We only want to seperate r5.elf from boot.bin.

 

0 Kudos
Xilinx Employee
Xilinx Employee
614 Views
Registered: ‎10-11-2011

回复: how to boot r5 after uboot or linux?

If you want to load the R5 application from BOOT.bin then it's a matter of formatting the .bif properly and FSBL will take care of the loading.

If you want to load the R5 application after Linux start execution, Xilinx strongly recommend to use out tested solution (openAMP).

0 Kudos
Observer oska874
Observer
602 Views
Registered: ‎10-17-2012

回复: how to boot r5 after uboot or linux?

so  ther  is no way to boot r5 after fsbl (like in uboot ,in linux )without openamp ?

And what commands can start r5?

 

0 Kudos
Xilinx Employee
Xilinx Employee
520 Views
Registered: ‎10-11-2011

回复: how to boot r5 after uboot or linux?

Is possible but you are going to re-invent the wheel. I still think you should be using openAMP but maybe somebody else in the community might be able to help you.

0 Kudos