From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: buildroot@buildroot.org,
Ariel D'Alessandro <ariel@vanguardiasur.com.ar>,
giulio.benetti@benettiengineering.com,
Michael Trimarchi <michael@amarulasolutions.com>,
linux-amarula@amarulasolutions.com,
"Yann E . MORIN" <yann.morin.1998@free.fr>
Subject: Re: [Buildroot] [PATCH v9 1/2] configs/imx8mn_bsh_smm_s2_defconfig: new defconfig
Date: Sat, 28 Jan 2023 23:23:39 +0100 [thread overview]
Message-ID: <20230128232339.156536e9@windsurf> (raw)
In-Reply-To: <20230116215516.264468-2-dario.binacchi@amarulasolutions.com>
Hello Dario,
On Mon, 16 Jan 2023 22:55:15 +0100
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:
> BSH SMM S2 (SystemMaster S2) Board is an add-on board which provide
> input and output interfaces to a dedicated carrier board. It is designed
> mainly to provide graphical/video and connectivity interfaces to the
> appliance.
>
> Board support package includes the following components:
> - mainline Linux kernel 6.1.6
> - mainline U-Boot 2022-07
> - default packages from buildroot
>
> https://www.apertis.org/reference_hardware/imx8mn_bsh_smm_s2pro_setup/
> The smm s2 board is basically the same as the pro except it boots from
> NAND instead of eMMC.
>
> Co-authored-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> Changes in v9:
> - Bump Linux kernel to version 6.1.6.
> - Remove the Linux kernel patches because they have been merged into
> the used version.
Thanks, I've applied both patches. One interesting point to note is
about the kernel configuration. Your Buildroot defconfig says to use
the default ARM64 kernel configuration + apply a pretty huge fragment
to disable lots of things:
board/bsh/imx8mn-bsh-smm-s2/linux.fragment | 895 ++++++++++++++++++
So you have a 895 lines fragment to disable lots of stuff. I was
curious to see if this fragment was not *larger* than the actual
resulting kernel configuration, as a defconfig, and indeed it is:
$ wc -l output/build/linux-6.1.6/defconfig
816 output/build/linux-6.1.6/defconfig
And still reading this defconfig, it is pretty clear that lots of
options that are enabled are not relevant to your system, and could be
disabled, making the defconfig even smaller.
So overall, it looks like having a complete defconfig of your kernel
configuration would be smaller than a fragment that disables zillions
of things.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-01-28 22:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-16 21:55 [Buildroot] [PATCH v9 0/2] Add support for BSH smm s2 [pro] boards Dario Binacchi
2023-01-16 21:55 ` [Buildroot] [PATCH v9 1/2] configs/imx8mn_bsh_smm_s2_defconfig: new defconfig Dario Binacchi
2023-01-28 22:23 ` Thomas Petazzoni via buildroot [this message]
2023-01-29 16:53 ` Dario Binacchi
2023-01-16 21:55 ` [Buildroot] [PATCH v9 2/2] configs/imx8mn_bsh_smm_s2_pro_defconfig: " Dario Binacchi
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=20230128232339.156536e9@windsurf \
--to=buildroot@buildroot.org \
--cc=ariel@vanguardiasur.com.ar \
--cc=dario.binacchi@amarulasolutions.com \
--cc=giulio.benetti@benettiengineering.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=michael@amarulasolutions.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.