DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Michael Olbrich <m.olbrich@pengutronix.de>, distrokit@pengutronix.de
Cc: "Uwe Kleine-König" <ukl@pengutronix.de>,
	"Marc Kleine-Budde" <mkl@pengutronix.de>,
	"Lucas Stach" <l.stach@pengutronix.de>
Subject: Re: [DistroKit] [PATCH] platform-v8a: kernelconfig: cleanup
Date: Mon, 22 Jan 2024 16:01:36 +0100	[thread overview]
Message-ID: <cc492a5f-c939-4e43-88fb-9492cd456bd4@pengutronix.de> (raw)
In-Reply-To: <20240117135625.2863370-1-m.olbrich@pengutronix.de>

Hello,

On 17.01.24 14:56, Michael Olbrich wrote:
> -CONFIG_BLK_DEV_INITRD=y
> -CONFIG_INITRAMFS_SOURCE=""
> -# CONFIG_RD_GZIP is not set
> -# CONFIG_RD_BZIP2 is not set
> -# CONFIG_RD_LZMA is not set
> -# CONFIG_RD_XZ is not set
> -# CONFIG_RD_LZO is not set
> -# CONFIG_RD_LZ4 is not set
> -CONFIG_RD_ZSTD=y
> +# CONFIG_BLK_DEV_INITRD is not set

We want to keep CONFIG_BLK_DEV_INITRD, so DistroKit systems can easily
boot common distros like Debian that ship with an initramfs.

> -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
> +# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
>  # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
>  # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
>  # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
>  # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
> -# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
> +CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y

Why? The default can be changed later on, but using
performance as default allows for faster boot.

>  CONFIG_CMA=y
>  # CONFIG_CMA_DEBUG is not set
> -# CONFIG_CMA_DEBUGFS is not set
> +CONFIG_CMA_DEBUGFS=y

I never used this. What do we need this for given that we don't enable
graphic support?

> -CONFIG_NET_DSA=m
> -# CONFIG_NET_DSA_TAG_NONE is not set
> -# CONFIG_NET_DSA_TAG_AR9331 is not set
> -# CONFIG_NET_DSA_TAG_BRCM is not set
> -# CONFIG_NET_DSA_TAG_BRCM_LEGACY is not set
> -# CONFIG_NET_DSA_TAG_BRCM_PREPEND is not set
> -# CONFIG_NET_DSA_TAG_HELLCREEK is not set
> -# CONFIG_NET_DSA_TAG_GSWIP is not set
> -# CONFIG_NET_DSA_TAG_DSA is not set
> -# CONFIG_NET_DSA_TAG_EDSA is not set
> -# CONFIG_NET_DSA_TAG_MTK is not set
> -# CONFIG_NET_DSA_TAG_KSZ is not set
> -CONFIG_NET_DSA_TAG_OCELOT=m
> -CONFIG_NET_DSA_TAG_OCELOT_8021Q=m
> -# CONFIG_NET_DSA_TAG_QCA is not set
> -# CONFIG_NET_DSA_TAG_RTL4_A is not set
> -# CONFIG_NET_DSA_TAG_RTL8_4 is not set
> -# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set
> -# CONFIG_NET_DSA_TAG_LAN9303 is not set
> -# CONFIG_NET_DSA_TAG_SJA1105 is not set
> -# CONFIG_NET_DSA_TAG_TRAILER is not set
> -# CONFIG_NET_DSA_TAG_XRS700X is not set
> -CONFIG_VLAN_8021Q=m
> -CONFIG_VLAN_8021Q_GVRP=y
> -CONFIG_VLAN_8021Q_MVRP=y
> -CONFIG_LLC=m
> +# CONFIG_BRIDGE is not set
> +# CONFIG_NET_DSA is not set

The Espressobin has an on-board Ethernet switch, but it seems it was
not enabled before?

> -CONFIG_PCIE_ROCKCHIP=y
> -CONFIG_PCIE_ROCKCHIP_HOST=y
> -CONFIG_PCIE_ROCKCHIP_EP=y
> -CONFIG_PCI_XGENE=y
> -CONFIG_PCI_XGENE_MSI=y
> +# CONFIG_PCIE_ROCKCHIP_HOST is not set
> +# CONFIG_PCI_XGENE is not set

In case someone is wondering too: These are rk3399-specific. rk3568 PCI remains enabled.

The rest looks ok.

Cheers,
Ahmad

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




  parent reply	other threads:[~2024-01-22 15:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 13:56 Michael Olbrich
2024-01-19 16:24 ` Michael Olbrich
2024-01-22 15:01 ` Ahmad Fatoum [this message]
2024-01-22 15:57   ` Michael Olbrich
2024-01-25  8:48     ` Ahmad Fatoum
2024-01-25 10:38       ` Uwe Kleine-König
2024-01-25 10:43     ` Jan Lübbe
2024-01-25 10:57       ` Michael Olbrich
2024-01-22 16:08 ` Uwe Kleine-König

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=cc492a5f-c939-4e43-88fb-9492cd456bd4@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=m.olbrich@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