| Message ID | 20240922092312.2061358-1-dario.binacchi@amarulasolutions.com |
|---|---|
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBFWEX63QMGQELA2OUQI@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com
[209.85.208.70])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 568293F14C
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 22 Sep 2024 11:23:35 +0200 (CEST)
Received: by mail-ed1-f70.google.com with SMTP id
4fb4d7f45d1cf-5c24f1e3933sf2222268a12.3
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 22 Sep 2024 02:23:35 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1726997015; cv=pass;
d=google.com; s=arc-20240605;
b=BA/e9c4b8uKr8WOkcUGZGwYEqFKRPL6GNwt/xqXzVrLpB3dtOUiz+1iFSlRpyiQBQb
Hb52U+cZSHPpXMVLjkASVy6lwkAKOPAUeI4XhjfzdpZbmqkdfBS8SnorAw4ZLWM+wfR9
jljDAf7haysU0wHmbo9oL9KHC8zC1O6Cq6+ceocZOsV4yZZ3aX1uUUi8RoBN3Zt/LQU/
KStXw3Uy2XjZZsaPpRJXZ+o7J1KxQGbavhXgpzu9bgrijRBfNCT4jRj+f0QSWV++Py/o
MJsTQZlhhuebT1erP0rHKHrvQPlbdlWWGwUzHsi6viQuohMnvSdIY8IdUYarzka272pN
DnKg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:message-id:date:subject:cc:to
:from:dkim-signature;
bh=TJ+gonw9M+9kRfj4Fl/dJ2iVE2arG153kLY0O54dHjU=;
fh=mCv3apreJ1q0mGA1zu774kGhgCTvoz4CQg0P3zHmWEc=;
b=IulkqM3IVpS7rqkznGEPXfyyga777ggdrjPa3iIZZ3aUkmLD40ZZmO5FwMWoN0Nito
PgfNIivVrww2XpEGD5xb4GH8+COepfVl0pGNz/9h1uecj2m0dvVIg3YTH5oZT61aAAtc
XAjXugYJvoM5cxQed9caW32iFApMvWliddDCyqXOcfrDubXwxJPHB/lvsF4kyGNwFIwv
UKuTtavKvH7FLktMtKeLco4tnThd2BirGVyR5x74wZ1/oiiJqpSH/JIIadIk/nSBFUA2
Rz7e6GHl4jx9VbxU68gkUHNbpB48/3foI+oW0yJAsqqxAhqu5vnVaLvyn7nqNzJ+s5uS
ywjA==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b="iC/wS71e";
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=pass header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1726997015; x=1727601815;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:message-id:date:subject:cc:to:from
:from:to:cc:subject:date:message-id:reply-to;
bh=TJ+gonw9M+9kRfj4Fl/dJ2iVE2arG153kLY0O54dHjU=;
b=TEe9LwZVu6vHZTt1aoZvqv5sRKL1em3cbj3ZrJpBeMUwNsnBVL4NU5bARok7npBfy1
xKo/5gx+U4YLiTTkOaIWPfPHawFy4KqV/E0xI/jwfRVJ0o8sgp+iDR3rFoMFltWGOT4k
30JcHxBQA6r9kCHUZNc81K6cR1OUF1cZRrlBc=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1726997015; x=1727601815;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=TJ+gonw9M+9kRfj4Fl/dJ2iVE2arG153kLY0O54dHjU=;
b=tFzjSfdnQPjbPLE4w0PNvLq6HJCQW+58erHlDPQRHjAOhv813gqMOTZ6ieeOtcOs3T
6u8KvVGX1dF3Di75QR8x7N0DIEGSNuDp6EwLzKzXicHJuJ2ltep+qwqrJXjeWiyTPpKo
E8c3+UezoP/7WnTYhLWsDbhAUYkTgKd6yi67DH1BKJCj+Y8MEZCQ/+yeJUKVbxbrJ3E4
pdEmewZpX4xIzaZ6kmZlS/fECVRNSlr0ukvx7zeWWGjpmOUC9ZoRbwbN31NvRXJFe+dW
l0cLASqfrP2F4ppBoo6QXO5ysbkBRuYiY36SKVzh3rzX4vQI79M2cWIWt5q87A3hqNzu
470A==
X-Forwarded-Encrypted: i=2;
AJvYcCUJSae+x95xBc+fOcdIt9lr6hxiObBZTQihtihprnu2S/LxXtFNmXEecY2tb9P4PIwsFlEF+Ko5TW340AUb@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YxJdbtkRglgG8ctQrDbI+rnBn2g3YoKrk9hpCQO/fbicFqwWTeX
KrSmF/bt3Ig21t0Vaj5GGA1cmSNmGqrih8mIDYx5Gfp/6/pSu9slRjHWJo/NTFx/gQ==
X-Google-Smtp-Source:
AGHT+IGZoAaCyTtcVQrzoDHsaeV191cdgHuCSotU2IP9tw9W15JcwhKr6vjkWzeGaZVi5O9i9Oz+iQ==
X-Received: by 2002:a05:6402:d0e:b0:5c2:7699:fb6f with SMTP id
4fb4d7f45d1cf-5c464dba943mr7051801a12.15.1726997014525;
Sun, 22 Sep 2024 02:23:34 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com
Received: by 2002:a50:e713:0:b0:5c4:62b5:9aec with SMTP id
4fb4d7f45d1cf-5c462b59b58ls459325a12.2.-pod-prod-07-eu;
Sun, 22 Sep 2024 02:23:33 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AJvYcCXUqpkSwj7N5tgU0HFS206j9sjoHHj1eHycg8Mf61H0Og6o6cqeiQDL1BtzuoDBvW3vC2P2ZBij+M4iE2QY@amarulasolutions.com
X-Received: by 2002:a17:907:1b23:b0:a86:88f7:679c with SMTP id
a640c23a62f3a-a90d592576fmr883179266b.41.1726997012794;
Sun, 22 Sep 2024 02:23:32 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1726997012; cv=none;
d=google.com; s=arc-20160816;
b=it+zx+ty6aKjd9ogqj0vSZWrToREiMXvMSIgOgCVnmzML2Uazk0idDFgGv8CIVtKKU
kj7X0AhFkjfYr5LqwsnsRy1RXSnfUZjEgCt4HxiOzd46rf6upy0enY1luJnOeJFixTeA
5k6f1q9nK8rvV/7EZwFTNjl9Gy/3w+WyMIMQQpVILycPe9wKR8GkpHX1gwB9Zj0eQjUi
2TYgCZwhunKA1kinQ/XPZwa/Zxu8b+vWidB2vpF+/jitpukQWug6/lprb720RnDgW80z
kiht+YVPvhsA8VFeKC0IJpk+Dc1Xhq7JZSil+Q5JvOg98Xu+7g/uOJoITay80UJbGWuf
Trxw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=ty/EYWktv0WorJfTSpPoKL0GFCpkdqCYBCI8fOM1hKM=;
fh=RwNIF9OOHVLhepTr5ZOwduyDd7rX7bi4yS4RFqK+T00=;
b=FE5Lx+YWtGN8srlhW2WgrqYGEVtF3HLJMw5kWDGwVVKvBFpJyuuWmW894fXUYmdSje
xIc2XUnG7N12Fk4gVQ3/3+AeTnQ1oHAbE865PN78+Rh+f7NgccFyEcQ9UKhOng9TgpKL
CdS9oNuLZdtRBJlmUHKA9owDSxde55mwjgQRN9D6cusw+IJYuELxTArHZLR/VrOtZfJT
OJ6iEdZxPxp3elLfN5UEZciX61UUlpEVJr0ofgXf9H3ppamKKoyjlNKGFrb7KL46ofMC
nAmJrPRk2LjGH5Lg/itVxy198Zg9Isk0QRG6W42ad946Ky1ZuboxZ+YVAEu5Ao5vJtSf
Gdnw==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b="iC/wS71e";
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=pass 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
a640c23a62f3a-a90610f5848sor587536166b.1.2024.09.22.02.23.32
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Sun, 22 Sep 2024 02:23:32 -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;
AJvYcCXglnBi0KRCnvAG3yz6HYp2yQrfEd9RsLi2rHhQlCWh6enCFEE3NaBQc6jjp0U3q82sehF+p7f0lYx030sI@amarulasolutions.com
X-Received: by 2002:a17:907:26c8:b0:a8a:18f9:269f with SMTP id
a640c23a62f3a-a90d599aa46mr840119466b.60.1726997012097;
Sun, 22 Sep 2024 02:23:32 -0700 (PDT)
Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it
(host-79-20-102-52.retail.telecomitalia.it. [79.20.102.52])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-a90612b33fasm1065235866b.139.2024.09.22.02.23.31
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 22 Sep 2024 02:23:31 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>,
Waldemar Brodkorb <wbx@openadk.org>,
Romain Naour <romain.naour@gmail.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
yann.morin.1998@free.fr,
Ben Wolsieffer <Ben.Wolsieffer@hefring.com>,
linux-amarula@amarulasolutions.com
Subject: [PATCH v2 0/9] add ARM FDPIC support
Date: Sun, 22 Sep 2024 11:23:03 +0200
Message-ID: <20240922092312.2061358-1-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
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="iC/wS71e";
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=pass 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 |
add ARM FDPIC support
|
|
Message
Dario Binacchi
Sept. 22, 2024, 9:23 a.m. UTC
I resumed the series [1] submitted by Waldemar Brodkorb, where I made some changes to the patch [9/9] "configs/stm32f746_disco_sd: new defconfig" based on the suggestions provided by Thomas Petazzoni during the review of a previous series [2]. Like Waldemar, I also did not encounter any issues during testing on the board. [1] https://patchwork.ozlabs.org/project/buildroot/cover/20240919035308.2622723-1-wbx@openadk.org/ [2] https://patchwork.ozlabs.org/project/buildroot/patch/20240822183742.3550055-3-dario.binacchi@amarulasolutions.com/ Ben Wolsieffer (7): Revert: "arch: drop now useless support for FDPIC" arch: don't enable FDPIC binaries by default arch: make FDPIC dependent on toolchain support arch/arm: add support for FDPIC boot/uboot: pass -mno-fdpic if FDPIC is enabled linux: pass -mno-fdpic if FDPIC is enabled package/uclibc: enable NPTL on no-MMU ARM w/ FDPIC Dario Binacchi (1): configs/stm32f746_disco_sd: new defconfig Waldemar Brodkorb (1): package/busybox: remove STATIC from busybox-minimal.config DEVELOPERS | 4 +++ arch/Config.in | 15 +++++++++ .../stm32f746-disco/extlinux.conf | 4 +++ .../stm32f746-disco/flash_sd.sh | 22 +++++++++++++ .../stm32f746-disco/genimage.cfg | 10 ++++++ .../stm32f746-disco/linux.fragment | 13 ++++++++ .../patches/linux-headers/linux-headers.hash | 1 + .../stm32f746-disco/patches/linux/linux.hash | 2 ++ .../stm32f746-disco/patches/uboot/uboot.hash | 2 ++ .../stm32f746-disco/post-build.sh | 4 +++ .../stm32f746-disco/readme.txt | 31 +++++++++++++++++++ boot/uboot/uboot.mk | 5 +++ configs/stm32f746_disco_sd_defconfig | 31 +++++++++++++++++++ linux/linux.mk | 8 ++++- package/Makefile.in | 6 ++++ package/busybox/busybox-minimal.config | 2 +- package/uclibc/Config.in | 2 +- package/uclibc/uclibc.mk | 7 +++++ toolchain/Config.in | 4 +++ 19 files changed, 170 insertions(+), 3 deletions(-) create mode 100644 board/stmicroelectronics/stm32f746-disco/extlinux.conf create mode 100755 board/stmicroelectronics/stm32f746-disco/flash_sd.sh create mode 100644 board/stmicroelectronics/stm32f746-disco/genimage.cfg create mode 100644 board/stmicroelectronics/stm32f746-disco/linux.fragment create mode 120000 board/stmicroelectronics/stm32f746-disco/patches/linux-headers/linux-headers.hash create mode 100644 board/stmicroelectronics/stm32f746-disco/patches/linux/linux.hash create mode 100644 board/stmicroelectronics/stm32f746-disco/patches/uboot/uboot.hash create mode 100755 board/stmicroelectronics/stm32f746-disco/post-build.sh create mode 100644 board/stmicroelectronics/stm32f746-disco/readme.txt create mode 100644 configs/stm32f746_disco_sd_defconfig
Comments
Hello Dario, On Sun, 22 Sep 2024 11:23:03 +0200 Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote: > Dario Binacchi (1): > configs/stm32f746_disco_sd: new defconfig Aside from this defconfig, it would be really nice to have a defconfig that allows to test ARM noMMU (both FLAT and FDPIC) with Qemu. Could you, and perhaps Waldemar, check what the options are? I had a quick look, and it doesn't seem obvious which ARM noMMU platform supported by Qemu is also supported by Linux. I vaguely remember at some point that the versatile (or vexpress?) platforms allowed to boot a noMMU system, but I'm not 100% sure. Thanks! Thomas
Hi Thomas, Thomas Petazzoni wrote, > Hello Dario, > > On Sun, 22 Sep 2024 11:23:03 +0200 > Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote: > > > Dario Binacchi (1): > > configs/stm32f746_disco_sd: new defconfig > > Aside from this defconfig, it would be really nice to have a defconfig > that allows to test ARM noMMU (both FLAT and FDPIC) with Qemu. Could > you, and perhaps Waldemar, check what the options are? I had a quick > look, and it doesn't seem obvious which ARM noMMU platform supported by > Qemu is also supported by Linux. I vaguely remember at some point that > the versatile (or vexpress?) platforms allowed to boot a noMMU system, > but I'm not 100% sure. There is versatile which can boot ARM noMMU FLAT, which was removed by Buildroot in 9c5c3fbb2295f3f2b0bb27ac235d5f59afcfd55e, because it requires Kernel patches. This defconfig is not capable of running FDPIC Binaries because of some missing features regarding NPTL. There is still no Cortex-M system emulation we could use for testing both. So a no go. best regards Waldemar To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.