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

Pull in AMD System Device Tree flow work up to April 7 2024 #42

Merged
merged 14 commits into from
Apr 23, 2024

Commits on Apr 8, 2024

  1. vendor/xilinx: meta-xilinx-standalone-experimental: Move vendor speci…

    …fic information to xilinx
    
    Move logic for vendor into vendor layer.
    
    This logic will configure Libmetal Repo (for Linux and MC builds) with
    existing variable instead of new one. Also ensure that support for Versal NET
    is present.
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b325c92 View commit details
    Browse the repository at this point in the history
  2. recipes-openamp: rpmsg-examples: Use latest commit SRCREV

    Pull in the following commits
    
    west: update zephyr revsion to v3.4-branch
    examples: dual_qemu_ivshmem: add RPMsg over IVSHMEM sample code.
    examples: Linux: Fix rpmsg-utils README
    examples: linux: Close file on error in bind_rpmsg_chrdev
    examples: rpmsg-mat-mul: Cleanup printouts and remove debug statements
    examples: rpmsg-mat-mul: Only send 32bit shutdown message
    examples: linux: Remove uses of global variables
    examples: rpmsg-mat-mul: Cleanup matrix printout
    examples: linux: Factor out lookup_channel into common file
    examples: linux: Factor out get_rpmsg_chrdev_fd into common file
    examples: linux: Factor out bind_rpmsg_chrdev into common file
    examples: linux: Factor out get_rpmsg_ept_dev_name into common file
    examples: linux: Factor out app_rpmsg_create_ept into common file
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    251237f View commit details
    Browse the repository at this point in the history
  3. vendor/xilinx: meta-xilinx-standalone-experimental: libmetal: Move ve…

    …ndor specific logic to CFLAGS
    
    Enable build to follow convention and move Vendor specific flags
    to CFLAGS Variable for build
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    e1e6721 View commit details
    Browse the repository at this point in the history
  4. open-amp-xlnx: Add specific check that amd_platform_info.h was generated

    If this file doesn't exist, further operations will fail in non-obvious ways.
    
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    mhatle authored and bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    682b0c0 View commit details
    Browse the repository at this point in the history
  5. vendor/xilinx: meta-xilinx-standalone-experimental: open-amp-xlnx: re…

    …move extra LOPPER_OPENAMP_OUT_DTB setting
    
    Make sure that LOPPER_OPENAMP_OUT_DTB is only conditionally set.
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    e76bc1f View commit details
    Browse the repository at this point in the history
  6. vendor/xilinx: meta-xilinx-standalone-experimental: open-amp-xlnx: Up…

    …date to work with latest
    
    Update open-amp-xlnx.inc to only run lopper after fetch. This ensures Overlay
    YAMLs are present
    
    Update Versal Overlay YAML to work with latest
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    c06584f View commit details
    Browse the repository at this point in the history
  7. vendor/xilinx: meta-xilinx-standalone-experimental: libmetal: remove …

    …libxil from depends
    
    Libxil is actually composite of xilstandalone and other libraries.
    
    Remove libxil since xilstandalone is already in DEPENDS.
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    2917771 View commit details
    Browse the repository at this point in the history
  8. vendor/xilinx open-amp-xlnx: Enable user to pass compile defines

    Enable user to pass compile-time defines via Yocto interface
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    4a53a35 View commit details
    Browse the repository at this point in the history
  9. vendor/xilinx: meta-xilinx-standalone-experimental: open-amp-xlnx: ve…

    …rsal: Rename TCM nodes
    
    Use labels that should be constant as provided in input Versal System Device
    Trees.
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    7b21efb View commit details
    Browse the repository at this point in the history
  10. v1] vendor/xilinx: meta-xilinx-standalone-experimental: open-amp-xlnx…

    …: versal: Update IPI Names
    
    RPU0 and APU IPI mapping changed in designs.
    Update mapping names in YAML to reflect that.
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b85e6b8 View commit details
    Browse the repository at this point in the history
  11. vendor/xilinx open-amp-xlnx: Update user define logic

    1. Pass ints to OECMAKE_C_FLAGS
    2. Pass string literals as appends to common header file
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    02266e8 View commit details
    Browse the repository at this point in the history
  12. vendor/xilinx: meta-xilinx-standalone-experimental: libmetal: Update …

    …DEPENDS
    
    1. Add scugic and xiltimer for all xilinx standalone distros
    3. remvoe scugic and xiltimer for microblaze
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    c983626 View commit details
    Browse the repository at this point in the history
  13. vendor/xilinx: meta-xilinx-standalone-experimental: open-amp-xlnx: Lo…

    …g Lopper-repo errors
    
    Show Lopper-related OpenAMP errors in logs to show up in build.
    
    Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b14cc96 View commit details
    Browse the repository at this point in the history
  14. open-amp-xlnx.inc: Remove plnx-deploy bbclass

    Building SDT images using core-image-full-cmdline target fails to parse
    errors.
    
    ERROR: ParseError at /scratch/sandeep/yocto/2024.1/yp-bc/sources/meta-openamp/vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc:5: Could not inherit file classes/plnx-deploy.bbclass
    ERROR: Parsing halted due to errors, see error messages above
    
    Hence remove plnx-deploy bbclass as this bbclass should be inherited
    only when meta-petalinux layer is included.
    
    Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    grsandeep85 authored and bentheredonethat committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    55dc240 View commit details
    Browse the repository at this point in the history