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
Observer ajcurtis84
Observer
7,280 Views
Registered: ‎04-04-2016

Peta Linux 2015.4 prebuilt image problem

Hello,

 

I am able to boot the prebuilt images. However when try to run echo_test as described in UG1186 it does not run because /dev/rpmsg is missing.

 

It appears all the drivers are loaded:

root@Xilinx-ZC702-2015_4:~# lsmod
Tainted: G
rpmsg_user_dev_driver 3664 0 - Live 0xbf01f000 (O)
virtio_rpmsg_bus 8254 1 rpmsg_user_dev_driver, Live 0xbf018000
zynq_remoteproc 3514 0 - Live 0xbf014000
remoteproc 13921 1 zynq_remoteproc, Live 0xbf00c000
virtio_ring 6393 2 virtio_rpmsg_bus,remoteproc, Live 0xbf006000
virtio 4665 2 virtio_rpmsg_bus,remoteproc, Live 0xbf000000

 

Are the prebuilt images configured to support the AMP sample applications? 

 

I am trying this route because none of the kernels built following the instructions boot to the login prompt.

 

TIA

0 Kudos
4 Replies
Observer jiandahao
Observer
7,241 Views
Registered: ‎04-04-2016

回复: Peta Linux 2015.4 prebuilt image problem

 

Have you added 

/include/ "openamp-overlay.dtsi"

at the end of "system-top.dts"(located in "/subsystems/linux/configs/device-tree") ?

 

0 Kudos
Observer ajcurtis84
Observer
7,221 Views
Registered: ‎04-04-2016

回复: Peta Linux 2015.4 prebuilt image problem

For the images that I have built, I have added /include/ "openamp-overlay.dtsi" to the DTS file. Unfortunately, I am not able to boot any of the images that I built using petalinux-2015.4. So, I was hoping to verify the AMP operation using the prebuilt images. (which do boot for me)

 

 

0 Kudos
Visitor stu4355226
Visitor
7,217 Views
Registered: ‎03-22-2016

回复: Peta Linux 2015.4 prebuilt image problem

Rebuild you project, and copy your image files to prebuilt folder then run petalinux-boot -v --jtag --prebuilt 3 or something.

if you're using QEMU, you're may not able to create rpmsg0 on petalinux.
Try to boot it on board and run the echo_test again.

then it should be something when you use modprobe zynq_remoteproc firmware=image_echo_test.
0 Kudos
Observer ajcurtis84
Observer
7,205 Views
Registered: ‎04-04-2016

回复: Peta Linux 2015.4 prebuilt image problem

Hello,

 

After reviewing the output of "petalinux-boot --jtag --prebuilt 3 -v", I was able to come up with the following command sequence to boot the rebuilt images.

 

      1. petalinux-boot --jtag --bitstream images/linux/download.bit
      2. petalinux-boot --jtag --image images/linux/zynq_fsbl.elf
      3. petalinux-boot --jtag --u-boot
      4. petalinux-boot --jtag --image images/linux/zImage

 

The "--u-boot" step could probably be omitted if the objective is to boot the kernel. However these are the steps when booting a prebuilt image.

 

I hope this helps.

 

0 Kudos