summaryrefslogtreecommitdiff
path: root/samples
AgeCommit message (Collapse)AuthorFilesLines
2020-11-10Merge pull request #1342 from DspHack/feature/add_support_for_ti_c6xChris Packham2-0/+17
Experimental: Add support for the Texas Instruments C6X (TMS320C6000 …
2020-11-02c6x: Remove multilib requirementDan Tejada2-0/+17
Restore tuple config check Add sample configuration Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
2020-09-06Merge branch 'BR1_zlinux_cross_comp' of ↵Chris Packham6-0/+20
git://github.com/pradghos/crosstool-ng into pradghos-BR1_zlinux_cross_comp
2020-09-01Add picolibc support [v2]Keith Packard2-0/+15
This adds support for using picolibc instead of newlib on embedded systems. Signed-off-by: Keith Packard <keithp@keithp.com> v2: Add check for meson and ninja Sync option default values with current picolibc defaults Remove xtensa sys header file install as those aren't in picolibc
2020-08-27Adding new samples s390x/s390-unknown-linux-gnuPradipta Ghosh6-0/+20
- s390x/s390 is allowed to pair with other vendor name. - new samples are being added to use this flexibility. - Fix space issue
2020-08-23Merge pull request #1242 from cpackham/mips64Chris Packham2-0/+10
samples: Add a mips64 big-endian config
2019-09-11samples: Add a mips64 big-endian configChris Packham2-0/+10
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2019-06-14ARC: Support building of multi-lib Glibc toolchainAlexey Brodkin2-0/+10
From GCC's standpoint ARC's multilib items are defined by "mcpu" values which we have quite a few and for all of them might be built optimized cross-toolchain. From Glibc's standpoint multilib is just multi-ABI [1] and so very limited versions are supposed to co-exist (e.g. arc700 & archs). Here we force Glibc to install libraries in GCC's multilib folder to create a universal cross-toolchain that has libs optimized for multiple CPU types. But note we only need to mess with installation paths in case of real multilib, otherwise we keep default "lib/" paths so that GCC finds default (the one and only) libs where it expects them to be. Also here we add a sample which allows to build universal Glibc Linux toolchain for ARC. [1] https://sourceware.org/ml/libc-alpha/2019-06/msg00018.html Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-04-17Add Glibc toolchain sample for ARC HSAlexey Brodkin2-0/+9
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-04-05Merge pull request #1178 from stilor/masterAlexey Neyman1-4/+4
Last fixes for 1.24.0
2019-04-05Merge pull request #1167 from palmer-dabbelt/riscv-cxxAlexey Neyman1-0/+1
riscv64-unknown-linux-gnu: Add C++ Support
2019-04-04samples: G+ is gone, update reporter_urlAlexandre Belloni2-2/+2
G+ is now defunct, update the reporter_url to bootlin as both Thomas and I are working there. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2019-03-21Use explicit revision in xtensa-fsf-elfAlexey Neyman1-4/+4
So that the build does not depend on internet connectivity. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-20riscv64-unknown-linux-gnu: Add C++ SupportPalmer Dabbelt1-0/+1
We've had very solid support for C++ for quite a while now in RISC-V land, at least in our Linux targets. This patch set enables C++ support by default, which I assume most users will want. Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-03-10Update the samples to v3Alexey Neyman94-95/+94
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-18Add sample from #985Alexey Neyman2-0/+42
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-09Run the samples through update to v2Alexey Neyman93-94/+94
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-09Use enhanced framework for 'ct-ng update-samples'Alexey Neyman1-10/+12
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-29Run the samples through `ct-ng update-samples`Alexey Neyman94-22/+100
- Pin sparc-leon-linux-gnu to GCC6, again. - Remove "brokenness" explanation from moxie-elf comment (was only applicable to stage-2 compiler, not final). Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-28Add upgrade logic to version-check.shAlexey Neyman1-5/+1
Slightly rework config version detector to catch the case where neither CONFIG_VERSION/CONFIG_VERSION_CURRENT is defined in the config file. Add olddefconfig and use it after the upgrade. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26Basic framework for checking config file versionAlexey Neyman1-17/+28
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-10Allow short "moxiebox" aliasAlexey Neyman3-0/+0
... while making use of the new tunables. Also, unmark the moxie-elf as broken: the ld scripts installed by newlib can be found by the compiler and can link the binaries. Why the default script is broken is not ct-ng's problem... Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Moxiebox requires target to be LEAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07Add config from issue 1107Alexey Neyman2-0/+18
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Add moxiebox as a choice for libcAlexey Neyman7-3/+31
This required some rework of the libc selection, as moxiebox is a layer on top of another libc - newlib. Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox needs from libcrypto is SHA256, and it already includes a standalone implementation of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use that implementation for the host binary, too. Also, automate collecting/printing the list of all packages in a given category (e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given category. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-28Add moxie architectureAlexey Neyman2-0/+11
and a moxie-unknown-elf target (which is what #1088 apparently wanted). Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-02Check if .config is a regular file before clobbering itAlexey Neyman1-1/+1
Fixes #1014. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-24riscv64: add rv64gc bare-metal samplePaul Walmsley2-0/+10
This sample works well for building the open-source first stage bootloader for the SiFive U540 device (and similar): https://github.com/sifive/freedom-u540-c000-bootloader Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
2018-09-11riscv64: add rv64gc linux-gnu samplePaul Walmsley2-0/+15
This sample works well for the SiFive U540 device (and similar). Thanks to Jim Wilson <jimw@sifive.com> for his review, discovering several bugs (now fixed). Cc: Jim Wilson <jimw@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
2018-05-21ARC: Update Linux samplesAlexey Brodkin4-12/+2
There's no point in keeping samples which are in its essense just a sub-set of multilib toolchain. But still we'd like to cover quite unusual but really existing case - ARC750, i.e. ARC700 with MMU but without so-called atomic instructions (LLOCK/SCOND). To support this HW variation we need: 1) Compile all target binaries without "-matomics" or even better "-mno-atomics" so that's even future-proof (as we may decide to enable "-matomics" by default for Linux targets which is a recommented setup). 2) Configure libc such that it uses Linux-kernel-assisted implementation of atomic operation via "arc_usr_cmpxchg" syscall, see https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=b985fa069187e4c5a7ee84213d9fbead2f219ce5 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-21ARC: Add Linux uClibc multilib sampleAlexey Brodkin2-0/+10
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-16ARC: Add baremetal/elf32 multilib sampleAlexey Brodkin2-0/+7
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-05-15Add ARC700 and ARC HS38 Linux samplesAlexey Brodkin4-0/+20
ARC700 is based on ARCompact (AKA ARCv1 ISA) while ARC HS38 is based on modern ARCv2 ISA. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-04-11Merge pull request #924 from tofutim/feature/fixchecksampsAlexey Neyman1-1/+1
fix deprecated diff option
2018-04-07User manual installationAlexey Neyman1-0/+1
... when running from a release tarball. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-28fix deprecated diff optionTim Uy1-1/+1
2018-02-15Backport GCC fix for partial int modesAlexey Neyman2-3/+1
... from trunk to GCC7/GCC6/GCC5. Fixes #742. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-22Added vendor string for riscv32-hifive1-elfFranz Flasch2-2/+2
2018-01-22Added sample for riscv-hifive1 boardFranz Flasch2-0/+9
Signed-off-by: Franz Flasch <ffl@mission-embedded.com>
2017-11-20Align script names with the ct-ng commandsAlexey Neyman1-5/+5
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-20Retire wiki-printerAlexey Neyman1-17/+0
It is not used anymore and is currently broken. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-19add a bare metal RISC-V sampleAntony Pavlov2-0/+8
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
2017-09-03Use the new SuperH fixes in the two multilib samplesAlexey Neyman7-14/+7
- Glibc configure args and tuple need adjustment on SuperH - Only allow "both endian" and "with CPU" for unspecified arch variant. May reconsider endianness (was breaking things before adjusting glibc tuple) - Retire non-multilib sample, it should be a subset of the multilib one now. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03Super-H multilib toolchain fixesAlexey Neyman2-0/+7
1. On SuperH, configuring GCC with explicit variant of the CPU (like "sh4") limits the default set of multilibs to just that CPU and requires --with-multilib-list to change. Allow for "unspecified" variant, so that we can defer to GCC to determine the list. 2. Support toolchains with both endiannesses at the same time. 3. Add a SuperH/newlib sample 4. Add more flags processing for uClibc Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-28Add NIOS2/MMU sampleAlexey Neyman2-0/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-18Pin sparc-leon to GCC6, againAlexey Neyman1-2/+2
Also, change the name for uClibc config to be version-agnostic, the version changes too fast. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Update new nios2 sampleAlexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Allow packages to define "relevant" part of the versionAlexey Neyman42-47/+10
E.g., only include minor/major of the Linux kernel into the kconfig symbol. In the future, to be defined by all packages, but for now matches the current versioning in the packages. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Kconfigize choice/menu itemsAlexey Neyman80-302/+302
Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman22-43/+36
Signed-off-by: Alexey Neyman <stilor@att.net>