Skip to content

Fixes/improvements in Xtensa handling

Thomas Petazzoni buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5arch/Config.in.xtensa: adjust endianness logic to avoid bogus configurationsarch/Config.in.xtensa+4 -02 replies
2/5Revert "arch/xtensa: custom configuration requires an overlay"arch/arch.mk.xtensa+1 -63 replies
3/5arch/Config.in.xtensa: use one line per case in BR2_ENDIAN definitionarch/Config.in.xtensa+2 -10 replies
4/5arch/{Config.in, arch.mk}.xtensa: add explicit support for DC233C corearch/Config.in.xtensa arch/arch.mk.xtensa+11 -10 replies
5/5configs/qemu_xtensa_lx60*: use new BR2_xtensa_dc233c optionconfigs/qemu_xtensa_lx60_defconfig configs/qemu_xtensa_lx60_nommu_defconfig+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/5] Fixes/improvements in Xtensa handling

Hello,

This is a v2 of my patches to fix/improve xtensa handling.

The starting point is that commit 4cbf7336914f25478aea943456ba7dc3c892c21a ("arch/xtensa: custom configuration requires an overlay") broke external Xtensa toolchain configurations, which select a custom core. Indeed, this commit made the assumption that it is not possible to have an empty overlay file with a custom core, but that is not a correct assumption.

So instead, commit 1/5 in this series fixes the original issue (autobuilders reporting problems of endianness) by making it not possible to select "big endian" with internal toolchain when the overlay file is empty. Indeed, with an empty overlay file, the CPU will always be little endian.

We then revert commit 4cbf7336914f25478aea943456ba7dc3c892c21a in PATCH 2/5, which allows two of the runtime tests to build again properly.

In patch 3 to 5, we add explicit support for the DC233C Xtensa core.

Thomas

Thomas Petazzoni (5):
arch/Config.in.xtensa: adjust endianness logic to avoid bogus
configurations
Revert "arch/xtensa: custom configuration requires an overlay" arch/Config.in.xtensa: use one line per case in BR2_ENDIAN definition arch/{Config.in,arch.mk}.xtensa: add explicit support for DC233C core configs/qemu_xtensa_lx60*: use new BR2_xtensa_dc233c option

 arch/Config.in.xtensa                    | 13 +++++++++++--
 arch/arch.mk.xtensa                      | 13 +++++++------
 configs/qemu_xtensa_lx60_defconfig       |  3 +--
 configs/qemu_xtensa_lx60_nommu_defconfig |  3 +--
 4 files changed, 20 insertions(+), 12 deletions(-)
Signature · 6 lines
2.37.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot