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

Conversation

bentheredonethat
Copy link
Collaborator

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

bentheredonethat and others added 14 commits April 8, 2024 17:44
…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>
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>
…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>
If this file doesn't exist, further operations will fail in non-obvious ways.

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
…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>
…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>
…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>
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>
…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>
…: 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>
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>
…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>
…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>
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>
@bentheredonethat
Copy link
Collaborator Author

ping @mhatle @wmamills for review

@mhatle
Copy link
Collaborator

mhatle commented Apr 23, 2024

I've been using this set now for a couple of weeks, and everything appears to be working. I'll have a follow up pull request to change the layer compatible to scarthgap and a few other minor things, but this set is fine with me.

@mhatle mhatle merged commit 78d538a into OpenAMP:master Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants