mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
docs: domain_support: Update the DT example
commit 3e2f573e70
("lib: utils: Disallow non-root domains from adding M-mode regions")
added access permission check in __fdt_parse_region(). With the
existing DT example in the doc OpenSBI won't boot anymore.
Let's update the DT example so that it can work out of the box.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -254,7 +254,7 @@ be done:
|
|||||||
tdomain: trusted-domain {
|
tdomain: trusted-domain {
|
||||||
compatible = "opensbi,domain,instance";
|
compatible = "opensbi,domain,instance";
|
||||||
possible-harts = <&cpu0>;
|
possible-harts = <&cpu0>;
|
||||||
regions = <&tmem 0x7>, <&tuart 0x7>;
|
regions = <&tmem 0x3f>, <&tuart 0x3f>;
|
||||||
boot-hart = <&cpu0>;
|
boot-hart = <&cpu0>;
|
||||||
next-arg1 = <0x0 0x0>;
|
next-arg1 = <0x0 0x0>;
|
||||||
next-addr = <0x0 0x80100000>;
|
next-addr = <0x0 0x80100000>;
|
||||||
@@ -265,7 +265,7 @@ be done:
|
|||||||
udomain: untrusted-domain {
|
udomain: untrusted-domain {
|
||||||
compatible = "opensbi,domain,instance";
|
compatible = "opensbi,domain,instance";
|
||||||
possible-harts = <&cpu1 &cpu2 &cpu3 &cpu4>;
|
possible-harts = <&cpu1 &cpu2 &cpu3 &cpu4>;
|
||||||
regions = <&tmem 0x0>, <&tuart 0x0>, <&allmem 0x7>;
|
regions = <&tmem 0x0>, <&tuart 0x0>, <&allmem 0x3f>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user