I'm trying to run jailhouse on Jetson tx2 kit. I downloaded the jailhouse 
and compiled it and run the command 

=>sudo insmod Downloads/linux-jailhouse-jetson/driver/jailhouse.ko 

// there is no error message in terminal console

but it gives following output on the serial console:

tx2@tx2-desktop:~$ [  129.954491] jailhouse: loading out-of-tree module 
taints kernel.

After this I tried to enable jailhouse through this command

=>sudo jailhouse enable Downloads/linux-jetson/configs/arm64/jetson-tx2.cell
// terminal displays: JAILHOUSE_ENABLE: Invalid argument 

//and on the terminal console it displays:

[  333.421533] jailhouse: mem_region_request failed for hypervisor memory 
mem_region_request failed for hypervisor memory mem_region_request failed 
for hypervisor memory mem_region_request failed for hypervisor memory.
[  333.428303] jailhouse: Did you reserve the memory with "memmap=" or 
"mem="?

I have changed /boot/extlinux/extlinux.conf file as follows:
TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      APPEND ${cbootargs} quiet
*mem=7808M vmalloc=512M*
# When testing a custom kernel, it is recommended that you create a backup 
of
# the original kernel and add a new entry to this file so that the device 
can
# fallback to the original kernel. To do this:
#
# 1, Make a backup of the original kernel
#      sudo cp /boot/Image /boot/Image.backup
#
# 2, Copy your custom kernel into /boot/Image
#
# 3, Uncomment below menu setting lines for the original kernel
#
# 4, Reboot

# LABEL backup
#    MENU LABEL backup kernel
#    LINUX /boot/Image.backup
#    INITRD /boot/initrd
#    APPEND ${cbootargs}

but this change is not working. So what's the wrong in this extlinux.conf 
file as boot up is ignoring *mem=7808M vmalloc=512M *this statement.
Please help me through this error.
Thank you

-- 
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/aef00f02-8d3b-4916-aace-f30233559859%40googlegroups.com.

Reply via email to