Add prebuilt nds32 toolchain, ae3xx board and autobuild configs support
Get series with b4
b4 am 20190418083910.GA20517@app09Versions newest first · linked by author and title
- v5 Latest posting 2/20 of 4 patches 0 repliesNew
- v5 posting 1/24 patches 0 repliesSuperseded
- v42 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 0 replies | Superseded | |
| v2 posting 2/2 | 0 of 3 patches | 0 replies | Superseded | |
| v2 posting 1/2 | 3 patches | 0 replies | Superseded |
Patches in v5 posting 2/2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [Buildroot] [PATCH v5 0/4] Add prebuilt nds32 toolchain, ae3xx board and autobuild configs support
Hello Thomas:
Thanks for your question
Quoted 22 lines · Thomas Petazzoni
Hello Nylon,
Quoted 5 lines · On Tue, 16 Apr 2019 15:25:41 +0800 Nylon Chen <[email protected]> wrote:
Nylon Chen (4):
arch: add support for Andes 32-bit(nds32) configs/andes_nds32_ae3xx: new defconfig toolchain-external-andes-nds32: new package support/config-fragments/autobuild: test the Andes nds32 toolchainFollowing the merge of the nds32 architecture, two types of build failures started to appear:
- The target binutils package failed to build, because binutils does not yet have support for nds32. I tried with the latest binutils release, 2.32, and it was the same. So for now, I have disabled binutils on nds32. However, in binutils source, I see that
bfd/elf-nds32.cis present, so there at least the beginning of some support. Could you comment on the status of nds32 support in binutils upstream ?
Quoted 3 lines
Build failure: http://autobuild.buildroot.net/results/1b1/1b18acb11db4d6c4198deb7385aff3d4d524c37e/build-end.log
Commit to disable binutils on nds32: https://git.buildroot.org/buildroot/commit/?id=b45a703078e6f3be096f24ac63848490d32d0d29
I got two methods can resolve this problem
1.package/binutils/binutils.mk
+ifeq ($(BR2_nds32),y)
+GNU_TARGET_NAME=nds32le-linux
+endif
+
2.package/Makefile.in
+ifeq ($(BR2_nds32),y) +GNU_TARGET_NAME=$(ARCH)le-$(TARGET_OS)
+elseGNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI) +endif
In addition to these methods, do you have any suggest?
Quoted 5 lines
- The libffi library does not have support for nds32 as well, so I made sure that we don't try to build configurations that include libffi on nds32. Are you planning on adding nds32 support to libffi upstream ?
We have no plans at the moment.
Quoted 10 lines
Build failure: http://autobuild.buildroot.net/results/128/12803a705586e82fdfb49013da2eb3b9879ccd45/build-end.log
Commit to disable libffi on nds32: https://git.buildroot.org/buildroot/commit/?id=2e1f98d9509d869352080331e168abe5f1452e1aBest regards,
Thomas Petazzoni
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com