From: "hongbo.wang" <[email protected]>
Signed-off-by: hongbo.wang <[email protected]>
---
configs/arm64/ls1043a-rdb-linux-demo.c | 57 +++++++++++++++++++++++---
1 file changed, 52 insertions(+), 5 deletions(-)
diff --git a/configs/arm64/ls1043a-rdb-linux-demo.c
b/configs/arm64/ls1043a-rdb-linux-demo.c
index afc10ede..89552b16 100644
--- a/configs/arm64/ls1043a-rdb-linux-demo.c
+++ b/configs/arm64/ls1043a-rdb-linux-demo.c
@@ -16,7 +16,7 @@
struct {
struct jailhouse_cell_desc cell;
__u64 cpus[1];
- struct jailhouse_memory mem_regions[16];
+ struct jailhouse_memory mem_regions[23];
struct jailhouse_irqchip irqchips[2];
struct jailhouse_pci_device pci_devices[2];
} __attribute__((packed)) config = {
@@ -86,6 +86,53 @@ struct {
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
JAILHOUSE_MEM_IO | JAILHOUSE_MEM_ROOTSHARED,
},
+ /* qman */ {
+ .phys_start = 0x01880000,
+ .virt_start = 0x01880000,
+ .size = 0x10000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
+ JAILHOUSE_MEM_IO,
+ },
+ /* bman */ {
+ .phys_start = 0x01890000,
+ .virt_start = 0x01890000,
+ .size = 0x10000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
+ JAILHOUSE_MEM_IO,
+ },
+ /* fman */ {
+ .phys_start = 0x01a00000,
+ .virt_start = 0x01a00000,
+ .size = 0x100000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
+ JAILHOUSE_MEM_IO,
+ },
+ /* qportals CE */ {
+ .phys_start = 0x500000000,
+ .virt_start = 0x500000000,
+ .size = 0x4000000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE,
+ },
+ /* qportals CI */ {
+ .phys_start = 0x504000000,
+ .virt_start = 0x504000000,
+ .size = 0x4000000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
+ JAILHOUSE_MEM_IO,
+ },
+ /* bportals CE */ {
+ .phys_start = 0x508000000,
+ .virt_start = 0x508000000,
+ .size = 0x4000000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE,
+ },
+ /* bportals CI */ {
+ .phys_start = 0x50c000000,
+ .virt_start = 0x50c000000,
+ .size = 0x4000000,
+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
+ JAILHOUSE_MEM_IO,
+ },
/* dcfg */ {
.phys_start = 0x01ee0000,
.virt_start = 0x01ee0000,
@@ -121,9 +168,9 @@ struct {
.address = 0x1410000,
.pin_base = 32,
.pin_bitmap = {
- 1 << (60 -32) | 1 << (61 - 32) |
+ 1 << (60 - 32) | 1 << (61 - 32) |
1 << (62 - 32) | 1 << (63 -32), /* vPCI
*/
- 0,
+ 1 << (44 + 32 - 64) | 1 << (45 + 32 - 64),
0,
0,
},
@@ -132,8 +179,8 @@ struct {
.address = 0x1410000,
.pin_base = 160,
.pin_bitmap = {
- 0,
- 0,
+ 1 << (132 + 32 - 160), /* 10G PHY */
+ 0xfffff000,
0,
0,
},
--
2.17.1
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/20210203065057.27914-2-hongbo.wang%40nxp.com.