Am Wed, 21 Jun 2017 08:45:04 -0700 schrieb 'florian' via Jailhouse <[email protected]>:
> 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 > 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 need to write to /sys/module/firmware_class/parameters/path with "echo -n", no newline at the end. If that does not help copy or symlink the firmware image to /lib/firmware/ or just use "make install". Henning -- 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.
