On 26.07.19 21:04, João Reis wrote:
> The kernel and initramfs are splitted. I don't know how does the decompression
> factor works, because the kernel image is already decompressed. In this 
> context
> what value must i place on kernel decomposition factor?
>

On ARM, the kernel is always compressed. It decompresses itself on startup, and
for that it needs some extra space. We estimate that by taking the kernel image
size 4 times and add that as decompression space after the kernel image. The
initramfs is placed after that.

However, the placement logic in jailhouse-cell-linux is simplistic: It only
searches for a single region that can hold both kernel image, kernel
decompression space, dtb and initramfs together. Spreading those over multiple
regions like you created is not supported. You could either rearrange your
regions to form one (if you do not depend on DMA in the second Linux cell, you
can use virt!=phys memory regions as well), reduce the size of your initramfs or
use nfs as filesystem for the second Linux.

Jan

-- 
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/19e76b74-6d6e-010d-952a-5a36e606091b%40web.de.

Reply via email to