On 14.06.21 10:18, Moustafa Noufale wrote: > Hi Mr. Kiszka, > I spent the last two weeks trying to compile Jailhouse on Coral-Board [Linux > 4.14.98-imx aarch 64]. I have been
Historic 4.14... NXP ships much fresher downstream kernels by now... facing this error: > home/mendel/jailhouse/configs/arm64/dts/inmate-amd-seattle.dts:17:54: error: > no include path in which to search for > dt-bindings/interrupt-controller/arm-gic.h But that file was added in 3.10 to the kernel. It is part of their kernel as well (https://coral.googlesource.com/linux-imx/+/refs/heads/master/include/dt-bindings/interrupt-controller/arm-gic.h). > I followed a thread about OrangePi [1] and tried to provide absolute paths: > sudo make $KDIR=/usr/src/linux-headers-4.14.98-imx/include/linux/irqchip/ Wrong path, KDIR must point the kernel build dir (which might be the kernel source dir as well). Jan > I get no rule to make target 'modules' stop error. > > What I understand is that he kernel source tree binaries are not > appropriately built. (.dtb) > Then a comment from Mr. Ramsauer mentioned that the kernel must be patched in > the same thread[1]. So, I would like to ask, if you can give me any > recommendations? > Thanks in advance. > [1] https://groups.google.com/g/jailhouse-dev/c/pwYGLSX_2Rc/m/AhzdSz90AwAJ > > > -----Ursprüngliche Nachricht----- > Von: Jan Kiszka <[email protected]> > Gesendet: Montag, 31. Mai 2021 18:47 > An: Moustafa Noufale <[email protected]>; Jan Kiszka > <[email protected]>; Ralf Ramsauer <[email protected]>; > [email protected] > Betreff: Re: [EXT] AW: AW: Inquiry > > On 30.05.21 13:30, Moustafa Noufale wrote: >> Hi Mr. Kiszka, >>> To enable Jailhouse on the Coral board as well, you likely have three >>> options: >>> - ad-hoc compilation on the board, using their "Mendel Linux" (also >>> Debian) >>> - integrating Jailhouse into Mendel Linux >>> - defining a new target "Coral dev board" in jailhouse-images, >>> porting the integration from Mendel Linux over >> I have just got the Coral board and I think I would go with the first >> option. The planed workflow is: >> 1- duplicate imx8mm.c /imx8mm-inmate-demo.c/ imx8mm-linux-demo.c and edit it >> with the memory addresses in Coral Board, which is also using an imx8m. >> 2- compile jailhouse on the board. >> 3- insemod jailhouse and run. >> I am only asking, whether I am going in the right path. > > Sounds reasonable. Problems can lie in the details, but those you will only > find when trying things out. > > Jan > > -- > Siemens AG, T RDA IOT > Corporate Competence Center Embedded Linux > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- 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/345af092-2503-9ce8-0c09-cdd6e3e679dc%40siemens.com.
