10-25-2016 06:55 PM
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
10-25-2016 09:24 PM
10-25-2016 10:33 PM
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
4. Open a console terminal and connect it to UART on the board.
Downloading the Images
1. Navigate to the PetaLinux directory:
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
10-26-2016 02:31 AM
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
11-02-2016 01:31 PM
07-24-2018 09:30 PM