- After compiling on my laptop I moved the whole jailhouse directory to the TX1
- I manually inserted the kernel module with insmod driver/jailhouse.ko
- I also changed the firmware search path in /sys/module/firmware_class/parameters/path (pointing to the tools/jailhouse file.)
- After that I want to start jailhouse with 'tools/jailhouse enable configs/jetson-tx1.cell' but I always getting the error 'JAILHOUSE_ENABLE: No such file or directory'.
/dev/jailhouse also exists!
I do not know why this error occurs or why. It looks like failing in jailhouse.c enable function, that was the only place I found the string 'JAILHOUSE ENABLE'
Best regards!
root@tegra-ubuntu:~/linux-jailhouse-tx1# cat /sys/module/firmware_class/parameters/path
/home/ubuntu/linux-jailhouse-tx1/tools/jailhouse
So, yes its an absolute path.
Yes, you're right. I found this error
jailhouse: Missing hypervisor image jailhouse.bin
So the path must point to the jailhouse.bin file?
Hi Florian,
Il 21/giu/2017 17:14, "'florian' via Jailhouse" <jailho...@googlegroups.com> ha scritto:
>
> Hi,
> I want to run jailhouse on the TX1 (like I described you Ralf).
> Because we use the TX1 for several other projects I want to cross compile all the things (also the kernel, so kernel objects are available). I used the description of https://github.com/evidence/linux-jailhouse-tx1
Note that this tree is meant for the Linux kernel 3.10 shipped by Nvidia.
If you instead have a newer kernel (4.7+) you must use the mainline Jailhouse tree.
Best regards,
Claudio
>
> Besides that, I recommend to stick to the upstream repository, we're
> already some patches ahead, especially if you're using a kernel >4.7.
>
> There's a patch on top of the evidence repo that reverts some older
> patch for compatibility with kernels <4.7. Evidence sticks to a pretty
> old kernel version because they need official Nvidia binary blobs for
> graphics support that are only available for bloody old kernel versions.
>
> Ralf
I know about this. I try to use it with a 4.9 kernel. One step at a time (for me)