| Message ID | 20260721184249.1579381-3-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers | show
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBOH373JAMGQEJU4HHJA@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com
[209.85.128.71])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C3DC1435FB
for <linux-amarula@patchwork.amarulasolutions.com>;
Tue, 21 Jul 2026 20:43:05 +0200 (CEST)
Received: by mail-wm1-f71.google.com with SMTP id
5b1f17b1804b1-4955d314945sf16935655e9.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Tue, 21 Jul 2026 11:43:05 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1784659385; cv=pass;
d=google.com; s=arc-20260327;
b=NJwUvuXMTDop0rBAh2H+px0p0g5WhPgdVwfimhHeLnw7IMaeJmH8bBPDOSfjUwVtku
b/3w/U7Zq8VyCTmkxw1e8KEp4vs3kKe9QbMASUhupziglKjyS3+Tf+PXrdqbVVrh6X7D
MjyPHFpC3No0IoU9Z2V/0KtaSBZOi3qRthiNSm7+dOVfATaRUjUWwu3lef7WofEn+JlK
SL+7N+zcg7xs06pqt/VO0rqcXwLUQQaqT6SF+mEzBqDDiVSh1DnRf7FwgHUTpetqLvt/
1dRBsiI9anyOD53QJNb9/LSO2CEchVW9Dg0Gn7l341qkvYMk6geEzro235kE5c0kSXJ1
nEsw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=BxxNwjJBYi4NDGirQkBlnBZNRIdq7KZD6REIyqQ1fVc=;
fh=szui0SIpPbjCylQHEtFznPcTnwfqlxUFxXoOTMWiRsM=;
b=bAI/KMyarxfiw1YiZRIhg+cdFQQgE4x8h+cHlXF2hWOpknwFgRNVmCyTR8HIV4EVfl
37IIF2q3caiHtFx6UXM3rqz+Ve0s8oCdtiUD+KD9UK4/Ra7+UJyp0uHA3GYlnHkBaMBR
HW/juf/SV2kdV3R3FGWky/ug8RhOQfs/01WssFDu0MIQjWshIhXQcUWNzI4OObhSLFey
F1f5GvaUAIJPx0f6FX6JogL8gYlHNLKxcEHhRoQi3i17kMWxTMaK7+OV5YSfIO8k7nvc
3m6i2ep+iQTOOQh8qsKZt+Ve7mwL6Rqf1d+bYhn2g/LK3FUuwHQmRvufOfWhp5eUQcq3
y2LA==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=o2lqvJg8;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1784659385; x=1785264185;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:content-type
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from:from:to
:cc:subject:date:message-id:reply-to:content-type;
bh=BxxNwjJBYi4NDGirQkBlnBZNRIdq7KZD6REIyqQ1fVc=;
b=UoxX/dlvittyfkiJxbxlxVOlJ9EiBdQdZCxRb41wgV9M5eUb9YqH2X5LSA5Gk5xY5b
ncVHny4o8qlyFQWEJAoE9fBwAf7JLugXtuXBQmujr73w66tIPBUDF8yRk45X/o1JRjgX
2Rmgj2rjeLhmUrqpP1UIIYzgeTUFB1oZRHFqk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1784659385; x=1785264185;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:content-type:x-original-authentication-results:x-original-sender
:mime-version:references:in-reply-to:message-id:date:subject:cc:to
:from:x-gm-gg:x-beenthere:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=BxxNwjJBYi4NDGirQkBlnBZNRIdq7KZD6REIyqQ1fVc=;
b=Ia2thLYsW1Bhqe++9XIhAr8nX9tVrmr2a7E8YtG6uPCp1Ijs6hwr5uSSUwui2sbkbL
ia32K6HVl28dwfBLcl4TeAsZpxroDhlEqBUAkO3UAkAPsRbHAuYEK/0w31G2plXXrsws
JxsOtsKcO80iDyNm3nNdxPKRLHjVHLbOTchGo5BAswgPBaCsV/MXIx+oTCOJUHou/o+G
Ij9NnqHcCxA5g7khvvHBMdCQ+RmQpjVrx+tx+gtQUFBZZoODz5fiJlIWjNSOTZp/goGB
6/PRGX/896WhZSuqn5URGdp7UBZRYy1wUo0rfW4uRAVUn/TGeK8ojWfFlZpO2Ra7Qjxw
H3IQ==
X-Forwarded-Encrypted: i=2;
AHgh+RqajPJjog8IBL9xBMyDwlbH74ckiw+KtpmQkStsaiS6JYxjkDGFYvxTP6sQeiWRneurfPbJ9GcdET9tt1pD@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YyTSgl6QYNDWyssXG1CISxLqhsVNR0hJ0/FSu2duXkiY/a81Nv/
5fdhQHKKU/qktP8DYUmoH5t8Lff2dRleNaYfAzBU8fjAtrepYT5GwkAJXS74VMWbhU0fEw==
X-Received: by 2002:a05:600c:1382:b0:495:49da:e15a with SMTP id
5b1f17b1804b1-4954a40d1d4mr217318835e9.30.1784659385390;
Tue, 21 Jul 2026 11:43:05 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="Aa7YSPQy101uixCewA/uPwcXIaxT7w3AVko8CCeqcilg8d1Dag=="
Received: by 2002:a05:600c:3ba0:b0:495:6193:c6cc with SMTP id
5b1f17b1804b1-49563e4568cls16430385e9.1.-pod-prod-06-eu; Tue, 21 Jul 2026
11:43:04 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AHgh+RqR2ZWW/WrSpCw367euXZ2xt/FMJ9BVyAwc6rsRljOoFP2r92vXmx/oZl+EpF4W2NU86lp3DI50vtHCBYjH@amarulasolutions.com
X-Received: by 2002:a05:600c:3b91:b0:495:4c62:9d43 with SMTP id
5b1f17b1804b1-4954c629e5emr261852735e9.34.1784659383683;
Tue, 21 Jul 2026 11:43:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1784659383; cv=none;
d=google.com; s=arc-20260327;
b=mWok7FLTKp9fYkl5WcU6S/8sijpD7YLkH6cNcW5Fg88Wpk4w2U0Xqzj74wk4PpIBw2
FBkGrrDHiHRkKHdTl3SxcJXK9Q+k19kpRXYYydfRVh42B5gC/uk545NnWqaisx/AHST4
wBFYmIgTckhQUflExKPiRIrxZwxU1Rg6wNV+l6c4b7K1KcQrGefSvxs6SMsO00g7D25H
aWuQF6u0XH/UCMOcsUxIYD/oBRLnMkUkIaa8IqK60+jVagaloc1lTH64YnS7Vjh61nRf
sL5GDslJ1bprq1luhE5Fp3a0l2WCpm+Kjs82saI2vsmf9j51+tofpH3gBFfVtM61AzGp
3E2Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=CMIlA6I2rGPIos0ZPa3jipUbg/uwnCCKnC1pMOd3rcE=;
fh=u3kc4ryaTGbH75WnvuBv89gWoEfDoj4RW2qWowvEBcY=;
b=k28ThZCR2mAcrmPfGDGE9J6DlyvJGnrPpuz8VfRFjkFvUic4mbpfudMEhN3UE+/QUk
STpA6hurn8V/mt7QpxwhV+EspI710JXd8VlUxbsyP36zhGHzj58ywHDHXVIe9uOz+Gip
wO/vtbNMOhjQ1vW/wI20x94dq7O9VndNku4Tdybj9Zok9YXeR5o2xPbyE7d5iVbYkXj5
pwQgaMj43EhsTbRpCxY0RluGtdNxIJdP0lpAagb4AAkJ+HtJbnfc12O8RTeEI1MdtHbM
v2p1Mal1wrdKOTEgJAp6nTKUBTJRwF41UQq/pQ4+BTyfIn0hjWyQQVM41b89PytYJqww
9s5A==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=o2lqvJg8;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
5b1f17b1804b1-4956a855306sor676875e9.17.2026.07.21.11.43.03
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Tue, 21 Jul 2026 11:43:03 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Forwarded-Encrypted: i=1;
AHgh+RoteYa98F0j5U/hF4y2SWxhMajd5KUg4SyJRq8t4Zc9WHJVmFqWfQ2YpE1u6tovt1Czff+S9dKR7eA2yYxy@amarulasolutions.com
X-Gm-Gg: AfdE7cmzfvHVhpaPZXDOiiyQBOUIu66BGPq31g5WLUzm2Ma4LEbIIpGz4xKM3uhsL8h
8K+kiuPXE3X1ta2+oRUFJqxbdLvsmXWB2Oj+IzODcwNNv+Pb8aJrOkL3pdrcxjNEtVEf2cKjyCB
oLRu9fbX3LhRQ+YVFjHM+hXSonxiDzWYpLPNZaPKdwECNsI4GZyKyvyfZJ0c+6x5p8qfzzcQXFP
uvlSe7oBV+yMDKb+gvGMMVsXLNOZeslLx+M0vw7fBibWZd/K4ZdPOMQmoZlVFPjT8V33GaqOAgL
i45u1kRfshPQmu9gfjHekkB8Mtk0/nmR+FMXTttytlEqEecA3xocOKXoTRbfS1DijkFwadotWon
+gqe5io+bFrU0cT3YM5J92mFYZfQu7jthyP2m73F3pa8QvJA0uCKsOszOnu0i0wNHSego5gSVoG
Or7zrjhVvTX++6kI2DH1daM1BNrRIcRiZp+HGxZkKdb1ayBGB5vuODrhzR9vCE6L/G9/rmObaRI
7r9axLYTk356HAepdlmb4gx5zZWxqH8nstYDMSMBGVi2pZQ4kVOdBHezXmV0BOv+sstdIW4zQ1O
AlL6ok95/TA=
X-Received: by 2002:a05:600c:190b:b0:493:c77c:108a with SMTP id
5b1f17b1804b1-4954aa1a10amr213529505e9.36.1784659382654;
Tue, 21 Jul 2026 11:43:02 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com
(host-79-17-119-233.retail.telecomitalia.it. [79.17.119.233])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4956b030a64sm226505e9.3.2026.07.21.11.43.01
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 21 Jul 2026 11:43:02 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: Christophe Priouzeau <christophe.priouzeau@foss.st.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
linux-amarula@amarulasolutions.com
Subject: [PATCH 2/6] configs/stm32f469_disco_{sd,xip}: fix boot failure after
uClibc bump
Date: Tue, 21 Jul 2026 20:42:45 +0200
Message-ID: <20260721184249.1579381-3-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260721184249.1579381-1-dario.binacchi@amarulasolutions.com>
References: <20260721184249.1579381-1-dario.binacchi@amarulasolutions.com>
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=o2lqvJg8;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
|
| Related |
show
|
diff --git a/configs/stm32f469_disco_sd_defconfig b/configs/stm32f469_disco_sd_defconfig index c58523217e22..c0dacd5b0c12 100644 --- a/configs/stm32f469_disco_sd_defconfig +++ b/configs/stm32f469_disco_sd_defconfig @@ -1,6 +1,7 @@ BR2_arm=y BR2_cortex_m4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_UCLIBC_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/common/stm32f4xx/uclibc-fragment.config" BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f469-disco/patches" BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh board/stmicroelectronics/stm32f469-disco/post-build.sh" diff --git a/configs/stm32f469_disco_xip_defconfig b/configs/stm32f469_disco_xip_defconfig index 9124177193f4..e642d8d48908 100644 --- a/configs/stm32f469_disco_xip_defconfig +++ b/configs/stm32f469_disco_xip_defconfig @@ -1,6 +1,7 @@ BR2_arm=y BR2_cortex_m4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_UCLIBC_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/common/stm32f4xx/uclibc-fragment.config" # BR2_UCLIBC_INSTALL_UTILS is not set BR2_ENABLE_LTO=y BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f469-disco/patches"
Since uClibc was bumped to 1.0.58 (c7fef3704c70, "package/uclibc: bump to 1.0.58"), the board fails to boot: sh: out of memory Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 ]--- The STM32F469 has no MMU, and uClibc's standard malloc() implementation returns NULL for allocations performed during early init on this target, causing init to abort immediately. Fix this by switching to MALLOC_SIMPLE, a plain mmap-based allocator meant for small/noMMU systems, via the uClibc config fragment already introduced for the STM32F429 in board/stmicroelectronics/common/stm32f4xx/, which addresses the same issue on this Cortex-M4/noMMU board. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- configs/stm32f469_disco_sd_defconfig | 1 + configs/stm32f469_disco_xip_defconfig | 1 + 2 files changed, 2 insertions(+)