[v2,0/9] add ARM FDPIC support
mbox series

Message ID 20240922092312.2061358-1-dario.binacchi@amarulasolutions.com
Headers show
Series
  • add ARM FDPIC support
Related show

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

'Krzysztof Kozlowski' via Amarula Linux Sept. 22, 2024, 10:14 a.m. UTC | #1
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
Waldemar Brodkorb Sept. 22, 2024, 3:36 p.m. UTC | #2
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.