Dear Henning,

Thanks a lot for your help. It worked with insmod. Now I can do *modprobe
jailhouse*, but then, when I do* jailhouse enable /boot/zynqmp-zcu102.cell*
I get this message:* -sh: jailhouse: command not found*. Is there another
step I have to do before, or do you know how I could fix this?

Thank you very much,
Sara

El vie, 29 jul 2022 a las 12:44, Henning Schild (<[email protected]>)
escribió:

> Am Fri, 29 Jul 2022 11:33:32 +0200
> schrieb Sara Alonso <[email protected]>:
>
> > Hi!
> >
> > I am trying to run jailhouse in a zcu102 board following this
> > tutorial:
> >
> https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-zynqmp-zcu102.md
> > But I am new at this and I have some troubles.
> >
> > I have built the petalinux-project and also jailhouse.  I have copied
> > into the SD: the image.ub, BOOT.BIN, system.dtb, inmate-zynqmp.dtb,
> > zynqmp-zcu102.cell and zynqmp-zcu102-inmate-demo.cell in the BOOT
> > partition and the rootfs.cpio + the lib and usr files installed when
> > jailhouse is compiled in the ROOT partition. I don't know if
> > something else is required or if something is not needed.
> >
> > The project is running, but if I do "modprobe jailhouse" it says:
> > modprobe: module jailhouse not found in modules.dep
> > I think I have followed all the steps of the tutorial. What could be
> > happening?
>
> Jailhouse uses a kernel module which you have to copy as well. Double
> check that you did. It should be called jailhouse.ko and end up
> somewhere in /lib/modules/<kernel>/extra or something. For "modprobe"
> to work you might have to run "depmod -a" first, otherwise you can also
> "insmod /lib/.../jailhouse.ko" and load it by file instead of by name.
>
> regards,
> Henning
>
> > Thank you very much,
> > Sara
> >
>
>

-- 
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/CACD6wFMHN3rqW0sEAAtQMW7ha81Sj20CeLXyGayA5oGR-CJFOA%40mail.gmail.com.

Reply via email to