On 09.09.20 14:58, Jan-Marc Stranz wrote:
> I have good news.
> I now have a Linux system on an Intel NUC8I7 with IOMMU support!.
>
> The hardware check of Jalihouse works and I was able to create a
> configuration for the root cell with "jailhouse config create nuc8i7.c".
> (I've attached this configuration.)
> I inserted this cell configuration into the Yocto build system and the
> file "nuc8i7.cell" is created and installed under
> "/usr/share/jailhouse/cells".
>
> In order to start Jailhouse with "jailhouse enable nuc8i7.cell" I
> extended the Linux command line with:
> intel_iommu=off memmap=0x5200000$0x3a000000
>
> I took the entry "memmap = ..." from the generated configuration "nuc8i7.c".
>
> While re-booting the system it gets stuck with the following message:
> Kernel panic - System is deadlocked on memory
>
> The kernel parameter "memmap = ..." should actually work, because 82M
> of the following area is reserved:
>
> /* MemRegion: 00100000-39ffffff : System RAM */
> {
> .phys_start = 0x100000,
> .virt_start = 0x100000,
> .size = 0x39f00000,
> .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
> JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA,
> }
>
> What could I do?
>
Most probably, that "$" in the kernel command line is prematurely
resolved as "$0" or so and the resulting kernel command line is invalid.
Depending in how you inject the parameter, make sure quoting or escaping
("\$", or even more) is correctly done and validate the output of the
kernel.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--
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/0845ad7a-09a3-c366-91c3-b4f1b6725c56%40siemens.com.