On 06/21/2017 05:45 PM, 'florian' via Jailhouse wrote: > Am Mittwoch, 21. Juni 2017 17:39:14 UTC+2 schrieb Ralf Ramsauer: >> Hi, >> >> On 06/21/2017 05:14 PM, 'florian' via Jailhouse wrote: >>> 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 and from the main github >> page and did following: >>> >>> - 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.) >> Did you use an absolute path? >>> - 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'. >> Look at your kernel ring buffer (dmesg). I bet it's unable to locate the >> firmware for some reason. >> >> Ralf >>> >>> /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 That's the wrong path. You're pointing to the userspace tool and not to the hypervisor firmware binary, which is, in case of ARM and ARM64, located at hypervisor/jailhouse.bin .
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 > 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? > -- 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]. For more options, visit https://groups.google.com/d/optout.
