-
Notifications
You must be signed in to change notification settings - Fork 7.4k
boards: avnet: add avnet zuboard 1cg #90920
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
base: main
Are you sure you want to change the base?
boards: avnet: add avnet zuboard 1cg #90920
Conversation
Hello @singular0770, and thank you very much for your first pull request to the Zephyr project! |
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=100000000 | ||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 |
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.
should be set in soc Kconfig using dts functions
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.
You think this should be set in the ZynqMP SOC defconfig (soc/xlnx/zynqmp/Kconfig.soc
)? I'd like to keep scope of this PR to just this board as there's a lot of work going on from AMD right now to better support their platform. Last time the ZynqMP value changed was 35ca8c9 where it was significantly slowed down for the QEMU R5.
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.
there should be a dts device that specifies the cycles per second, and that should be read/set by the soc Kconfig.defconfig file, the ticks per second can be set there too. Neither should be set in a board defconfig file
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.
Can you take a look now? I updated the ZynqMP Kconfig.defconfig
to use dt_node_int_prop_int
to retrieve the clock-frequency
parameter of the selected triple-timer counter as CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
.
30a0b50
to
86e603b
Compare
Add board definition for the Avnet ZUBoarcd 1CG development board. This board is based on the Zynq Ultrascale+ MPSoC. As with other boards based on this platform, currently only the first R5 core is supported. Signed-off-by: Michael Estes <[email protected]>
86e603b
to
e95f076
Compare
|
Adds initial support for the Avnet ZUBoard 1CG based on the AMD Zynq Ultrascale+ MPSoC. As with other boards in this family, support is currently limited to the first Cortex-R5 and does not support the Cortex A53 cores, second cortex R5, or dual core lockstep on the R5s. This board port is based on the AMD Kria KV260 starter kit, with the deviation that a new sram1 region is defined which matches the rproc_0_reserved memory region in the zynqmp_openamp.dtsi file in Linux so more memory is available to Zephyr than just the ATCM and the app can be run via remoteproc from Linux.