> >> Add root cell, inmate cell and Linux demo cell configuration files for >> NXP LS2088ARDB platform. >> >> Signed-off-by: Anda-Alexandra Dorneanu >> <[email protected]> >> --- >> configs/arm64/ls2088a-rdb-inmate-demo.c | 122 ++++++ >> configs/arm64/ls2088a-rdb-linux-demo.c | 141 ++++++ >> configs/arm64/ls2088a-rdb.c | 556 ++++++++++++++++++++++++ >> 3 files changed, 819 insertions(+) >> create mode 100644 configs/arm64/ls2088a-rdb-inmate-demo.c >> create mode 100644 configs/arm64/ls2088a-rdb-linux-demo.c >> create mode 100644 configs/arm64/ls2088a-rdb.c >> > >[...] > >> diff --git a/configs/arm64/ls2088a-rdb-linux-demo.c >> b/configs/arm64/ls2088a-rdb-linux-demo.c >> new file mode 100644 >> index 00000000..b8e583c0 >> --- /dev/null >> +++ b/configs/arm64/ls2088a-rdb-linux-demo.c >> @@ -0,0 +1,141 @@ >> +/* >> + * Configuration for LS2088ARDB - linux-demo >> + * >> + * Copyright 2021 NXP >> + * >> + * Authors: >> + * Anda-Alexandra Dorneanu <[email protected]> >> + * >> + * This work is licensed under the terms of the GNU GPL, version 2. >> +See >> + * the COPYING file in the top-level directory. >> + */ >> + >> +#include <jailhouse/types.h> >> +#include <jailhouse/cell-config.h> >> + >> +struct { >> + struct jailhouse_cell_desc cell; >> + __u64 cpus[1]; >> + struct jailhouse_memory mem_regions[13]; >> + struct jailhouse_irqchip irqchips[2]; >> + struct jailhouse_pci_device pci_devices[2]; } >> +__attribute__((packed)) config = { >> + .cell = { >> + .signature = JAILHOUSE_CELL_DESC_SIGNATURE, >> + .revision = JAILHOUSE_CONFIG_REVISION, >> + .name = "linux-inmate-demo", >> + .flags = JAILHOUSE_CELL_PASSIVE_COMMREG, >> + >> + .cpu_set_size = sizeof(config.cpus), >> + .num_memory_regions = ARRAY_SIZE(config.mem_regions), >> + .num_irqchips = ARRAY_SIZE(config.irqchips), >> + .num_pci_devices = ARRAY_SIZE(config.pci_devices), >> + .vpci_irq_base = 85 - 32, >> + }, >> + >> + .cpus = { >> + 0x2, > >One thing I missed: This overlaps with the inmate-demo, and we only assign a >single core for Linux here. Can we make this 0xc (core 2 & 3), like with the >other ls* configs? > >If it's ok, I'll fix this up in-tree (no need for v2 then). > >Jan > >-- >Siemens AG, T RDA IOT >Corporate Competence Center Embedded Linux
Yes, it is ok for me. Thank you! Anda -- 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/VI1PR04MB4719745D619F78DC62EAF8E8BABC9%40VI1PR04MB4719.eurprd04.prod.outlook.com.
