From: Patrice CHOTARD <patrice.chotard@foss.st.com>
To: Arnd Bergmann <arnd@arndb.de>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Russell King <linux@armlinux.org.uk>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Petr Mladek <pmladek@suse.com>,
Yoann Congal <yoann.congal@smile.fr>
Cc: <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>, <soc@kernel.org>
Subject: Re: [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags in STM32 defconfig
Date: Mon, 6 Jan 2025 14:52:06 +0100 [thread overview]
Message-ID: <11c927b6-ebf8-4c02-9fdf-86303144b4aa@foss.st.com> (raw)
In-Reply-To: <c48b7e84-5287-4da0-84a0-7747581f49d0@app.fastmail.com>
On 12/20/24 18:06, Arnd Bergmann wrote:
> On Fri, Dec 20, 2024, at 13:55, patrice.chotard@foss.st.com wrote:
>> From: Patrice Chotard <patrice.chotard@foss.st.com>
>>
>> As stm32_defconfig is dedicated to STM32 MCUs, disable
>> CONFIG_COMMON_CLK_STM32MP flag which is only used by STM32 MPUs.
>>
>> Disable CONFIG_SUSPEND, CONFIG_ADVISE_SYSCALLS, CONFIG_IO_URING
>> CONFIG_POSIX_TIMERS, CONFIG_GCC_PLUGINS, it will reduce the kernel
>> image size for these platforms which embed a low amount of memory.
>>
>> Tested on STM32F746-DISCO board which embeds 8MB of memory.
>
> Out of curiosity, what is the smallest memory configuration that
> you see people using on stm32f7/h7 these days? I know we had
> configs that kind-of worked on 2MB in the past, but I assume there
> has been a lot of bloat since.
>
> Arnd
Hi Arnd
Currently, i have no idea about what is the smallest memory configuration on stm32f4/f7/h7
used by people using these SoCs. As you said, kernel Linux size is increasing version after version.
My goal was just to ensure that official ST boards are still booting a kernel Linux.
Patrice
next prev parent reply other threads:[~2025-01-06 13:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 12:55 [PATCH v2 0/4] ARM: config: stm32: Remove useless flags patrice.chotard
2024-12-20 12:55 ` [PATCH v2 1/4] ARM: configs: stm32: Remove FLASH_MEM_BASE and FLASH_SIZE in STM32 defconfig patrice.chotard
2024-12-20 12:55 ` [PATCH v2 2/4] ARM: configs: stm32: Clean " patrice.chotard
2024-12-20 12:55 ` [PATCH v2 3/4] ARM: configs: stm32: Remove CRYPTO in " patrice.chotard
2024-12-20 12:55 ` [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags " patrice.chotard
2024-12-20 17:06 ` Arnd Bergmann
2025-01-06 13:52 ` Patrice CHOTARD [this message]
2024-12-20 16:47 ` [PATCH v2 0/4] ARM: config: stm32: Remove useless flags Arnd Bergmann
2024-12-20 19:27 ` Olof Johansson
2025-01-06 13:58 ` Alexandre TORGUE
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=11c927b6-ebf8-4c02-9fdf-86303144b4aa@foss.st.com \
--to=patrice.chotard@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux@armlinux.org.uk \
--cc=mcoquelin.stm32@gmail.com \
--cc=pmladek@suse.com \
--cc=soc@kernel.org \
--cc=yoann.congal@smile.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®