10-25-2016 06:55 PM
Hi, all
when I test the demo echo_test of BSP, I only find the binary file of bare metal , named "image_echo_test", where can I find "image_echo_test" source code of bare metal? I want to develop myself application of bare metal, so I need to refer to the "image_echo_test" source code.
who can give me some hints, Thank you very much
Tom
10-25-2016 09:24 PM
10-25-2016 10:33 PM
Hi, Balkrishan
Thanks for your reply.
I read page number 19 of this document, the contents is below:
Booting on Hardware
After a successful build, you can run the PetaLinux project on hardware. Follow these
procedures to boot OpenAMP on a board.
Setting Up the Board
1. Connect the board to your computer, and ensure that it is powered on.
2. Program the relevant bitstreams to the board. Ensure that it is using RTL v5.2; this must
be done separately from PetaLinux.
3. If the board is connected to a remote system, start the hw_server on the remote
system.
4. Open a console terminal and connect it to UART on the board.
Downloading the Images
1. Navigate to the PetaLinux directory:
cd <master_root>
2. Run the PetaLinux boot:
° Using a remote system:
petalinux-boot --jtag --kernel --hw_server-url <remote_system>
° Using a local system:
petalinux-boot --jtag --kernel
TIP: If you encounter any issues append –v to the above commands to see the textual output
maybe I am such stupid, I can't find any information about the source code of image_echo_test.
can you give me more detail information? Thanks!!!
10-26-2016 12:50 AM
You can refer to the OpenAMP Frameware from Github(https://github.com/OpenAMP/open-amp) ,and you can find the source code at apps\echo_test\system\generic\remote.
Hope it'll help.
10-26-2016 02:31 AM
Hi,jiandahao
Thanks for your reply,I have download the "open_amp_master" from Github(https://github.com/OpenAMP/open-amp) a few days ago, there are two echo_test.c file which located in open_amp_master/apps/echo_test/echo_test.c and open_amp_master/obsolete/apps/echo_test/system/linux/userspace/echo_test.c.I think open_amp_master/apps/echo_test/echo_test.c file is for bare metal.when I porting this file to xlinx SDK project, compiled it, there are some errors. I found the xlinx SDK open_amp library is not compatible to the open_amp_master/apps/echo_test/echo_test.c. they are not the same version. because some important function have different parameters.so I want to find out the source code of image_echo_test.
Thanks again for your help
Tom
10-26-2016 08:18 PM
Hi, all
who can help me, I am waiting on line!!!
11-02-2016 01:31 PM
07-24-2018 09:30 PM
I had the same issue.
I think this is what you are looking for:
https://github.com/Xilinx/meta-openamp/tree/rel-v2018.2/recipes-openamp/rpmsg-examples