* Building custom kernel
@ 2018-05-03 10:44 Francesco
2018-05-03 10:56 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Francesco @ 2018-05-03 10:44 UTC (permalink / raw)
To: isar-users
Hello Everyone,
I'm trying to write a recipe to build a custom kernel for my board but
I'm a bit confused on the approach I should use. To help be get started
I followed these slides,
http://events17.linuxfoundation.org/sites/events/files/slides/ELC-2017-isar.pdf
Unfortunately this configuration raised some errors related to the
dpkg.bbclass. After some digging around, I noticed that there is a
branch named custom-kernel in you git repo. In this branch the
dpkg.bbclass is different from the master one.
Which approach should I use if I want to build a custom kernel from the
sources?
Thanks
Frank.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building custom kernel
2018-05-03 10:44 Building custom kernel Francesco
@ 2018-05-03 10:56 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2018-05-03 10:56 UTC (permalink / raw)
To: isar-users
On 2018-05-03 12:44, Francesco wrote:
> Hello Everyone,
>
> I'm trying to write a recipe to build a custom kernel for my board but
> I'm a bit confused on the approach I should use. To help be get started
> I followed these slides,
> http://events17.linuxfoundation.org/sites/events/files/slides/ELC-2017-isar.pdf
>
That's outdated by now, though the parts of the concept made it into
mainline.
>
> Unfortunately this configuration raised some errors related to the
> dpkg.bbclass. After some digging around, I noticed that there is a
> branch named custom-kernel in you git repo. In this branch the
> dpkg.bbclass is different from the master one.
>
> Which approach should I use if I want to build a custom kernel from the
> sources?
Look at meta-isar/recipes-kernel/linux/*. Both recipes, together with
the defconfig in files/, generate working kernels according to the
official pattern. Another working example can be found at
https://github.com/siemens/jailhouse-images/tree/next/recipes-kernel/linux.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-03 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 10:44 Building custom kernel Francesco
2018-05-03 10:56 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox