From mboxrd@z Thu Jan 1 00:00:00 1970 From: rick at andestech.com Date: Tue, 24 Apr 2018 03:10:02 +0000 Subject: [U-Boot] NDS32 toolchain? In-Reply-To: <20180423201715.GH31362@bill-the-cat.ec.rr.com> References: <20180423201715.GH31362@bill-the-cat.ec.rr.com> Message-ID: <752D002CFF5D0F4FA35C0100F1D73F3F6B78CA59@ATCPCS16.andestech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de > -----Original Message----- > From: Tom Rini [mailto:trini at konsulko.com] > Sent: Tuesday, April 24, 2018 4:17 AM > To: u-boot at lists.denx.de; Rick Jian-Zhi Chen(陳建志) > Subject: NDS32 toolchain? > > Hey, > > So I'm looking over my setups again at what we do and do not have build testing > and run-time testing, and I see that for nds32 I just cannot find a good toolchain. > If I try for example > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/7.3.0/x86_ > 64-gcc-7.3.0-nolibc-nds32-elf.tar.xz > it first fails on the -G0 flag that we have set in and then it complains about a lack > of position independent code support. Is the kernel.org toolchain perhaps > configured incorrectly? > Hi Tom You may try the following paths: 1. github version https://github.com/andestech/build_script.git https://github.com/greentime/prebuilt-nds32-toolchain/releases 2. Arnd Bergmann built https://lkml.org/lkml/2018/4/17/395 www.kernel.org/pub/tools/crosstool/files/bin/x86_64/6.4.0/x86_64-gcc-6.4.0-nolibc-nds32le-linux.tar.xz > Related, is there a QEMU target for nds32 that we could leverage so that once > the toolchain issue is resolved we can update .travis.yml to run tests on it? > Thanks! > I am applying the QEMU offering permit. If it is ok. I will prepare it for you. Thanks Rick :) > -- > Tom CONFIDENTIALITY NOTICE: This e-mail (and its attachments) may contain confidential and legally privileged information or information protected from disclosure. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is strictly prohibited. In this case, please immediately notify the sender by return e-mail, delete the message (and any accompanying documents) and destroy all printed hard copies. Thank you for your cooperation. Copyright ANDES TECHNOLOGY CORPORATION - All Rights Reserved.