Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rpmsg-echo-test example #1

Merged
merged 10 commits into from
Nov 15, 2022
Merged

Commits on Oct 5, 2022

  1. Add LICENSE file

    This project uses same license as openamp project.
    So copy over open-amp project license file and add AMD copyrights line
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    d1f2868 View commit details
    Browse the repository at this point in the history
  2. Move rpmsg-echo-test examples from meta-openamp

    examples directory will contain different apps demonstrating
    various functionality of openamp framework
    
    This particular app was moved from meta-openamp project as
    meta-openamp is supposed to have only Yocto bitbake recipes and
    not source files.
    
    This app demonstrates fast IPC communication without data corruption
    between Host and Remote processor. IPC communication is done via
    rpmsg framework in kernelspace
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    3e3dcf9 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. rpmsg-echo-test: Add README file

    README file describes functionality of this application.
    It also contains information about corresponding remote firmware
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    261d238 View commit details
    Browse the repository at this point in the history
  2. rpmsg-echo-test: fix app documentation

    Fix description of the app and add SPDX license Identifier
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    a3c6d86 View commit details
    Browse the repository at this point in the history
  3. rpmsg-echo-test: fix command line option handling

    Print help text if any unwanted  command line option is passed.
    Also use strtol over atoi to convert command line string to decimal
    where required.
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    7f35ba1 View commit details
    Browse the repository at this point in the history
  4. rpmsg-echo-test: change ambiguous api name

    rpmsg_create_ept name is used in open-amp library.
    Change this API name to app_rpmsg_create_ept to avoid confusion
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    47b85cf View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. examples: get rpmsg_ctrl from new path

    Kernel uses rpmsg_ctrl from virtio0.rpmsg_ctrl.0.0 directory.
    Add this support without breaking backward compatibility
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    80a1462 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. rpmsg-echo-test: use __progname

    use __progname instead of hardcode binary name
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    c27d72f View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. rpmsg-echo-test: modprobe rpmsg_ctrl driver

    Attempt to probe rpmsg_ctrl driver for kernel >= 6.0.
    If failed, then assume it's kernel < 6.0 and continue execution.
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    dcc6efd View commit details
    Browse the repository at this point in the history
  2. rpmsg-echo-test: replace offensive terminology

    replace "Master" with "Host"
    
    Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
    tnmysh committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    1bf5aad View commit details
    Browse the repository at this point in the history