mbox series

[RFC,00/12] add hexagon architecture

Message ID 20241025140714.2395033-1-bcain@quicinc.com
Headers show
Series add hexagon architecture | expand

Message

Brian Cain Oct. 25, 2024, 2:07 p.m. UTC
I'm sending this RFC for discussion and high-level suggestions.  Since
I'm still quite new to buildroot, I'm hoping to learn how to better/more
idiomatically design this patch series.

Thanks in advance for any review.

Note that while the rootfs appears so far to be as-expected, outstanding
kernel/hypervisor bugs remain under investigation.  I'd like to use buildroot
to simplify collaboration among contributors.

Brian Cain (12):
  arch: add hexagon architecture support
  toolchain/toolchain-external: add hexagon toolchain support
  toolchain/toolchain-external: add hexagon support for
    toolchain-wrapper
  toolchain/toolchain-external: add support for clang
  toolchain/toolchain-external: skip "-march=" for hexagon
  linux: add support for hexagon clang
  arch: add hexagon ARCH definition
  package/hexagonMVM: new package
  board/qcom/sa8775: add support for qcom sa8775-cdsp0
  configs: add hexagon QEMU config
  DEVELOPERS: add myself as developer for hexagon
  package: disable -ztext for hexagon

 DEVELOPERS                                    |  8 ++
 arch/Config.in                                | 10 +++
 arch/Config.in.hexagon                        | 69 +++++++++++++++++
 board/qcom/sa8775/post_build.sh               |  9 +++
 configs/qcom_dsp_qemu_defconfig               | 44 +++++++++++
 configs/qcom_sa8775_cdsp0_defconfig           | 35 +++++++++
 linux/linux.hash                              |  1 +
 linux/linux.mk                                | 10 +++
 package/Config.in                             |  1 +
 package/Makefile.in                           | 26 +++++--
 package/hexagonMVM/Config.in                  |  8 ++
 package/hexagonMVM/hexagonMVM.hash            |  5 ++
 package/hexagonMVM/hexagonMVM.mk              | 27 +++++++
 toolchain/Config.in                           | 54 +++++++++++++
 toolchain/helpers.mk                          | 16 ++++
 toolchain/toolchain-external/Config.in        |  6 ++
 .../pkg-toolchain-external.mk                 | 42 ++++++++--
 .../Config.in.options                         | 76 +++++++++++++++++++
 .../toolchain-external-hexagon/Config.in      |  7 ++
 .../Config.in.options                         | 14 ++++
 .../toolchain-external-hexagon.hash           |  6 ++
 .../toolchain-external-hexagon.mk             | 14 ++++
 22 files changed, 478 insertions(+), 10 deletions(-)
 create mode 100644 arch/Config.in.hexagon
 create mode 100755 board/qcom/sa8775/post_build.sh
 create mode 100644 configs/qcom_dsp_qemu_defconfig
 create mode 100644 configs/qcom_sa8775_cdsp0_defconfig
 create mode 100644 package/hexagonMVM/Config.in
 create mode 100644 package/hexagonMVM/hexagonMVM.hash
 create mode 100644 package/hexagonMVM/hexagonMVM.mk
 create mode 100644 toolchain/toolchain-external/toolchain-external-hexagon/Config.in
 create mode 100644 toolchain/toolchain-external/toolchain-external-hexagon/Config.in.options
 create mode 100644 toolchain/toolchain-external/toolchain-external-hexagon/toolchain-external-hexagon.hash
 create mode 100644 toolchain/toolchain-external/toolchain-external-hexagon/toolchain-external-hexagon.mk