-
Notifications
You must be signed in to change notification settings - Fork 7
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
boards/rpi_5: add rpi_5_scmi.overlay #37
base: rpi5_dom0_dev
Are you sure you want to change the base?
boards/rpi_5: add rpi_5_scmi.overlay #37
Conversation
#address-cells = <2>; | ||
#size-cells = <1>; | ||
|
||
sram0: memory@30000000 { |
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.
I am wondering: should you describe the SCM/SCP here as well? I.e. provide shared memory for SCMI, add scmi node, etc
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.
Our solution for Zephyr was not accepted. So current idea is to make Dom0 work without scmi - it should work the same way as before, without SCMI. So this patch just fixes the boot. The overlay can be extended later for SCMI.
Upstream PR for Zephyr SCMI is here zephyrproject-rtos/zephyr#78293
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.
Ah, got it. Thanks
Acked-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Add rpi_5_scmi.overlay which allows to build and run zephyr-dom0-xt application when ARM SCMI is enabled. The RAM layout is changed when ARM SCMI is enabled and Xen loads zephyr-dom0-xt app at different address 0x30000000, so rpi_5_scmi.overlay allows to cover this case. Also, in the future, it can be extended with DT SCMI nodes. The EXTRA_DTC_OVERLAY_FILE can be used to apply rpi_5_scmi.overlay. Build: west build -b rpi_5 -p always zephyr-dom0-xt -- \ -DEXTRA_DTC_OVERLAY_FILE=boards/rpi_5_scmi.overlay Signed-off-by: Grygorii Strashko <grygorii_strashko@epam.com> Acked-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
1aa280b
to
8776adf
Compare
Add rpi_5_scmi.overlay which allows to build and run zephyr-dom0-xt application when ARM SCMI is enabled.
The RAM layout is changed when ARM SCMI is enabled and Xen loads zephyr-dom0-xt app at different address 0x30000000, so rpi_5_scmi.overlay allows to cover this case. Also, in the future, it can be extended with DT SCMI nodes.
The EXTRA_DTC_OVERLAY_FILE can be used to apply rpi_5_scmi.overlay.
Build:
west build -b rpi_5 -p always zephyr-dom0-xt --
-DEXTRA_DTC_OVERLAY_FILE=boards/rpi_5_scmi.overlay
The EXTRA_DTC_OVERLAY_FILE can be added in rpi5.yaml.