Hello,

Thank you all for the guidance.

Στις Παρ, 4 Ιουν 2021 στις 4:44 μ.μ., ο/η Jan Kiszka <[email protected]>
έγραψε:

> On 04.06.21 15:32, Ralf Ramsauer wrote:
> > Hi Nikoleta,
> >
> > On 04/06/2021 12:24, Nikoleta Markela Iliakopoulou wrote:
> >> Dear all,
> >>
> >> I am student in ECE NTUA and I am studying Jailhouse for my diploma
> >> thesis. So far I managed to install and run jailhouse in virtual
> >> environment (QEMU) in x86 and use ready-to-use jailhouse images for virt
> >> environment for both x86 and arm architecture. Now I am assigned to
> >> install it on rpi4 board.
> >>
> >> I know there is this repo https://github.com/siemens/jailhouse-images
> >> with ready to use image for rpi4, but I would like to install it
> >> manually to explore better all the options provided, write some code on
> >> my own and test it.
> >>
> >> I have already explored the internet and this google group for further
> >> information, and apart from some general guidance, I didnt find anything
> >> specific/(or maybe I coudn't understand some key points).
> >>
> >>
> >> I would really appreciate it if someone could give me some
> >> advice/guidance on this subject.
> >
> > It's basically just a few steps:
> >   - Take the distro of your choice
> >   - Clone Jailhouse
> >   - Clone Jan's Linux/Jailhouse tree [1]
>
I'm trying to build (cross-compile with gcc-linaro-7.5.0-2019.12 ) and
install the jailhouse-enabling linux-5.10 from
https://github.com/siemens/linux/tree/jailhouse-enabling/5.10 .


> >   - Build & boot your own kernel (you can refer to the config in
> >     jailhouse-images)
>
So, regarding the configuration I found this file :
https://github.com/siemens/jailhouse-images/blob/master/recipes-kernel/linux/files/arm64_defconfig_5.10
.
I copied the file to .config and ran : make oldconfig because it was the
only way for the config options to get accepted. Then I am asked for other
general config options as well, which I put at random.

Am I doing something wrong here?

After that I built the kernel and transferred the Image to the raspberrypi4
made the necessary adjustments in config.txt (kernel=newkernel.img) and ran
sudo reboot.

It doesn't boot at all..

>   - Build and run Jailhouse
> >
>
> In addition on this target:
>
>  - adjust the boot process to use TF-A
>
I managed to do that as well.

>  - inject memory reservation as DT overlay
>
I thought of compiling the latest jailhouse.dts and aliases.dts files as
long as I boot the new kernel.

>
> Finding the right combination of versions yourself can be very tedious
> (I've already spent many hours on this, again and again). So it is best
> to follow what jailhouse-images does - or, even better, build your
> customizations on top.
>
> Jan
>
> --
> Siemens AG, T RDA IOT
> Corporate Competence Center Embedded Linux
>

Any comment on this is greatly appreciated.

Thanks again in advance.

Nikoleta

-- 
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/CAMPOHCnrnzQCiruXMCpoUzoq1t5-UgyyonGfXAwmCRiHvjeMtg%40mail.gmail.com.

Reply via email to