summaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Travis-CI: Fix microblaze and xilinx jobsTom Rini2017-10-071-2/+4
| | | | | | | Given how we handle the ARM toolchain we can't easily combine these two jobs, so don't. Give xilinx/ARM a separate build. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Split out more vendors from the catch-all ARM jobTom Rini2017-10-061-2/+7
| | | | | | | - Move SoCFPGA and K2 boards to their own job - Expand the microblaze job to cover ARM boards from Xilinx as well. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Move Boundary and Engicam devices to their own jobsTom Rini2017-10-061-1/+7
| | | | | | | The i.MX6 job can still be close to the time limit, move a few more devices out. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Move Toradex into its own jobTom Rini2017-10-061-6/+11
| | | | | | | A few of the big jobs are getting close to the time limit again, split a few more things out. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis.yml: Add job for running test.py in qemu_armTuomas Tynkkynen2017-10-061-0/+5
| | | | | | | Note that this commit requires https://github.com/swarren/uboot-test-hooks/pull/14 to go in first. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
* dtc: Switch to building and using our own dtc unless providedTom Rini2017-09-241-4/+2
| | | | | | | | | | This makes us act like the Linux Kernel does and allow for dtc to be provided externally but otherwise we use the version of dtc that is included in the sources. This in turn means that we can drop the checkdtc logic. We select DTC in the cases where we will need the dtc tool provided. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Checkout only v1.4.3 of dtcTom Rini2017-09-221-1/+1
| | | | | | Our minimum DTC version is 1.4.3, so check that out. Signed-off-by: Tom Rini <trini@konsulko.com>
* Travis-CI: Switch back to using the top of tree dtcTom Rini2017-09-151-3/+2
| | | | | | | | | | | | | In a0f3e3df4adc we switched to using the Ubuntu-provided dtc as travis was having a problem with the number of warnings that were generated by the newer dtc. This is no longer a concern as we now have the same logic as Linux to enable/disable additional more stringent warnings. Go back to building dtc from source. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested on travis-ci: Tested-by: Simon Glass <sjg@chromium.org>
* Travis-CI: Update PATHTom Rini2017-09-121-1/+1
| | | | | | | We now can no longer re-use the provided path and need to give the full PATH we want used now. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Emulate 'make tests'Tom Rini2017-08-111-0/+9
| | | | | | | | | The 'tests' target will run sandbox, sandbox_spl and sandbox_flattree in test.py and in the case of sandbox_spl ensure that we just run the specific tests for that build. Update our matrix to perform similar test.py runs. Signed-off-by: Tom Rini <trini@konsulko.com>
* powerpc, 8xx: Add support for MCR3000 board from CSSIChristophe Leroy2017-07-081-0/+2
| | | | | | | | | CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
* avr32: Retire AVR32 for goodAndy Shevchenko2017-07-061-5/+1
| | | | | | | | | | | | | | AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4). Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully). There is no good point to keep this support in U-Boot either. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
* .travis.yml: All DENX boards are now under AriesTom Rini2017-06-291-2/+2
| | | | | | DENX hardware is now under Aries Embedded, update the job. Signed-off-by: Tom Rini <trini@konsulko.com>
* powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512xHeiko Schocher2017-06-161-6/+0
| | | | | | | | | There was for long time no activity in the mpx5xxx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in mpc5xxx, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* powerpc, 8260: remove support for mpc8260Heiko Schocher2017-06-121-2/+0
| | | | | | | | | There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260, so remove it. Signed-off-by: Heiko Schocher <hs@denx.de>
* powerpc, 8xx: remove support for 8xxHeiko Schocher2017-06-121-2/+0
| | | | | | | | | | There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so remove it (with a heavy heart, knowing that I remove here the root of U-Boot). Signed-off-by: Heiko Schocher <hs@denx.de>
* travisci: Add support for ARCAlexey Brodkin2017-04-271-0/+8
| | | | | | | | | | | Finally adding support for ARC boards in TravisCI. To build for ARC boards we need to install Synopsys prebuilt toolchain which we do here. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis-ci: Switch over to Linaro gcc-6.3.1 toolchains for ARMTom Rini2017-04-181-4/+10
| | | | | | | | Linaro provides a number of pre-built GCC toolchains for both 32 and 64bit ARM. Switch to their 2017.02 release of gcc-6.3.1 for both. Cc: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: OrangePi PC2 only links with gcc-5.x or laterTom Rini2017-04-101-1/+1
| | | | | | | We disable this specific board as it does not link with the gcc-4.9.x that we use today in travis-ci. Signed-off-by: Tom Rini <trini@konsulko.com>
* Blackfin: RemoveTom Rini2017-04-051-2/+1
| | | | | | | | | | | | | | | | | | | The architecture is currently unmaintained, remove. Cc: Benjamin Matthews <mben12@gmail.com> Cc: Chong Huang <chuang@ucrobotics.com> Cc: Dimitar Penev <dpn@switchfin.org> Cc: Haitao Zhang <hzhang@ucrobotics.com> Cc: I-SYST Micromodule <support@i-syst.com> Cc: M.Hasewinkel (MHA) <info@ssv-embedded.de> Cc: Marek Vasut <marex@denx.de> Cc: Martin Strubel <strubel@section5.ch> Cc: Peter Meerwald <devel@bct-electronic.com> Cc: Sonic Zhang <sonic.adi@gmail.com> Cc: Valentin Yakovenkov <yakovenkov@niistt.ru> Cc: Wojtek Skulski <info@skutek.com> Cc: Wojtek Skulski <skulski@pas.rochester.edu> Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Re-work i.MX6 jobs, clarify Freescale and AArch64Tom Rini2017-03-201-3/+6
| | | | | | | | | | | - The catch-all i.MX6 job has been exceeding the time limit again so split this up further. We now have an i.MX6 job and an everything-else job. - The logic we use to say "Freescale and AArch64" can be more clearly expressed with '&' rather than excluding various other things, so clear that up. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Temporarily disable using a newer device tree compilerTom Rini2017-02-261-2/+3
| | | | | | | | | For a long while dtc has warned about various constructs. This is now leading to log file size being exceeded in travis, and as the majority of these errors need to be fixed in the kernel, switch to using the stock device-tree-compiler package. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Add swig and libpython-dev to the package listTom Rini2017-01-241-0/+2
| | | | | | | | | As part of 1905c8fc711a we introduced failures depending on if swig and libpython-dev are installed or not. To provide coverage for this are of code in the future ensure we have these packages installed. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: Split p1_p2_rdb_pc and p1010rdb into separate jobsTom Rini2017-01-211-1/+3
| | | | | | | On occasion the job that does these two build types will hit the time limit so split this in two. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Add zynq_zc702 target supportMichal Simek2016-12-141-0/+6
| | | | | | It depends on qemu v2.8.0-rc3 which includes device loader property. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* travis-ci: Switch to building QEMUTom Rini2016-12-091-7/+19
| | | | | | | | | | | First, there are a number of features in newer QEMU that will allow us to test a wider range of platforms, so we want to use at least v2.8.0. Second, making use of a PPA for QEMU fails from time to time. So we change to checking out and building a copy of QEMU when we know that we are going to use test.py and need QEMU to be installed. This adds around 4 minutes per test.py job that we run. Signed-off-by: Tom Rini <trini@konsulko.com>
* Revert "Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze"Tom Rini2016-12-091-5/+0
| | | | | This reverts commit 3edc0c252257e4afed163a3a74aba24a5509b198, reversing changes made to bb135a0180c31fbd7456021fb9700b49bba7f533.
* travis-ci: Add zynq_zc702 target supportMichal Simek2016-12-081-0/+5
| | | | | | | | | | Signed-off-by: Michal Simek <michal.simek@xilinx.com> Use embded option because of qemu Use my repo till Stephen merge it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* travis-ci: Build mvebu boards (arm & aarch64) in separate jobStefan Roese2016-12-051-2/+4
| | | | | | | | | | Its easier to watch the output of the build process when the platforms specific boards are grouped in a separate job. This patch adds a job for all mvebu boards (arm and aarch64). Signed-off-by: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis.yml: Split Freescale ARM job up moreTom Rini2016-11-301-2/+5
| | | | | | | | | | In order to avoid running into the time limit, split the 32bit and 64bit Freescale boards into separate jobs. We could either pass "freescale & armv8" to buildman or exclude all of the 32bit CPUs. While the former is shorter I fear the amount of possible escaping required would make things less readable. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis.yml: Add samsung and rockchip buildsTom Rini2016-11-291-2/+6
| | | | | | | | The catch-all job is failing due to time limits depending on factors out of our control, so move Samsung and Rockchip boards into their own jobs and then exclude them from the general ARM and AArch64 jobs. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis: Add efi_loader grub2 testAlexander Graf2016-11-271-0/+8
| | | | | | | | We have all the building blocks now to run arbitrary efi applications in travis. The most important one out there is grub2, so let's add a simple test to verify that grub2 still comes up. Signed-off-by: Alexander Graf <agraf@suse.de>
* Travis: Remove sleep test from integratorcp_cm926ejs-qemu testAlexander Graf2016-11-271-0/+1
| | | | | | | | | | | | | | Most of the time when running the sleep test in Travis for the integratorcp_cm926ejs target I get errors like this: E assert 2.999901056289673 >= 3 The deviation is tiny, but fails the overall build result. Since the sleep test is not terribly important as gate keeper for travis tests, let's just exclude it for this board. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis: Add python path for environmentsAlexander Graf2016-11-261-0/+1
| | | | | | | | | When running in travis-ci, we want to pass environment configuration to the tests. These reside in a path available through PYTHONPATH, so let's define that one to point to the unit test repo. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* Travis: Expose build dir as variableAlexander Graf2016-11-261-2/+3
| | | | | | | | | | | | | Some travis QEMU tests can transfer files between the build directory and the guest U-Boot instance. For that to work, both need to have access to the same directory. This patch puts the current build path into an environment variable, so that the environment generating python scripts can extract it from there and read the respective files. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis-ci: Try harder to build all ARM targetsTom Rini2016-11-061-8/+39
| | | | | | | | | | | The way that we have things broken down currently allows for some combinations of vendor or CPU to not be built. To fix this, create a new catch-all job that excludes everything we've built elsewhere. For the sake of simplicity we are allowing for the possibility of some overlap between the vendor-based jobs and the CPU-based jobs. While we're in here, make a failed build provide the summary of failure. Signed-off-by: Tom Rini <trini@konsulko.com>
* travis.yml: Add in uniphier as a job, modify aarch64 builds a bitTom Rini2016-10-311-4/+7
| | | | | | | | | | - Add in system aarch64-linux-gnu toolchain - Now that all VMs will have aarch64 available, don't exclude them from other jobs but instead exclude them from the catch-all aarch64 build - Add JOB= to the Freescale/ARM build to be clear about what it does. - Add uniphier as a stand-alone job Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: build Tegra boardsStephen Warren2016-10-291-0/+2
| | | | | | | | | ARMv7 Tegra boards aren't currently covered by any other travis-ci jobs. Add a new job to build them. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: compile with buildman when running test/pyStephen Warren2016-10-291-27/+54
| | | | | | | | | | Use buildman to compile any U-Boot binary tested by test/py. This re-uses all the work done elsewhere to make buildman work within Travis-CI, in particular related to toolchain downloading and buildman config file creation. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: don't invoke exit on successStephen Warren2016-10-281-3/+1
| | | | | | | | Invoking exit prevents any subsequent build commands from running, and future patches will add extra commands. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: use buildman -P everywhereStephen Warren2016-10-281-1/+1
| | | | | | | | | | | | | | | | | | | This places build results into a board-specific directory rather than a buildman-thread-specific directory. This is required so that we can access the directory from test.py, and there's no risk of a particular build's results being over-written by another build performed by the same thread. In theory, this can lead to slower builds when building many different boards in a single buildman thread, since it removes the possibility of incremental builds between boards. In practice however I didn't notice longer build times when when enabling this option; if anything build times decreased although I suspect that's simply due to general variations in build performance across different machines within the Travis CI infra-structure. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: centralize ~/.buildman editingStephen Warren2016-10-281-3/+4
| | | | | | | | | | | | | | | | | | | | Any time an x86 toolchain is used, we need to edit ~/.buildman to reference it. Move the editing logic into a central place so that it doesn't have to be duplicated everywhere that uses the x86 toolchain; future patches will add additional cases where it's used. It would be nice if we could unconditionally write all of ~/.buildman at once. Unfortunately, buildman fails if any toolchain mentioned in a toolchain-prefix entry doesn't exist, even if it doesn't need to use it for the current build. The sandbox/x86 build definition currently does nothing more than edit ~/.buildman; no builds are run. Fix this by not defining a custom script for this build, and hence preventing that stanza from replacing the default script. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: use correct exit code on errorsStephen Warren2016-10-281-3/+4
| | | | | | | | | | | | | | | The phrase "if [ $? -ne 0 ]; then exit $?; fi" doesn't work correctly; by the time the "exit" statement runs, $? has already been over-written by the result of the [ command. Fix this by explicitly storing $? and then using that stored value in both the test and the error-case exit statement. This change also converts from textual comparison to integer comparison, since the exit code is an integer and there's no need to convert it to a string for comparison. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: Use = not : when writing ~/.buildmanStephen Warren2016-10-281-4/+2
| | | | | | | | | | Travis CI seems to be confused when there's a colon in an echo command, and this is currently worked around using a variable that contains the text we want to echo. Use = syntax instead so that we can remove the work-around; it's rather confusing until you find out what it's for. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: remove duplicate buildStephen Warren2016-10-281-2/+0
| | | | | | | There were two sub-jobs to build arm1136. Remove the duplicate. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis-ci: set env vars to name jobsStephen Warren2016-10-281-5/+19
| | | | | | | | | Travis CI names sub-jobs after the first environment variable that is set for a script. This doesn't produce meaningful results for any of the non- buildman jobs. Add a dummy variable to give the jobs meaningful names. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* travis-ci: Add test.py for various qemu platformsTom Rini2016-10-241-1/+35
| | | | | | | | | | - Add a PPA for a more recent qemu (required for PowerPC to work) - Add tests to run test.py for various QEMU platforms. This relies on swarren's uboot-test-hooks repository to provide the abstractions. Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
* travis-ci: Drop 'TEST_CMD'Tom Rini2016-10-241-16/+10
| | | | | | | | | | | We don't need to use TEST_CMD in order to run tests. We need a BUILDMAN and TOOLCHAIN variable to avoid having to duplicate logic or write some wrapper function. But this makes the tests harder as we add more complex examples. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: Add more architecturesTom Rini2016-10-241-0/+9
| | | | | | | | We can now build for microblaze, sh4 and xtensa. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* travis-ci: Update toolchain and buildman usageTom Rini2016-10-241-44/+15
| | | | | | | | | | | - Drop the 'cache' line, travis-ci says to not cache apt packages (and does not). - Get the Ubuntu provided toolchain for ARM and PowerPC. - Add more toolchain options that buildman can fetch. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Heiko Schocher <hs@denx.de>