From mboxrd@z Thu Jan 1 00:00:00 1970 References: From: Philippe Gerum Subject: Re: xenomai-4 on raspberry-pi-4 In-reply-to: Date: Thu, 19 Aug 2021 15:04:34 +0200 Message-ID: <87a6ldy49p.fsf@xenomai.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans Petersen Cc: xenomai@xenomai.org Hans Petersen via Xenomai writes: > Hi, everyone, > > I'm trying to get XENOMAI-4 to run on the Raspberry-PI-4. > > For this I downloaded the source files '*v5.10.y-evl-rebase*' and compiled > them with 'bcm2711_defconfig'. > > Unfortunately, the image does not work because many specific files, such as > the device tree and the broadcom drivers and serveral config-flags, are > missing in the source tree. > However, these are also missing in the mainline kernel. > Xenomai targets mainline kernels exclusively. > I can load a kernel version *'5.10.52*' from the *Raspbian repository*. > > *Now my question*: > > Is there a possibility to patch XENOMAI4 into the Raspbian sources, or any > other way to install a Xenomai-4 on the Raspberry-PI-4? > Unlike its predecessors, Xenomai 4 does not use the patch model, it is directly developed into the target kernel. FWIW, I have been running EVL based on the mainline kernel on the rpi4 for more than a year now (headless system though), and this is actually one of my workhorses for testing it. If you really need to run a vendor kernel, then you are pretty much on your own unfortunately; you might try to apply the 5.10.y..5.10.y-evl-rebase diff set to a Raspbian kernel based on the same mainline version. -- Philippe.