Skip to content

Commit

Permalink
snippets:xen_dom0:boards:rpi_5: fix addresses for xen_dom0 config
Browse files Browse the repository at this point in the history
After enabling OPTEE some chunks of memory, allocating for Dom0 by Xen
was changed. These addresses are board specific and should be changed
manually after each configuration change for the board.

Signed-off-by: Oleksii Moisieiev <[email protected]>
  • Loading branch information
oleksiimoisieiev committed Jun 5, 2024
1 parent 0da0a01 commit 1e887d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snippets/xen_dom0/boards/rpi_5.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
* Xen passes actual values for setup in domain device tree, but Zephyr
* is not capable to parse and handle it in runtime.
*/
hypervisor: hypervisor@2800000 {
hypervisor: hypervisor@2000000 {
compatible = "xen,xen";
reg = <0x00 0x2800000 0x40000>, <0x00 0x2a00000 0x5400000>;
reg = <0x00 0x2000000 0x40000>, <0x00 0x2200000 0x5400000>;
interrupts = <GIC_PPI 0x0 IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
interrupt-parent = <&gic>;
status = "okay";
Expand All @@ -40,9 +40,9 @@
* Xen passes actual values for setup in domain device tree, but Zephyr
* is not capable to parse and handle it in runtime.
*/
sram0: memory@8000000 {
sram0: memory@10000000 {
compatible = "mmio-sram";
reg = <0x00 0x8000000 DT_SIZE_M(128)>;
reg = <0x00 0x10000000 DT_SIZE_M(128)>;
};
};

Expand Down

0 comments on commit 1e887d3

Please sign in to comment.