-
Notifications
You must be signed in to change notification settings - Fork 171
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
cmake: platforms: xlnx: Update machine from 'zynqmp_' to 'xlnx_' #305
base: main
Are you sure you want to change the base?
cmake: platforms: xlnx: Update machine from 'zynqmp_' to 'xlnx_' #305
Conversation
b15c31d
to
9c7ba51
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to go.
@@ -1,5 +1,5 @@ | |||
set (CMAKE_SYSTEM_PROCESSOR "aarch64" CACHE STRING "") | |||
set (MACHINE "zynqmp_a53" CACHE STRING "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep the alignement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After addressing this comment it's good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but still not aligned
@@ -1,5 +1,5 @@ | |||
set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") | |||
set (MACHINE "zynqmp_r5" CACHE STRING "") | |||
set (MACHINE "xlnx_r5" CACHE STRING "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@@ -1,5 +1,5 @@ | |||
set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") | |||
set (MACHINE "zynqmp_r5" CACHE STRING "") | |||
set (MACHINE "xlnx_r5" CACHE STRING "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@@ -1,5 +1,5 @@ | |||
set (CMAKE_SYSTEM_PROCESSOR "aarch64" CACHE STRING "") | |||
set (MACHINE "zynqmp_a53" CACHE STRING "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but still not aligned
@@ -1,5 +1,5 @@ | |||
set (CMAKE_SYSTEM_PROCESSOR "aarch64" CACHE STRING "") | |||
set (MACHINE "zynqmp_a53" CACHE STRING "") | |||
set (MACHINE "xlnx_a53" CACHE STRING "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@bentheredonethat could you address the comment that we merge it for this release ( code freeze tomorrow evening)? |
He is on vacation right now. I am not sure if I can push changes in this PR. I will find a way if it's possible, I will do it. |
As discussed in RP call, this will be merged after release. CC: @arnopo, @bentheredonethat |
9c7ba51
to
c97dab1
Compare
@xiaoxiang781216 @arnopo updted with alignment |
Add IPI uio based API implementation. Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
Add IPI mailbox IPI implementation with the remoteproc kick sysfs API. Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
Change to use IPI common API so that it can swtich from IPI uio implementaion or IPI rproc sysfs implementation. Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Previously, TTC and IPI variables within libmetal demo for linux were hardcoded for zynqmp SoC. Now TTC and IPI are set based on whether target is zynqmp or versal. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Previously, TTC and IPI variables within libmetal demo for baremetal were hardcoded for zynqmp SoC. Now TTC and IPI are set based on whether target is zynqmp or versal. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Previously, TTC and IPI variables within libmetal demo for FreeRTOS were hardcoded for zynqmp SoC. Now TTC and IPI are set based on whether target is zynqmp or versal. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com>
Correct integer arithmetic errors in computing average latency. Collect and show min, max latency in addition to the average. Use floating point to compute and show throughput. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Acked-by: ben Levinsky <ben.levinsky@xilinx.com>
Add an option to set METAL_LOG_DEBUG from the command line. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Acked-for-series: Tanmay Shah <tanmay.shah@xilinx.com>
Update and keep the original ML_ERR, ML_INFO, ML_DBG. Revert this commit when the OpenAMP code is converted to use the new metal_*() macros. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
Set WITH_FUNC_LINE_LOG to ON to match the original function, line number prefix in ML_ERR, ML_INFO, ML_DBG macros. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
Add test to ensure that a linux device with multiple IO regions has each made accessible for both Read and Write and that each has IO regions created. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Acked-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com>
… Flow When building with freertos demo in System Device Tree (SDT) workflow, the application fails to build because it is set to extern. This symbol is not found in the SDT BSP. Match generic Libmetal AMP Demo and set this symbol to static to fix compilation issue. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> tanmay.shah@amd.com
There is compilation error of the Linux ZynqMP AMP Demo in shmem_throughput_demo.c due to the MB definition being re-defined. The MB symbol is provided in lib/utilities.h as part of commit 7643dda ("lib: utilities: Match upstream for MB/GB macros") Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
Enable Libmetal AMP Demo build for ZynqMP, Versal and Versal NET SOC's by: 1. Enable CMake build to pass in linker flags. This will enable Xilinx-AMD System Device Tree Flow BSP-based tooling to pass required linker flags 2. Enable System Device Flow compliant linker script where many sections are placed in DDR for space and entry point provided by BSP is _vector_table instead of _boot 3. Ensure symbols are present for both classic and System Device Flow flow for each of the above SOC's. Also improve readability by moving symbol definitions to common.h Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-for-series: Sergei Korneichuk <sergei.korneichuk@amd.com>
…resent Currently the file bspconfig.h file is used to determine if System Device Tree workflow is being used. Instead change condition to be if SDT is in CMAKE_C_FLAGS variable. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
Ensure that Versal-NET IPI values are present for Libmetal AMP Demo on Linux platform. As part of this, also copy convention in zynqmp_r5 area and move values to common.h Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
Base address is ff3600000. Remove extra zero. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Tanmay Shah <tanmay.shah@amd.com>
Enable application values for Linux platform to be overwritten via CMake Configure step. Also ZynqMP Bitmask is incorrect. Make sure it properly kicks RPU0. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Tanmay Shah <tanmay.shah@amd.com>
…nt in SDT flow As in SDT Workflow for Rigel there can be template application in BSP for Libmetal, let Rigel manage the dependency for template application in that case. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Tanmay Shah <tanmay.shah@amd.com>
Push required linking libs to CMake so that surrounding tooling does not have to manage pushing these in. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Reviewed-by: Tanmay Shah <tanmay.shah@amd.com>
…m Device Flow flow Port changes in 38d2939 to FreeRTOS demo Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Acked-by: Rajiv Mohan <rajiv.mohan@amd.com>
Enable CMake tooling to designate output ELF name for FreeRTOS and Standalone targets. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Reviewed-by: Tanmay Shah <tanmay.shah@amd.com> Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
@bentheredonethat could you rebase on main please? @tnmysh could you review it that I merge it, please? |
Match update so that the cmake platform files are coupled to vendor and not SOC which is previously 'zynqmp_'. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
c97dab1
to
9dbceb6
Compare
@arnopo rebased |
|
Match update so that the cmake platform files are coupled to vendor and not SOC which is previously 'zynqmp_'.