From: Alexander Dahl <ada@thorsis.com>
To: Michael Tretter <m.tretter@pengutronix.de>
Cc: "Marc Kleine-Budde" <mkl@pengutronix.de>,
"Michael Olbrich" <m.olbrich@pengutronix.de>,
distrokit@pengutronix.de, "Uwe Kleine-König" <ukl@pengutronix.de>,
"Lucas Stach" <l.stach@pengutronix.de>
Subject: Re: [DistroKit] [PATCH v2] platform-v8a: kernelconfig: cleanup
Date: Thu, 25 Jan 2024 16:30:37 +0100 [thread overview]
Message-ID: <20240125-93ea0e34689998dec1d2321b@ifak-system.com> (raw)
In-Reply-To: <20240125152547.GA422181@pengutronix.de>
Hei hei,
Am Thu, Jan 25, 2024 at 04:25:47PM +0100 schrieb Michael Tretter:
> On Thu, 25 Jan 2024 09:42:53 +0100, Michael Olbrich wrote:
> > This is the result of a review of the whole kernel config.
> > The options have been selected by the following rules:
> >
> > In general, the kernel config is optimized to keep the kernel small. So
> > any features that are not used at all are disabled. This includes things
> > like extra scheduling governors that require explicit configuration to
> > be used.
> >
> > All drivers that are not used by the boards configured in DistroKit are
> > now disabled.
> >
> > If there was no other strong preference then the value from the
> > defconfig was used.
> >
> > Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> > Cc: Lucas Stach <l.stach@pengutronix.de>
> > Cc: Marc Kleine-Budde <mkl@pengutronix.de>
> > ---
> >
> > Changes in v2:
> > - reenabled CONFIG_BLK_DEV_INITRD as requested by Ahmad
> > - enabled CONFIG_CRYPTO_DEV_SAFEXCEL with its dependencies. It's the
> > only driver from Uwes list that was not already enable.
> >
> > configs/platform-v8a/kernelconfig | 2249 +++++------------------------
> > 1 file changed, 357 insertions(+), 1892 deletions(-)
> >
> > diff --git a/configs/platform-v8a/kernelconfig b/configs/platform-v8a/kernelconfig
> > index a37fd1e62a26..8dd0a0ceb7ee 100644
> > --- a/configs/platform-v8a/kernelconfig
> > +++ b/configs/platform-v8a/kernelconfig
> [...]
> > @@ -3220,29 +2490,26 @@ CONFIG_GPIOLIB=y
> > CONFIG_GPIOLIB_FASTPATH_LIMIT=512
> > CONFIG_OF_GPIO=y
> > CONFIG_GPIOLIB_IRQCHIP=y
> > -CONFIG_OF_GPIO_MM_GPIOCHIP=y
> > # CONFIG_DEBUG_GPIO is not set
> > # CONFIG_GPIO_SYSFS is not set
> > CONFIG_GPIO_CDEV=y
> > -CONFIG_GPIO_CDEV_V1=y
> > +# CONFIG_GPIO_CDEV_V1 is not set
>
> Disabling CONFIG_GPIO_CDEV_V1 breaks compatibility with libgpiod < 2.0. As
> PTXdist currently has libgpiod 1.6.3, trying to use the gpio tools with this
> configuration won't work. The kernel also enables CDEV_V1 by default. Given
> that libgpiod is disabled in DistroKit, I am not sure how relevant this is.
We use DistroKit as a base layer and in our higher layers we do use the
libgpiod command line tools as well as the library itself. It is no
big deal because we of course have an adapted kernelconfig anyways,
but maybe it is nice to know for you?
Greets
Alex
next prev parent reply other threads:[~2024-01-25 15:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 8:42 Michael Olbrich
2024-01-25 15:25 ` Michael Tretter
2024-01-25 15:30 ` Alexander Dahl [this message]
2024-01-25 16:06 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240125-93ea0e34689998dec1d2321b@ifak-system.com \
--to=ada@thorsis.com \
--cc=distrokit@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=m.olbrich@pengutronix.de \
--cc=m.tretter@pengutronix.de \
--cc=mkl@pengutronix.de \
--cc=ukl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox