aboutsummaryrefslogtreecommitdiff
path: root/samples
Commit message (Collapse)AuthorAgeFilesLines
...
| * Use explicit revision in xtensa-fsf-elfAlexey Neyman2019-03-201-4/+4
| | | | | | | | | | | | So that the build does not depend on internet connectivity. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #1167 from palmer-dabbelt/riscv-cxxAlexey Neyman2019-04-051-0/+1
|\ \ | | | | | | riscv64-unknown-linux-gnu: Add C++ Support
| * | riscv64-unknown-linux-gnu: Add C++ SupportPalmer Dabbelt2019-03-201-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>
* / samples: G+ is gone, update reporter_urlAlexandre Belloni2019-04-042-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>
* Update the samples to v3Alexey Neyman2019-03-0994-95/+94
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add sample from #985Alexey Neyman2019-02-172-0/+42
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Run the samples through update to v2Alexey Neyman2019-02-0993-94/+94
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use enhanced framework for 'ct-ng update-samples'Alexey Neyman2019-02-091-10/+12
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Run the samples through `ct-ng update-samples`Alexey Neyman2019-01-2894-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>
* Add upgrade logic to version-check.shAlexey Neyman2019-01-271-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>
* Basic framework for checking config file versionAlexey Neyman2019-01-261-17/+28
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow short "moxiebox" aliasAlexey Neyman2018-12-103-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>
* Moxiebox requires target to be LEAlexey Neyman2018-12-071-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add config from issue 1107Alexey Neyman2018-12-072-0/+18
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add moxiebox as a choice for libcAlexey Neyman2018-12-017-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>
* Add moxie architectureAlexey Neyman2018-11-282-0/+11
| | | | | | and a moxie-unknown-elf target (which is what #1088 apparently wanted). Signed-off-by: Alexey Neyman <stilor@att.net>
* Check if .config is a regular file before clobbering itAlexey Neyman2018-11-011-1/+1
| | | | | | Fixes #1014. Signed-off-by: Alexey Neyman <stilor@att.net>
* riscv64: add rv64gc bare-metal samplePaul Walmsley2018-09-242-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>
* riscv64: add rv64gc linux-gnu samplePaul Walmsley2018-09-102-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>
* ARC: Update Linux samplesAlexey Brodkin2018-05-214-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>
* ARC: Add Linux uClibc multilib sampleAlexey Brodkin2018-05-212-0/+10
| | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* ARC: Add baremetal/elf32 multilib sampleAlexey Brodkin2018-05-162-0/+7
| | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Add ARC700 and ARC HS38 Linux samplesAlexey Brodkin2018-05-154-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>
* Merge pull request #924 from tofutim/feature/fixchecksampsAlexey Neyman2018-04-101-1/+1
|\ | | | | fix deprecated diff option
| * fix deprecated diff optionTim Uy2018-02-281-1/+1
| |
* | User manual installationAlexey Neyman2018-04-071-0/+1
|/ | | | | | ... when running from a release tarball. Signed-off-by: Alexey Neyman <stilor@att.net>
* Backport GCC fix for partial int modesAlexey Neyman2018-02-152-3/+1
| | | | | | | | ... from trunk to GCC7/GCC6/GCC5. Fixes #742. Signed-off-by: Alexey Neyman <stilor@att.net>
* Added vendor string for riscv32-hifive1-elfFranz Flasch2018-01-222-2/+2
|
* Added sample for riscv-hifive1 boardFranz Flasch2018-01-222-0/+9
| | | | Signed-off-by: Franz Flasch <ffl@mission-embedded.com>
* Align script names with the ct-ng commandsAlexey Neyman2017-11-191-5/+5
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire wiki-printerAlexey Neyman2017-11-191-17/+0
| | | | | | It is not used anymore and is currently broken. Signed-off-by: Alexey Neyman <stilor@att.net>
* add a bare metal RISC-V sampleAntony Pavlov2017-11-192-0/+8
| | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
* Use the new SuperH fixes in the two multilib samplesAlexey Neyman2017-09-037-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>
* Super-H multilib toolchain fixesAlexey Neyman2017-09-032-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>
* Add NIOS2/MMU sampleAlexey Neyman2017-08-272-0/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Pin sparc-leon to GCC6, againAlexey Neyman2017-07-181-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>
* Update new nios2 sampleAlexey Neyman2017-07-081-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow packages to define "relevant" part of the versionAlexey Neyman2017-07-0842-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>
* Kconfigize choice/menu itemsAlexey Neyman2017-07-0880-302/+302
| | | | | | Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-0822-43/+36
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #773 from stilor/fix-bionic-32bitAlexey Neyman2017-07-076-4/+2
|\ | | | | Fix ARM32 name for android
| * Fix ARM32 name for androidAlexey Neyman2017-07-076-4/+2
| | | | | | | | | | | | | | | | | | | | | | Must have eabi suffix for GCC to accept it. Also: - We only have one glibc now, no need to account for eglibc. - Rename aarch64 samples, eabi suffix does not apply to them (and ct-ng saveconfig was saving them into a different directory). Fixes #772. Signed-off-by: Alexey Neyman <stilor@att.net>
* | samples: remove unnecessary optionKirill K. Smirnov2017-07-051-1/+0
| | | | | | | | | | | | | | The line CT_GETTEXT=y is remains from canadian sample. This cross sample does not need it. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* | samples: add a config for bare metal NIOS2Kirill K. Smirnov2017-07-012-0/+8
|/ | | | Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* Declare msp430 experimentalAlexey Neyman2017-06-102-1/+4
| | | | | | | ... as GCC5 and later ICEs over inocuous code. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79242 Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix debuild warnings/errorsAlexey Neyman2017-06-071-7/+7
| | | | | | | | | | | | | | | | | | | | - Update .gitignore, do not place .gitignore into directories installed in bulk - Remove executable permissions and shebangs from the scripts that are supposed to be invoked only via ct-ng frontent; prepend them with $(bash). Despite what showSamples.sh said, it already has some bashisms. - Remove --with autotools-dev and override dh_update_autotools_config to avoid having config.{sub,guess} clobbered with older versions - Install bash completion where Debian (now) expects it - Update man page to use .\" as the comment delimiter, instead of undefined macro (."); also, minor text edits. - Install kconfig.mk without execute permission. - Remove shell wrappers from 170-localedef-fix-trampoline.patch, we do not use that for applying patches - Revoke execute permissions on 210-expat.sh - Get flags from dpkg-buildflags if available Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #732 from awygle/msp430-supportAlexey Neyman2017-06-022-0/+5
|\ | | | | Added MSP430 architecture support
| * Added a sample of the MSP430 architecture and removed config.subAndrew Wygle2017-06-022-0/+5
| | | | | | | | | | | | override from msp430.sh Signed-off-by: Andrew Wygle <awygle@gmail.com>
* | samples: update sparc/leon sampleKirill Smirnov2017-06-022-4/+4
|/ | | | | | | | | * Remove obsolete RPC options from uclibc-ng config * Enable utmp/wtmp options (gdb needs them) * Switch to gcc-6.3 Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow duma/ltrace/strace for bionicAlexey Neyman2017-05-141-0/+2
| | | | | | | | | | | | Allow cross-gdb and gdbserver. This requires removal of an explicit check that disables gdbserver on android. However, the comment above that check refers to exec_elf.h, which has been removed since API level 19. It builds fine with current selection of the sample (21). Only build-tested, hope someone can give it a try and report back. We can fine tune the check for GDB but I'll leave it for now. Signed-off-by: Alexey Neyman <stilor@att.net>